This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] <sect2> <title> in Table of Contents vs Body
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "Docbook-Apps" <docbook-apps at lists dot oasis-open dot org>, "Tristan Fiedler" <fiedler at cshl dot edu>
- Date: Wed, 6 Apr 2005 20:51:29 -0700
- Subject: Re: [docbook-apps] <sect2> <title> in Table of Contents vs Body
- References: <88102c7443785a570cf276a077492197@cshl.edu>
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 β 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">°</symbol><symbol
> role="symbolfont">β</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
>
>
>