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: Re: DOCBOOK-APPS: author in titlepage differences between fo and html


> From: Martin Stemplinger <mst115@hotmail.com>
> 
> i just started using DocBookXML to produce both online documents (html) and
> printable documents (pdf) and encountered the following problem: while the
> html stylesheet includes the author on the titlepage by default, pdf does
> not. I had to copy the xsl-template for author to articleinfo/author to
> achive the desired result. Am i missing something or is it a bug in the
> xsl-stylesheets?
> 
> I use xalan/fop for pdf output and xalan for html output. The docbook xml
> dtd is V4.1.2 and the xsl stylesheet is V1.44.
> 
> The xml-file looks like this:
> 
> <?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
>                          "file:///g:/docbook/dbxml/docbookx.dtd">
> <article class="whitepaper" status="Draft" lang="de">
>   <articleinfo>
>     <title>Sample DocBook Document</title>
>     <author>
>       <firstname>Martin</firstname>
>       <surname>Stemplinger</surname>
>       <affiliation>
>          <jobtitle>Writer</jobtitle>
>          <orgname>Acme corp.</orgname>
>       </affiliation>
>   </articleinfo>
>   <sect1><para>Just a test!</para></sect1>
> </article>
> 
> Any help appreciated!

Well, it works for me (after I add the missing
</author> closing tag to your example, which I
assume you had in your file).
In my PDF output I see the author name appearing under the title on
the first page.  I'm using XSL 1.44, and
xsltproc to produce the fo file, but I don't think xalan would lose
an element that the stylesheet specified.

bobs
Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: bobs@caldera.com


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


Powered by eList eXpress LLC