DITA - FONT - LOCATION

Post here questions and problems related to editing and publishing DITA content.
ESTRADE
Posts: 46
Joined: Mon Aug 22, 2011 3:53 pm

DITA - FONT - LOCATION

Post by ESTRADE »

Hello,

What name of file DITA OT is used for define the font definition for REGION BODY

Thank you
ESTRADE
Posts: 46
Joined: Mon Aug 22, 2011 3:53 pm

Re: DITA - FONT - LOCATION

Post by ESTRADE »

I modified file commons-attr.xsl part :

Code: Select all

    <xsl:attribute-set name="__fo__root" use-attribute-sets="base-font">
<xsl:attribute name="font-family">[b]serif[/b]</xsl:attribute>
<xsl:attribute name="xml:lang" select="translate($locale, '_', '-')"/>
<xsl:attribute name="writing-mode" select="$writing-mode"/>
</xsl:attribute-set>
It is OK for text but not OK for 'title'

Where is the font code for title ?

Thank you
Radu
Posts: 9056
Joined: Fri Jul 09, 2004 5:18 pm

Re: DITA - FONT - LOCATION

Post by Radu »

Hi,

In the same commons-attr.xsl you have an attribute set defined for: "common.title"
That might be the one.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
ESTRADE
Posts: 46
Joined: Mon Aug 22, 2011 3:53 pm

Re: DITA - FONT - LOCATION

Post by ESTRADE »

Thank you
Post Reply