Change the appearance of <filepath> in PDF to be something similar as in the oXygen XML Editor
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 68
- Joined: Tue Jun 09, 2015 6:26 pm
- Location: Canada
Change the appearance of <filepath> in PDF to be something similar as in the oXygen XML Editor
Post by BogdanM777 »
Hi guys,
I think I am entering this question the 3rd time. I do not know why it did not appear the previous 2 times in the forum. I also made sure to check the Notify me when a reply is posted.
I would like to have another appearance of whatever is between the <filepath> tags to be something different than the rest of the text in PDF, something like in the XML Editor.
The content between the <filepath> tags is supposed to be a little bit different than the rest of the text (font and formatting), and for some reason, what I get in the generated PDF is something I could have got w/o using the <filepath> tag.
Thank you
I think I am entering this question the 3rd time. I do not know why it did not appear the previous 2 times in the forum. I also made sure to check the Notify me when a reply is posted.
I would like to have another appearance of whatever is between the <filepath> tags to be something different than the rest of the text in PDF, something like in the XML Editor.
The content between the <filepath> tags is supposed to be a little bit different than the rest of the text (font and formatting), and for some reason, what I get in the generated PDF is something I could have got w/o using the <filepath> tag.
Thank you
-
- Posts: 9449
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Change the appearance of <filepath> in PDF to be something similar as in the oXygen XML Editor
Hi Bogdan,
If you look at the XSLT stylesheet:
DITA-OT/plugins/org.dita.pdf2/cfg/fo/attrs/sw-domain-attr.xsl
it defines an attribute set like:
If somehow this does not work in your case, either one of your other PDF customizations somehow overrides this default behavior or maybe a monospaced font cannot be found by the FO processor when producing the PDF.
Regards,
Radu
I'm not sure about that, you are an approved user, I will check again on our side.I think I am entering this question the 3rd time. I do not know why it did not appear the previous 2 times in the forum. I also made sure to check the Notify me when a reply is posted.
By default, without any PDF customizations the filepath element appears with monospace font in the PDF output.I would like to have another appearance of whatever is between the <filepath> tags to be something different than the rest of the text in PDF, something like in the XML Editor.
If you look at the XSLT stylesheet:
DITA-OT/plugins/org.dita.pdf2/cfg/fo/attrs/sw-domain-attr.xsl
it defines an attribute set like:
Code: Select all
<xsl:attribute-set name="filepath" use-attribute-sets="base-font">
<xsl:attribute name="font-family">monospace</xsl:attribute>
</xsl:attribute-set>
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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