DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion Displaying draft-comment elements in PDF output

  • IF

    Displaying draft-comment elements in PDF output

    Participants 1
    Replies 2
    Last 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. Isabelle


    Derek Read

    Reply to: Displaying draft-comment elements in PDF output

    This is a limitation in the DITA Open Toolkit that we ship (version 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.

    Please see:

    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.



    Reply to: Displaying draft-comment elements in PDF output

    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.

Lost Your Password?