DITA and XMetaL Discussion
jepry May 4, 2011 at 2:20 am
Replacing front matterMay 4, 2011 at 2:20 amParticipants 0Replies 1Last Activity 11 years, 5 months ago
Using XMetal 6.0 Author and Render X XEP PDF output, I'm trying to modify the first page of the PDF document so that it contains more than just the title, namely a paragraph following the title, several other lines, and a logo.
I've been looking into trying to edit the front matter template but it's pretty unwieldy since it calls in the title from the title of the top bookmap, applies attributes to it and so on, but has no code for inserting other paragraphs or images.
I was able to suppress the built-in title page completely by commenting out the line:
in the file:
So now the PDF document starts right at the TOC.
I also have a topic I created that has everything on it I want, title, text, logo, etc, and I inserted it into the front matter section of the bookmap. However this of course comes in the PDF after the TOC, not where I need it to be.
So several possibilities:
1) Figure out how to put this topic as the first page of the published PDF.
2) Figure out how to insert text, images, and so on in the existing title page (and turn it back on by uncommenting the line above).
3) Something I haven't thought of.
This: [url=http://www.scriptorium.com/whitepapers/ditaotpdf/ditaotpdf2.html]http://www.scriptorium.com/whitepapers/ditaotpdf/ditaotpdf2.html[/url] seems a pretty good tutorial about the front matter, but I've only gotten as far as all of the above despite studying it fairly closely.
It would be a matter of rebuilding the front matter template entirely I suppose, but I'm hoping someone has a better idea (or perhaps can just include the code for doing so).
Is there some way for instance to just remove everything about the front matter template in the file frontmatter_1.0.xsl, and tell it to just pull in a topic instead?
Thanks in advance for any tips.
- You must be logged in to reply to this topic.