This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] <sect2> <title> in Table of Contents vs Body


Hi Tristan,
The problem appears to be the bold version of the font.  The TOC entry is
not bold, and the section title is bold.  Add a font-weight="normal"
property to your symbol fo:inline, and that should fix it. You also might
want to set font-style="normal" too, just to be safe.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Tristan Fiedler" <fiedler@cshl.edu>
To: "Docbook-Apps" <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, April 06, 2005 1:23 PM
Subject: [docbook-apps] <sect2> <title> in Table of Contents vs Body


> Hi All,
>
> I am seeing that the conversion to PDF does not include a "beta"
> generated from &#x03B2 in the section 2 heading in the body of the
> document, but in the Table of Contents automatically generated from the
> various section titles, the "beta" does appear properly!  Strange (for
> me).
>
> <sect2>
> <title>
> <emphasis>1</emphasis><symbol
> role="symbolfont">&#x00B0;</symbol><symbol
> role="symbolfont">&#x03B2;</symbol><emphasis> lineage of
> P6.p.</emphasis>
> </title>
>
> My XSL customization layer for PDF :
>
> <xsl:param name="symbol.font.family" select="'Symbol,
> ZapfDingbats'"></xsl:param>
> <xsl:template match="symbol[@role = 'symbolfont']">
> <fo:inline font-family="Symbol,ZapfDingbats">
> <xsl:apply-templates/>
> </fo:inline>
> </xsl:template>
>
> Software: Mac OSX, Docbook XSL 1.67.2, Docbook XML 4.4CR2, Saxon 6.5.3,
> FOP 0.20.5,Firefox 1.0.2, and Adobe Acrobat Reader 7.0.
>
>
> Any ideas why?  May have to do with font sizes / serifs not being
> available?
>
> Thank you for any suggestions.
>
> Tristan
> ---
> Tristan J. Fiedler
> Cold Spring Harbor Laboratory
>
>
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]