XSL/XSLT customization
pondj
DITA-OT1.5 M15 (Feature Request ID: 2698921)
Blog entry: Submitted by pondj on Wed, 2009-06-10 17:12.
Thanks to Robert Anderson (Feature Request ID: 2698921) you can now add attributes to the body tag in HTML output.
I wanted to use the http://code.google.com/p/google-code-prettify/ code highlighter and was able to get the script calls in using args.hdf/hdr, and use outputclass=prettyprint into the codeblock tag. The last thing was to modify the body tag to run the script when the page loaded. I modified the XSL to make it conditional, so it didn't modify the tag on pages that didn't actually need the script:
Tips for debugging PDF2 plugin PDF issues
Book page: Submitted by jelovirt on Tue, 2007-04-03 18:06. Last updated on Sat, 2012-06-16 10:08.
Note: this page is out-of-date, see http://dita-ot.sourceforge.net/latest/ for current documentation.
Keeping the generated FO file
One of the most important things to do to debug the PDF generated by the PDF2 plugin (also known as the Idiom PDF plugin) is to look at the FO file the plugin generates. The plugin, by default, deletes all intermediate files, though, so you need to modify the plugin to save those files.
To stop the plugin from deleting the FO file: