PDF transform of single topic from map
Posted: Sun Jun 24, 2018 8:24 pm
I am working on writing a PDF plugin to take a single release notes topic from a large ditamap (not bookmap) and output it as a PDF.
I had 2 thoughts of either transforming on the map and having it only output the one topic, or if choosing the specific release notes topic and transforming on it. I started testing against just the one topic because I thought that might be an easier project, but I have questions.
1) Do you think the publishing the single topic vs the logic of parsing it from the map is the way to go or do you recommendations on going about that?
2) Going the route of the single topic, I am running into problems of keyrefs not being populated. Is there a way to include them or point to the container file for them?
3) Also doing the single topic, it’s looking for a Book Title to put in the header, which it just populates with Book Title as it’s undefined.. I want to change the header and footer completely to be specific for standalone release notes and not like part of a manual. In the static-content.xsl I see templates for a bunch of different header and footer info. Is there a way to figure out which ones would adjust that and how many places I will need to change it?
Sorry for all of the questions - any specifics or just the direction to go in would help.
Thanks!
Kim
I had 2 thoughts of either transforming on the map and having it only output the one topic, or if choosing the specific release notes topic and transforming on it. I started testing against just the one topic because I thought that might be an easier project, but I have questions.
1) Do you think the publishing the single topic vs the logic of parsing it from the map is the way to go or do you recommendations on going about that?
2) Going the route of the single topic, I am running into problems of keyrefs not being populated. Is there a way to include them or point to the container file for them?
3) Also doing the single topic, it’s looking for a Book Title to put in the header, which it just populates with Book Title as it’s undefined.. I want to change the header and footer completely to be specific for standalone release notes and not like part of a manual. In the static-content.xsl I see templates for a bunch of different header and footer info. Is there a way to figure out which ones would adjust that and how many places I will need to change it?
Sorry for all of the questions - any specifics or just the direction to go in would help.
Thanks!
