Hi!
I'm using the new assembly/resource/structure method to construct
books from topic elements. Thank you to everyone who worked on that
feature, it's extremely useful!
I am having trouble getting the titles of books to appear in my
rendered book files.
Based on my reading, I understand that I can include book metadata
such as a title in the structure element. For example:
<structure renderas="book" xml:id="myId">
<info>
<copyright>
<year>2016-2017</year>
<holder>My Company, Inc.</holder>
</copyright>
</info>
<module renderas="chapter" resourceref="myTopicId"/>
</structure>
When I process the assembly, the rendered XML file has the correct
book root element and it includes chapter elements rendered from my
topics. It does not have the book title though.
I see that the assemble.xsl stylesheet explicitly ignores the info and
title for a structure:
https://github.com/docbook/xslt10-stylesheets/blob/master/xsl/assembly/assemble.xsl#L44Does anyone know how I can supply the title for a structure?
Thanks for your help!
Peter