xslTNG icon indicating copy to clipboard operation
xslTNG copied to clipboard

Formal elements in group 'title-unnumbered' are numbered

Open hutchkintoot opened this issue 3 months ago • 1 comments

In the localization files it seems that all formal elements, (table, figure, example, procedure, equation), have the same template content in groups titles-numbered and titles-unnumbered.

This problem seems to affect most, if not all, locale files.

example from locale/en.xml

<l:group name="title-unnumbered">
  ...
  <l:template match="self::db:procedure">
     <lt:token key="Procedure"/>
     <lt:text> </lt:text>
     <lt:label/>
     <lt:separator/>
     <lt:content/>
  </l:template>
  ...
</l:group>

<l:group name="title-numbered">
  ...
  <l:template match="self::db:procedure">
     <lt:token key="Procedure"/>
     <lt:text> </lt:text>
     <lt:label/>
     <lt:separator/>
     <lt:content/>
  </l:template>
  ...
</l:group>

hutchkintoot avatar Oct 01 '25 06:10 hutchkintoot

That's interesting. It may just be that I imagined formal objects would always be numbered. I guess they don't have to be, but if there's more than one, what should be used?

ndw avatar Nov 08 '25 20:11 ndw