DITA and XMetaL Discussion
XMetaL Community Forum › DITA and XMetaL Discussion › Displaying draft-comment elements in PDF output
IF September 21, 2010 at 6:08 pm
Displaying draft-comment elements in PDF outputSeptember 21, 2010 at 6:08 pmParticipants 1Replies 2Last Activity 12 years, 6 months ago
How can I display draft-comment elements in the PDF output? I can see the comments in HTML output but not in the PDF output. Using XMetal Author 6.0 with output XMetal Enhanced PDF via RenderX XEP. Thanks. IsabelleDerek Read September 24, 2010 at 8:43 pm
Reply to: Displaying draft-comment elements in PDF outputSeptember 24, 2010 at 8:43 pm
This is a limitation in the DITA Open Toolkit that we ship (version 220.127.116.11 is included with XMetaL Author Enterprise 6.0)
There is discussion of it having been addressed in a newer version of the 1.5 DITA OT that we plan to include with our next major release of XMetaL Author Enterprise.
The argument that needs to be enabled in the DITA OT in order for draft-comment to appear in PDF output is “args.draft”. XMetaL Author Enterprise will pass this argument to the DITA OT when you check the checkbox in our UI, but the DITA OT does not do anything with that argument when producing a PDF.IF September 27, 2010 at 11:30 pm
Reply to: Displaying draft-comment elements in PDF outputSeptember 27, 2010 at 11:30 pm
In case anyone cares, I've managed to display the comments by brute force. I edited the file
%APPDATA%SoftQuadXMetaL SharedDITA_OTdemoxmfoxslfocommons.xsl as follows:
Comments now appear in a lovely pink box. Not sure where the pink comes from but it does not really matter.
Must remember in a few months or years when the manual is released to edit this file back to the way it was…
- You must be logged in to reply to this topic.