Community Tip - You can change your system assigned username to something more personal in your community settings. X
Adepters:
In our primary publishing environment, we’re using XML source and generating PDFs using PE 5.3 and the direct-to-PDF process. I know exactly how to control the PDF bookmarks using the atidmd namespace and markup in the FOSI and XML source file. Now, I’m needing to generate a PDF from a legacy SGML book and so far I’m able to use the direct-to-PDF process to generate a nice PDF. However, I’m getting the default PDF bookmark setup wherein the bookmark TOC is not displayed at startup and when displayed, everything is expanded. Is it possible to use the atidmd markup in an SGML document sent to PE? I’ve dug into the Arbortext help to no avail. I would think there would need to be an SGML DTD fragment for that markup. Or are there other tricks?
Any help or advice is appreciated.
Dave Hintz
Siemens
Hi Dave, could you share your code for the XML pdf bookmarks because I'm having the opposite problem. I got the bookmark to show up in a sgml file with a Styler 5.4 style sheet but not xml using a .fos style sheet.
Here are the usetexts from my top level tag: (<doc> in the sgml file but <production> in the xml file. I don't know if that makes a difference.)
<usetext<br/> source='!<atidmd:documentmetadata source="atend">
<atidmd:docview mode="bookmarks" fit="fitPage" destination="">
</atidmd:docview>
</atidmd:documentmetadata>!' placemnt="before"></usetext>
<usetext<br/> source="!<atidmd:documentmetadata>
<atidmd:docinfo>
<atidmd:entry>
<atidmd:key>Title</atidmd:key>
<atidmd:value>!,doc-title-bookmark.txt,!</atidmd:value>
</atidmd:entry>
</atidmd:docinfo>
<atidmd:outline><atidmd:bookmark><atidmd:title>!,doc-title-bookmark.txt,!</atidmd:title>
</atidmd:bookmark>
</atidmd:outline>
</atidmd:documentmetadata>!" placemnt="after"></usetext>
Thank you, Dave. I think it was a syntax error.
This worked, except that the link takes me to the last Volume instead of the first page. Still, progress!:
<usetext<br/>source='!<atidmd:documentmetadata source="atend">
<atidmd:docview mode="bookmarks"<br"/> fit="fitPage" destination=">
</atidmd:docview>
</atidmd:documentmetadata>!' placemnt="before"></usetext>