OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: 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.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC