Page 1 of 1
Draft-Comments showing up in published PDFs
Posted: Tue May 20, 2014 5:41 pm
by bdew
We currently use Oxygen 14.2 and we are using the DITA Map PDF transform to publish our DITA files to PDF documents. We have the "args.draft" parameter set to "no", but still see Draft-Comments in the PDF document that is published.
This is an example of a draft-comment that is showing up after published to PDF:
Code: Select all
<draft-comment author="Author_M" translate="no" class="- topic/draft-comment ">Is it? My quicksaves aren't doing this right now...</draft-comment>
Is there another way to suppress the draft-comments from showing up besides the args.draft parameter?
Thank you,
Re: Draft-Comments showing up in published PDFs
Posted: Wed May 21, 2014 8:45 am
by Radu
Hi Bryan,
I tested publishing to PDF a small DITA Map using Oxygen 14.2 and the DITA Open Toolkit bundled with it. By default the draft comments do not appear at all. If you set "args.draft" to "yes" then they show up. So this works as it is supposed to.
Do you use the DITA Open Toolkit bundled with Oxygen or do you publish by other means? Did you make any customizations to the PDF generation stylesheets?
Regards,
Radu
Re: Draft-Comments showing up in published PDFs
Posted: Wed May 21, 2014 6:08 pm
by bdew
Radu,
Thank you for your response.
Yes, we utilize the DITA OT 1.6.1 which is included in Oxygen 14.2. I have noticed that some of the Draft-Comments are not published, as by design. However, others are still being published.
Looking at the location of these published Draft-Comments, it appears that they are within elements, such as
Code: Select all
<step><choices><choice><draft-comment></draft-comment></choice></choices></step>
So.. Are there restrictions on where the draft-comment tags can be used?
Re: Draft-Comments showing up in published PDFs
Posted: Thu May 22, 2014 8:35 am
by Radu
Hi Bryan,
That was probably a bug.
I reproduced the issue running DITA OT 1.6 (which comes with Oxygen 14.2). But I can no longer reproduce the same issue with DITA OT 1.8 which comes with Oxygen 16.0.
So it seems to have been fixed at some point, unfortunately I cannot find the exact issue on the DITA OT issues list on which this particular problem was fixed.
Regards,
Radu
Re: Draft-Comments showing up in published PDFs
Posted: Thu May 22, 2014 6:06 pm
by bdew
OK, thank you for confirming that. We'll be switching to Oxygen 16.0 soon.
Thanks,