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]

Re: PassiveTeX Howto?


Hi,

I am still having trouble getting the simplest docbook test file (pasted
in at the end of this message) to render to pdf via passivetex.

I am using docbook-xsl 1.48, either saxon 6.5.1 or xalan 2.3.1, 
TeX-Live 6.0 with updated passivetex distro and xmltex.tex.

pdfxmltex can successfully render any of the sample .fo (or .xml with .xsl)
files in the passivetex test directory.

When I try:

saxon test.dkb docbook/xsl/fo/docbook.xsl test.fo
pdfxmltex -interaction=nonstopmode test.fo

I get an error [in the test.log file]:
  
  The control sequence marked <to be read again> should
  not appear between \csname and \endcsname.
  
  )
  Runaway argument?
  \csname\endcsname\Odd: :xsl-region-body\endcsname \csname Atomic:\POdd \ETC.
  ! File ended while scanning use of \@Pass.
  <inserted text> 
                  \par 
  <*> test.fo
             
  I suspect you have forgotten a `}', causing me
  to read past where you wanted me to stop.
  I'll try to recover; but if the error is serious,
  you'd better type `E' or `X' now and fix your file.
  
  ! Emergency stop.
  <*> test.fo
             
  *** (job aborted, no legal \end found)
  
  
Any help will be appreciated.

Thanks,
-Colin.


Here is my (validated to docbookx.dtd 4.1.2) test doc:

<?xml version='1.0' encoding='ISO-8859-1'?><!DOCTYPE book SYSTEM
  "file:///usr/local/share/dtd/docbook/docbookx.dtd">

<book>
<bookinfo>
<title>The Test Book</title>
<author><firstname>Colin</firstname><surname>Meyer</surname></author>
</bookinfo>
<chapter id="main">
  <title>The Main Chapter</title>
  <section><title>First Section</title>
    <para>some data</para>
    <section><title>Sub Section</title><para>another thing</para></section>
  </section>
</chapter>
</book>


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