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] | [List Home]

Subject: admon graphics (docbook-xsl 1.61.0, passivetex 1.24)


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" []>
  <para>This is a note</para>

with this stylesheet fragment:

admon.xsl ==>
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
<!-- Enable admon graphics. -->
<xsl:param name="admon.graphics" select="1"/>

with the command line:

xmlto pdf -m admon.xsl admon.xml

I get errors from passivetex, like this:

      <5:block  >
           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.


PGP signature

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