[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: admon graphics (docbook-xsl 1.61.0, passivetex 1.24)
Hi,
I'm using docbook-xsl 1.61.0, with a change to en.xml to set
hyphenation-character to '-' (otherwise passivetex chokes), and
passivetex 1.24.
When processing this document:
admon.xml ==>
<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" []>
<note>
<para>This is a note</para>
</note>
<==
with this stylesheet fragment:
admon.xsl ==>
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version='1.0'>
<!-- Enable admon graphics. -->
<xsl:param name="admon.graphics" select="1"/>
<xsl:param
name="admon.graphics.path">/usr/share/sgml/docbook/xsl-stylesheets/images/</xsl:param>
</xsl:stylesheet>
<==
with the command line:
xmlto pdf -m admon.xsl admon.xml
I get errors from passivetex, like this:
<5:block >
<5:external-graphic
0:width = "auto"
0:height = "auto"
0:content-width = "36pt"
0:src = "url(/usr/share/sgml/docbook/xsl-stylesheets/images/note.png)" >
! LaTeX Error: Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.2 ...ote.png)"/></fo:block></fo:list-item-label>
<fo:list-item-body start-i...
?
! Emergency stop.
Any ideas? The file
/usr/share/sgml/docbook/xsl-stylesheets/images/note.png is a correct
PNG file.
Tim.
*/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]