From: Bob Stayton Date: Thu, 28 Aug 2003 20:52:00 +0000 (+0000) Subject: Changed body.font.family to body.fontset and X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=80220bf1354fa662654d6702b7a6bb08e41af29f;p=docbook-dsssl Changed body.font.family to body.fontset and title.font.family to title.fontset in font-family property attributes, in order to append symbol.font.family parameter value. --- diff --git a/xsl/fo/callout.xsl b/xsl/fo/callout.xsl index fa1cb6182..17627120f 100644 --- a/xsl/fo/callout.xsl +++ b/xsl/fo/callout.xsl @@ -191,7 +191,7 @@ padding-start="0.2em" padding-end="0.2em" baseline-shift="0.1em" - font-family="{$body.font.family}" + font-family="{$body.fontset}" font-weight="bold" font-size="75%"> @@ -221,7 +221,7 @@ padding-start="0.2em" padding-end="0.2em" baseline-shift="0.1em" - font-family="{$body.font.family}" + font-family="{$body.fontset}" font-weight="bold" font-size="75%"> diff --git a/xsl/fo/footnote.xsl b/xsl/fo/footnote.xsl index 79acef46d..1e8e4f55b 100644 --- a/xsl/fo/footnote.xsl +++ b/xsl/fo/footnote.xsl @@ -48,7 +48,7 @@ - - @@ -661,7 +661,7 @@ - diff --git a/xsl/fo/index.xsl b/xsl/fo/index.xsl index 3bd5865ae..d57e67410 100644 --- a/xsl/fo/index.xsl +++ b/xsl/fo/index.xsl @@ -224,7 +224,7 @@ + + + , + + + + + + , + + + diff --git a/xsl/fo/param.ent b/xsl/fo/param.ent index 10dd83b12..df452a4b5 100644 --- a/xsl/fo/param.ent +++ b/xsl/fo/param.ent @@ -134,6 +134,7 @@ + diff --git a/xsl/fo/param.xweb b/xsl/fo/param.xweb index 2b0c3d94a..a96edb62e 100644 --- a/xsl/fo/param.xweb +++ b/xsl/fo/param.xweb @@ -355,6 +355,7 @@ zero by default, so this is simply the page-master region-left. &monospace.font.family; &sans.font.family; &title.font.family; +&symbol.font.family; Lists @@ -645,6 +646,7 @@ around all these parameters. + diff --git a/xsl/fo/titlepage.templates.xml b/xsl/fo/titlepage.templates.xml index 3523f6dcc..195a55bd3 100644 --- a/xsl/fo/titlepage.templates.xml +++ b/xsl/fo/titlepage.templates.xml @@ -30,7 +30,7 @@ + font-family="{$title.fontset}"> @@ -56,7 +56,7 @@ + font-family="{$body.fontset}"/> @@ -64,7 +64,7 @@ text-align="start" margin-left="0.5in" margin-right="0.5in" - font-family="{$body.font.family}"/> + font-family="{$body.fontset}"/> @@ -91,9 +91,9 @@ font-size="&hsize5;" space-before="&hsize5space;" font-weight="bold" - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> @@ -132,12 +132,12 @@ font-size="&hsize5;" space-before="&hsize5space;" font-weight="bold" - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> + font-family="{$title.fontset}"/> @@ -152,7 +152,7 @@ t:named-template="book.verso.title" font-size="&hsize2;" font-weight="bold" - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> @@ -186,14 +186,14 @@ font-size="&hsize5;" space-before="&hsize5space;" font-weight="bold" - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> + font-family="{$title.fontset}"/> @@ -216,13 +216,13 @@ font-size="&hsize5;" font-weight="bold" space-before="1em" - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> + font-family="{$title.fontset}"/> @@ -260,9 +260,9 @@ font-size="&hsize5;" space-before="&hsize5space;" font-weight="bold" - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> @@ -295,7 +295,7 @@ + font-family="{$title.fontset}"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> @@ -316,7 +316,7 @@ <t:titlepage t:element="refsection" t:wrapper="fo:block"> <t:titlepage-content t:side="recto"> <title - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> @@ -337,7 +337,7 @@ <t:titlepage t:element="refsect1" t:wrapper="fo:block"> <t:titlepage-content t:side="recto"> <title - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> @@ -358,7 +358,7 @@ <t:titlepage t:element="refsect2" t:wrapper="fo:block"> <t:titlepage-content t:side="recto"> <title - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> @@ -379,7 +379,7 @@ <t:titlepage t:element="refsect3" t:wrapper="fo:block"> <t:titlepage-content t:side="recto"> <title - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> @@ -405,10 +405,10 @@ param:node="ancestor-or-self::dedication[1]" margin-left="{$title.margin.left}" font-size="&hsize5;" - font-family="{$title.font.family}" + font-family="{$title.fontset}" font-weight="bold"/> <subtitle - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> @@ -434,10 +434,10 @@ param:node="ancestor-or-self::preface[1]" margin-left="{$title.margin.left}" font-size="&hsize5;" - font-family="{$title.font.family}" + font-family="{$title.fontset}" font-weight="bold"/> <subtitle - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> <corpauthor/> <authorgroup/> <author/> @@ -467,7 +467,7 @@ <!-- ==================================================================== --> <t:titlepage t:element="chapter" t:wrapper="fo:block" - font-family="{$title.font.family}"> + font-family="{$title.fontset}"> <t:titlepage-content t:side="recto" margin-left="{$title.margin.left}"> <title t:named-template="component.title" param:node="ancestor-or-self::chapter[1]" @@ -524,9 +524,9 @@ margin-left="{$title.margin.left}" font-size="&hsize5;" font-weight="bold" - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> <subtitle - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> <corpauthor/> <authorgroup/> <author/> @@ -559,9 +559,9 @@ <t:titlepage-content t:side="recto"> <title margin-left="{$title.margin.left}" - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> <subtitle - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> <corpauthor/> <authorgroup/> <author/> @@ -592,9 +592,9 @@ <t:titlepage-content t:side="recto"> <title margin-left="{$title.margin.left}" - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> <subtitle - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> <corpauthor/> <authorgroup/> <author/> @@ -625,9 +625,9 @@ <t:titlepage-content t:side="recto"> <title margin-left="{$title.margin.left}" - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> <subtitle - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> <corpauthor/> <authorgroup/> <author/> @@ -658,9 +658,9 @@ <t:titlepage-content t:side="recto"> <title margin-left="{$title.margin.left}" - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> <subtitle - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> <corpauthor/> <authorgroup/> <author/> @@ -691,9 +691,9 @@ <t:titlepage-content t:side="recto"> <title margin-left="{$title.margin.left}" - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> <subtitle - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> <corpauthor/> <authorgroup/> <author/> @@ -724,9 +724,9 @@ <t:titlepage-content t:side="recto"> <title margin-left="{$title.margin.left}" - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> <subtitle - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> <corpauthor/> <authorgroup/> <author/> @@ -757,9 +757,9 @@ <t:titlepage-content t:side="recto"> <title margin-left="{$title.margin.left}" - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> <subtitle - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> <corpauthor/> <authorgroup/> <author/> @@ -796,10 +796,10 @@ param:node="ancestor-or-self::bibliography[1]" margin-left="{$title.margin.left}" font-size="&hsize5;" - font-family="{$title.font.family}" + font-family="{$title.fontset}" font-weight="bold"/> <subtitle - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> @@ -823,10 +823,10 @@ param:node="ancestor-or-self::bibliodiv[1]" margin-left="{$title.margin.left}" font-size="&hsize4;" - font-family="{$title.font.family}" + font-family="{$title.fontset}" font-weight="bold"/> <subtitle - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> @@ -852,10 +852,10 @@ param:node="ancestor-or-self::glossary[1]" margin-left="{$title.margin.left}" font-size="&hsize5;" - font-family="{$title.font.family}" + font-family="{$title.fontset}" font-weight="bold"/> <subtitle - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> @@ -879,10 +879,10 @@ param:node="ancestor-or-self::glossdiv[1]" margin-left="{$title.margin.left}" font-size="&hsize4;" - font-family="{$title.font.family}" + font-family="{$title.fontset}" font-weight="bold"/> <subtitle - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> @@ -909,10 +909,10 @@ param:pagewide="1" margin-left="{$title.margin.left}" font-size="&hsize5;" - font-family="{$title.font.family}" + font-family="{$title.fontset}" font-weight="bold"/> <subtitle - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> @@ -940,7 +940,7 @@ t:named-template="indexdiv.title" param:title="title"/> <subtitle - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> @@ -967,10 +967,10 @@ param:pagewide="1" margin-left="{$title.margin.left}" font-size="&hsize5;" - font-family="{$title.font.family}" + font-family="{$title.fontset}" font-weight="bold"/> <subtitle - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> @@ -996,10 +996,10 @@ param:node="ancestor-or-self::colophon[1]" margin-left="{$title.margin.left}" font-size="&hsize5;" - font-family="{$title.font.family}" + font-family="{$title.fontset}" font-weight="bold"/> <subtitle - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> @@ -1030,7 +1030,7 @@ margin-left="{$title.margin.left}" font-size="&hsize3;" font-weight="bold" - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> @@ -1059,7 +1059,7 @@ margin-left="{$title.margin.left}" font-size="&hsize3;" font-weight="bold" - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> @@ -1088,7 +1088,7 @@ margin-left="{$title.margin.left}" font-size="&hsize3;" font-weight="bold" - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> @@ -1117,7 +1117,7 @@ margin-left="{$title.margin.left}" font-size="&hsize3;" font-weight="bold" - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> @@ -1146,7 +1146,7 @@ margin-left="{$title.margin.left}" font-size="&hsize3;" font-weight="bold" - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> @@ -1175,7 +1175,7 @@ margin-left="{$title.margin.left}" font-size="&hsize3;" font-weight="bold" - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> @@ -1204,7 +1204,7 @@ margin-left="{$title.margin.left}" font-size="&hsize3;" font-weight="bold" - font-family="{$title.font.family}"/> + font-family="{$title.fontset}"/> </t:titlepage-content> <t:titlepage-content t:side="verso"> diff --git a/xsl/fo/titlepage.xsl b/xsl/fo/titlepage.xsl index f0b7cb080..0ab82d5fe 100644 --- a/xsl/fo/titlepage.xsl +++ b/xsl/fo/titlepage.xsl @@ -17,7 +17,7 @@ <xsl:attribute-set name="book.titlepage.recto.style"> <xsl:attribute name="font-family"> - <xsl:value-of select="$title.font.family"/> + <xsl:value-of select="$title.fontset"/> </xsl:attribute> <xsl:attribute name="font-weight">bold</xsl:attribute> <xsl:attribute name="font-size">12pt</xsl:attribute> diff --git a/xsl/fo/xref.xsl b/xsl/fo/xref.xsl index fd5d10734..6fbaf9203 100644 --- a/xsl/fo/xref.xsl +++ b/xsl/fo/xref.xsl @@ -661,7 +661,7 @@ <xsl:when test="$ulink.footnotes != 0 and not(ancestor::footnote)"> <fo:footnote> <xsl:call-template name="ulink.footnote.number"/> - <fo:footnote-body font-family="{$body.font.family}" + <fo:footnote-body font-family="{$body.fontset}" font-size="{$footnote.font.size}"> <fo:block> <xsl:call-template name="ulink.footnote.number"/> diff --git a/xsl/params/root.properties.xml b/xsl/params/root.properties.xml index 1460df31e..545cbf5d7 100644 --- a/xsl/params/root.properties.xml +++ b/xsl/params/root.properties.xml @@ -12,7 +12,7 @@ <src:fragment id='root.properties.frag'> <xsl:attribute-set name="root.properties"> <xsl:attribute name="font-family"> - <xsl:value-of select="$body.font.family"/> + <xsl:value-of select="$body.fontset"/> </xsl:attribute> <xsl:attribute name="font-size"> <xsl:value-of select="$body.font.size"/>