DITA and XMetaL Discussion
[email protected] November 17, 2011 at 8:22 pm
Insert Legal Page after Cover before TOC Generated in PDF from DITA Map?November 17, 2011 at 8:22 pmParticipants 0Replies 1Last Activity 11 years, 2 months ago
Is it possible to insert a Legal page into the PDF build after the Cover is built (createFrontMatter) before the TOC is generated (createTOC)? Anything I put into the DITA Map (boilerplate .xml legal content) appears after the TOC, not before. I'd like to pull in the Legal page automatically like I do my cover graphic etc. Currently the cover is built, a blank page, and then the TOC. I want to replace that blank page with my legal content.
XMetaL 6 SP1, Windows 7
RobertDerek Read November 17, 2011 at 11:12 pm
Reply to: Insert Legal Page after Cover before TOC Generated in PDF from DITA Map?November 17, 2011 at 11:12 pm
As designed, the DITA OT does not really respect the order of what you put into the map (the main sections that you are discussing here are basically have a hard coded order). So, with the current release of XMetaL Author Enterprise 6.0 SP1 (which includes DITA OT 18.104.22.168) what you want to do would require making changes to the DITA OT. Perhaps the easiest strategy (that I have seen put into practice) is to essentially hard code the necessary XSLFO (via XSLT) directly into the DITA OT at the preferred location. This could be coded to pull in files too.
I believe making improvements to this area of the DITA OT are part of the 1.5x releases at SourceForge (which will be bundled with our next major release).
- You must be logged in to reply to this topic.