Create @xmlid as xref for link targetsin DocBook Documents
Posted: Thu Aug 10, 2023 1:49 pm
Hi,
the Oxygen Menu Action for selecting cross-reference targets in DocBook Documents is really helpfull. The Link/Cross refence Link Menu Action shows all possible targets, lets me select the right one and sets the value of the xref/@linkend attribute accordingly.
However, the List of possible targets is restricted to elements that have an @xml:id Attribute. When i'd like to a create a cross reference to a section without this attribute, it does not show up in the list of targets. So i have to interrupt my action, go to the intendend section and add this attribute.
I suggest a feature that allows me to select xref link targets from a list of DocBook formal components that have titels like chapter, preface, appendix, section, table, figure, example and so on. If there is not @xml:id attribte, it shall be created and set als the value of the xref @linkend attribute.
Second suggestion is a default value for the xref/@xrefstyle attribute.
Sincerely, Frank Steimke
the Oxygen Menu Action for selecting cross-reference targets in DocBook Documents is really helpfull. The Link/Cross refence Link Menu Action shows all possible targets, lets me select the right one and sets the value of the xref/@linkend attribute accordingly.
However, the List of possible targets is restricted to elements that have an @xml:id Attribute. When i'd like to a create a cross reference to a section without this attribute, it does not show up in the list of targets. So i have to interrupt my action, go to the intendend section and add this attribute.
I suggest a feature that allows me to select xref link targets from a list of DocBook formal components that have titels like chapter, preface, appendix, section, table, figure, example and so on. If there is not @xml:id attribte, it shall be created and set als the value of the xref @linkend attribute.
Second suggestion is a default value for the xref/@xrefstyle attribute.
Sincerely, Frank Steimke