Hello.
I'd like to apply some special font style on section subtitles in my
pdf but I am not able to find any applicable properties to tweak. I
have tried to set section.title.level2.properties (and level3...level6
too for that matter). But it seems that those properties have no
effect what so ever. I am really not an xsl expert... looking at the
file "sections.xsl" in the docbook 'fo' directory, it seems to me that
section subtitles should be considered as level2 section titles, or
not? The fo output file contains this part:
[snip]
<fo:block>
<fo:block keep-together.within-column="always" font-
family="sans-serif,Symbol,ZapfDingbats" margin-left="0pc">
<fo:block keep-with-next.within-column="always">
<fo:block font-family="Myriad Pro" font-
weight="normal" keep-with-next.within-column="always" space-
before.minimum="0.8em" space-before.optimum="1.0em" space-
before.maximum="1.2em" text-align="start" start-indent="0pc" font-
style="normal" font-size="30pt" color="magenta">
<fo:marker marker-class-
name="section.head.marker">Section title</fo:marker>
<fo:block font-size="20pt" font-family="Myriad Pro"
font-weight="normal" font-style="normal" color="#0072BA">Section
title</fo:block>
</fo:block>
</fo:block>
</fo:block>
<fo:block keep-together.within-column="always" font-
family="sans-serif,Symbol,ZapfDingbats">Section subtitle</fo:block>
</fo:block>
</fo:block>
[/snip]
Basic outline of my XML is:
<part>
<subtitle>Section subtitle</subtitle>
<para>Paragraph goes here</para>
</part>
The subtitle is always rendered with Helvetica as font family, even
though I've set the body font family to something else. What am I
doing wrong? Any ideas?
/frank