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 11 years, 9 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

    Reply

    Derek Read

    Reply to: Displaying draft-comment elements in PDF output

    This is a limitation in the DITA Open Toolkit that we ship (version 1.4.2.1 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:
    http://dita.xml.org/wiki/plans-for-the-dita-open-toolkit-pdf2-plug-in

    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

    IF

    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…

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support