Specify style of draft comments in DITA to PDF output
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 2
- Joined: Fri Jul 22, 2016 12:04 am
Specify style of draft comments in DITA to PDF output
I'd like to change the color of draft comments in PDF output from DITA source files. The default colors are red text on pink background. The combination make the text difficult to read, let alone stomach.
Would someone point me to the CSS file that controls the style of <draft-comment> tags in PDF output?
Would someone point me to the CSS file that controls the style of <draft-comment> tags in PDF output?
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Specify style of draft comments in DITA to PDF output
Hi,
The default PDF publishing is based on XSL-FO, so it is not CSS based.
If you look in the XSLT stylesheet:
OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT2.x/plugins/org.dita.pdf2/cfg/fo/attrs/commons-attr.xsl
it defines at some point an attribute set:
Usually a PDF XSLT customization is done not by directly modifying the XSLT stylesheet but by creating a PDF customization folder:
http://oxygenxml.com/doc/versions/18/ug ... ation.html
Regards,
Radu
The default PDF publishing is based on XSL-FO, so it is not CSS based.
If you look in the XSLT stylesheet:
OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT2.x/plugins/org.dita.pdf2/cfg/fo/attrs/commons-attr.xsl
it defines at some point an attribute set:
Code: Select all
<xsl:attribute-set name="draft-comment" use-attribute-sets="common.border">
<xsl:attribute name="background-color">#FF99FF</xsl:attribute>
<xsl:attribute name="color">#CC3333</xsl:attribute>
</xsl:attribute-set>
http://oxygenxml.com/doc/versions/18/ug ... ation.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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