Is there any way to output pdf - with only highlights, without comments?
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 59
- Joined: Tue Sep 13, 2022 4:13 pm
Is there any way to output pdf - with only highlights, without comments?
Hi all!
Is there any way to output pdf - with only highlights, without comments?
Why this question arose: because the document contains a large number of comments that not everyone will be interested in, unlike highlights. Is it possible to output such a separate pdf (without comments, only with highlights)?
Thanks in advance!
Is there any way to output pdf - with only highlights, without comments?
Why this question arose: because the document contains a large number of comments that not everyone will be interested in, unlike highlights. Is it possible to output such a separate pdf (without comments, only with highlights)?
Thanks in advance!
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: Is there any way to output pdf - with only highlights, without comments?
Post by chrispitude »
Hi Dan,
Are you referring to DITA <draft-comment> elements or to Oxygen <?oxy_comment_start/end?> review comment processing instructions?
Are you referring to DITA <draft-comment> elements or to Oxygen <?oxy_comment_start/end?> review comment processing instructions?
-
- Posts: 665
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Is there any way to output pdf - with only highlights, without comments?
Post by julien_lacour »
Hello,
Could you also indicate which Oxygen version you are using and which PDF scenario you are running?
Regards,
Julien
Could you also indicate which Oxygen version you are using and which PDF scenario you are running?
Regards,
Julien
-
- Posts: 59
- Joined: Tue Sep 13, 2022 4:13 pm
Re: Is there any way to output pdf - with only highlights, without comments?
For pdf output I am using CSS and scenario parameter "show.changes.and.comments" and Oxygen version 25.1. And what i need to do for displaing only highlights, without comments?
-
- Posts: 39
- Joined: Mon Jul 25, 2022 11:18 am
Re: Is there any way to output pdf - with only highlights, without comments?
Post by andrei_pomacu »
Hi Dan,
In /out/pdf-css-html5/your_publication.merged.html file you can see which CSS rules add the elements that you need to hide. Here is a post explaining how to debug the CSS.
You need to keep only the highlights without the comments.
The elements that adds the comments in the publication are .oxy-comment , oxy-rage-start and oxy-range-end. You can hide them using display:none rule.
Regards,
Andrei
In /out/pdf-css-html5/your_publication.merged.html file you can see which CSS rules add the elements that you need to hide. Here is a post explaining how to debug the CSS.
You need to keep only the highlights without the comments.
The elements that adds the comments in the publication are .oxy-comment , oxy-rage-start and oxy-range-end. You can hide them using display:none rule.
Code: Select all
.oxy-comment {
display: none;
}
*[class ~= "oxy-range-start"] {
display: none;
}
*[class ~= "oxy-range-end"] {
display: none;
}
Andrei
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service