How to show conditional text colors in PDF

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
DanTemple
Posts: 26
Joined: Tue Oct 28, 2014 1:19 pm

How to show conditional text colors in PDF

Post by DanTemple » Wed Apr 06, 2016 1:07 pm

Using the built-in DITA PDF transform, the colors assigned to content tagged as conditional do not appear in the resulting PDF.

This makes it less useful when wanting to send a draft out to review by others who do not have the editing tool.

Is this expected, or should it work and am I maybe missing something? Or is there a simple way to achieve this?

regards, Dan

radu_pisoi
Posts: 384
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: How to show conditional text colors in PDF

Post by radu_pisoi » Thu Apr 07, 2016 11:57 am

Hello Dan,

Unfortunately, this feature is not available yet.

We plan to update the PDF output to include review information like track changes, comments or user highlights.

I will add a request to also include the colors assigned to the conditional text.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Radu
Posts: 7331
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to show conditional text colors in PDF

Post by Radu » Tue Apr 12, 2016 11:14 am

Hi Dan,

You would have two other possibilities:

1) Use in the transformation scenario a DITAVAL filter file which defines flagging for elements marked with certain profiling attributes:

https://docs.oasis-open.org/dita/v1.2/o ... taval.html

2) If the main DITA Map is opened in the DITA Maps Manager, there is an action on the DITA Maps Manager toolbar called Open Map In Editor With Resolved Topics.
After the DITA Map is opened in the main editor, you can use the File->Print action and print to a PDF driver like Win2PDF that you can install separately.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

B-E-N
Posts: 137
Joined: Thu Mar 24, 2016 5:54 pm

Re: How to show conditional text colors in PDF

Post by B-E-N » Wed Apr 27, 2016 11:26 am

radu_pisoi wrote:Hello Dan,

Unfortunately, this feature is not available yet.

We plan to update the PDF output to include review information like track changes, comments or user highlights.

I will add a request to also include the colors assigned to the conditional text.
Just wanted to give my +1 on this request. Being able to show feature differentiation in the PDF output would be greatly appreciated.

We need this to provide our translators with proofread PDFs. The print workaround works for now, but it's not pretty at all.

Stacey
Posts: 14
Joined: Tue Mar 14, 2017 12:36 am

Re: How to show conditional text colors in PDF

Post by Stacey » Wed Jan 20, 2021 5:50 pm

Hi Radu:

Are there any updates on this feature (PDF printing that includes conditional text coloured for easy identification)? Is it available now? Was it in the latest version or is it on a roadmap for a future implementation?

Thank you.

Radu
Posts: 7331
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to show conditional text colors in PDF

Post by Radu » Thu Jan 21, 2021 8:16 am

Hi Stacey,

Maybe you can create a DITAVAL filter file which flags elements with certain profiling attribute names in certain ways.
Here's an example of such a DITAVAL filter file in the DITA 1.3 specs:

https://www.oxygenxml.com/dita/1.3/spec ... l-val.html

If you edit the transformation scenario in the "Filters" tab you can set a reference to a ditaval filter file.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply