You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My proposal would be that when omittitles is true, the stylesheet should omit the entire <info> element from the resource, as well as the <title>, <titleabbrev>, and <subtitle> elements. There may be several other ways of fixing this issue; this seems like the simplest way, although it would involve a change in behaviour.
Sorry for the delay in responding. I don't think an empty info element is a problem. It is still valid DocBook. Deleting the info element when it might have other content would also be a problem because that is not the documented behavior of the attribute, which says only titles will be omitted. https://tdg.docbook.org/tdg/5.1/module.html
When an assembly contains this module:
And the resource referenced by
my_ref
contains the following:Then the output file contains an empty
<info>
element, as follows:Where the second, empty info element is copied from the resource
my_ref
with all titles omitted.The text was updated successfully, but these errors were encountered: