Jeff Green <j...@kikisoso.org> wrote: > EXAMPLE xsl file: > <?xml version='1.0'?> > > <xsl:stylesheet > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:fo="http://www.w3.org/1999/XSL/Format" > version="1.0"> > > <xsl:output encoding="Latin1" /> > </xsl:stylesheet>
Hi Jeff, what are you trying to accomplish with this stylesheet? It doesn't hold any payload commands that adapt dblatex's behaviour according to your needs, furthermore the xsl:output command reverts the one from /usr/share/xml/docbook/stylesheet/dblatex/xsl/docbook.xsl: <xsl:output method="text" encoding="UTF-8" indent="yes"/> and thus results in the errors you reported. An example for a simple, however useful user stylesheet would be: <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:param name="doc.collab.show">0</xsl:param> <xsl:param name="latex.output.revhistory">0</xsl:param> <xsl:param name="doc.toc.show">0</xsl:param> <xsl:param name="doc.lot">0</xsl:param> </xsl:stylesheet> This could be used for short documents in order to suppress most header parts. Another example can be found in the dblatex user manual: file:///usr/share/doc/dblatex/html/manual/ch04s03.html In summary two notes: - One only collects adaption commands in the user stylesheet, everything else is superfluous and possibly will interfere with the original stylesheets in a fatal way. This especially goes for the xsl:output command, as you have demonstrated. - The user stylesheet is optional. If you want to discuss this further, feel free to reply, otherwise you could just close the report. Hope this helps, Andreas -- Andreas Hoenen <andr...@hoenen-terstappen.de> GPG: 1024D/B888D2CE A4A6 E8B5 593A E89B 496B 82F0 728D 8B7E B888 D2CE
pgpRNQN3vIyWM.pgp
Description: PGP signature