Pages: 1
Print
Author Topic: Printing draft comments  (Read 244 times)
carmstrong
Member

Posts: 10


« on: July 21, 2011, 02:25:27 PM »

Is there a way in XMetaL to enable draft comments to be viewed in the output? Currently, the workaround is to add sticky notes in the PDF. Viewing draft comments in the output could come in handy when the document has to be reviewed by other individuals.

Thanks
Logged
gcrews
Member

Posts: 189


« Reply #1 on: July 21, 2011, 03:52:29 PM »

Try:
Configure output… > Advanced
Check the box next to “DITA <draft-comment> and <required-cleanup> elements”
Logged
IF
Member

Posts: 65


« Reply #2 on: July 22, 2011, 02:38:51 PM »


In my case, to get this to work, I also had to modify the custom.xsl  file as follows to get the draft comments to display.


<!--  IF 22 Oct 2010 Always display draft comments; don't show disposition or status   -->
    <xsl:template match="*[contains(@class,' topic/draft-comment ')]">
      <fo:block xsl:use-attribute-sets="draft-comment" id="{@id}">
        <xsl:apply-templates/>
      </fo:block>
    </xsl:template>
Logged
Pages: 1
Print
Jump to:  

email us