This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] passivetex, <ulink url="...&amp;..."/>


Hi,

This document:

<?xml version='1.0'?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"; >
 
<book>
<chapter><title>First chapter</title>
<para>
<ulink url="http://www.google.com/search?hl=en&amp;q=passivetex";>
Google</ulink> for passivetex.
</para>
</chapter>
</book>

produces errors when converted to XSL-FO and processed by xmltex.  I'm
using docbook-xsl-1.61.2, xmltex-20000118, and passivetex-1.24 (1.25
seems to act the same).

The error (with \setcounter{errorcontextlines}{999}) is:

     <5:basic-link
 
         0:external-destination = "url(http://www.google.com/search?hl=en&amp;q
=passivetex)"  >
! Missing \endcsname inserted.
<to be read again>
                   &
\XML@tempb ...(http://www.google.com/search?hl=en&;
                                                  amp;q=passivetex)\endcsnam...
 
\XML@setattributes ...ribute@toks #1\relax \relax
                                                  \let \XMLNS@ \XMLNS@@
\E:5:basic-link ...t@chardef \FOtargetstylesheet }
                                                  \xmlgrab
l.3 ...google.com/search?hl=en&amp;q=passivetex)">

I haven't found any other references to this problem.  Has no-one
tried to use PassiveTeX with a DocBook document containing a ulink
like this before?

Obviously, taking '&amp;' out of the URL lets xmltex complete.. but
ruins the URL.

Tim.
*/


Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]