styling change tracking in the DITA CSS/PDF transformation

Post here questions and problems related to editing and publishing DITA content.
gszabo
Posts: 17
Joined: Wed Jan 25, 2023 1:15 am

styling change tracking in the DITA CSS/PDF transformation

Post by gszabo »

Hello,
I'm trying to style how changes are displayed in DITA CSS/PDF transformations, and have read the related, and helpful, online help topic (https://www.oxygenxml.com/doc/versions/ ... cking.html)

However, I cannot see how to style the squares that link to the topics. These are the reddish and pinkish squares rendered on top of revised content. (
Pages from test_bookmap.zip
For example, the square on top of the curly brace in the last paragraph of the attached)

I've tried various customizations of the selectors in p-side-notes.css, but have not found a selector that styles the square boxes. So, how do i style those?

Here's info on the parameters used for rendering:
I'm using Chemistry as the css processor and have set the related rendering parameters as follows:
show.changes.and.comments = yes
show.changes.and.comments.as.changebars = yes
show.changes.and.comments.as.pdf.sticky.notes = yes

Thanks for your attention to this.

Regards,
George
You do not have the required permissions to view the files attached to this post.
julien_lacour
Posts: 665
Joined: Wed Oct 16, 2019 3:47 pm

Re: styling change tracking in the DITA CSS/PDF transformation

Post by julien_lacour »

Hello George,

Could you confirm that the "squares that link to the topics" are the annotations that appear over the modifications:
image.png
If yes, these colors can't currently be changed using a custom CSS rule. How would you like the output to look like?
A workaround could be to display the modifications as footnotes by setting the show.changes.and.comments.as.pdf.sticky.notes parameter to "no".

Regards,
Julien
You do not have the required permissions to view the files attached to this post.
gszabo
Posts: 17
Joined: Wed Jan 25, 2023 1:15 am

Re: styling change tracking in the DITA CSS/PDF transformation

Post by gszabo »

Hi Julien,

Thanks for the response. Yes, those "squares" represent the annotations.
julien_lacour
Posts: 665
Joined: Wed Oct 16, 2019 3:47 pm

Re: styling change tracking in the DITA CSS/PDF transformation

Post by julien_lacour »

Hi George,

Got it, ideally how would you like the output to look like?

Regards,
Julien
gszabo
Posts: 17
Joined: Wed Jan 25, 2023 1:15 am

Re: styling change tracking in the DITA CSS/PDF transformation

Post by gszabo »

Hi Julien,

Thank you for your response.

I haven't worked out the exact details, but the functional requirement is to make the PDF more readable when the annotations are present. It might be as simple as making the annotations transparent with a slight border - then reviewers would be able to see the text that is covered by the annotation markers.

That being said, the implementation may change as I work with it. So what I'm looking for is the CSS that impacts the display, then I can evaluate options.

Regards,
George
julien_lacour
Posts: 665
Joined: Wed Oct 16, 2019 3:47 pm

Re: styling change tracking in the DITA CSS/PDF transformation

Post by julien_lacour »

Hello,

I added this feature request in our tracking system, I will notify again this thread when a solution will be available.

Regards,
Julien
gszabo
Posts: 17
Joined: Wed Jan 25, 2023 1:15 am

Re: styling change tracking in the DITA CSS/PDF transformation

Post by gszabo »

Hi Julien,

thank you for adding the feature request.

Regards,
George
Post Reply