Page 1 of 1
Font and color
Posted: Sun Oct 20, 2013 7:12 am
by Le Basque
Hi,
To change the font and font color should it go through the CSS file or directly in the stylesheet?
How to make this generic font choice?
thank you
Re: Font and color
Posted: Mon Oct 21, 2013 12:31 pm
by sorin_ristache
Hi,
Where do you want to change the font and color? For changing them in Author editing mode you have to extend or customize the CSS stylesheet that Oxygen uses for Author mode:
[Oxygen-install-dir]/frameworks/dita/css_classed/dita.css
If you want to change the font and color of some elements in the output of a DITA transformation you will have to edit an XSLT stylesheet. For example for the PDF output the font and color properties are set by the XSLT stylesheets from directory:
[Oxygen-install-dir]/frameworks/dita/DITA-OT/plugins/org.dita.pdf2/cfg/fo/attrs
Regards,
Sorin