← Prev in month ← Prev in thread
Next in thread → Next in month →

DOCBOOK-APPS: XSL FO stylesheet titlepage stuff

From
Jack Moffitt <>
Date
2001-10-14T04:38:30+00:00
ID
Thread
DOCBOOK-APPS: XSL FO stylesheet titlepage stuff
I have an article that has authorgroup, pubdate, and revhistory tags in
an articleinfo tag.

The stylesheet seems to grab the articleinfo piece, and has a tag for
the authorgroup.  Unfortunately, it just calls a new template with a
slightly different mode:

<xsl:template match="authorgroup"
mode="article.titlepage.recto.auto.mode">
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
xsl:use-attribute-sets="article.titlepage.recto.style">
<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
</fo:block>
</xsl:template>

Matching templates for mode="article.titlepage.recto.mode" don't exit,
but a default one does which just prints out the contents verbatim.

This makes things look really ugly in the resulting PDF.

I suspect that having an authorgroup is a pretty common thing, so I'm
wondering if I'm just missing something here.

I can fix this myself by adding appropriate <xsl:template
match="authorgroup" mode="article.titlepage.recto.mode"> and
match="author" templates.  The output looks good now, but of course,
pubdate and revhistory are still not great.

Am I doing something wrong, or is this just not implemented yet?

And if it's not implemented yet, should I submit a patch somewhere?

jack.
← Prev in month ← Prev in thread
Next in thread → Next in month →