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,

On Mon, Feb 11, 2002 at 11:56:33AM -0700, Rankine, Alastair J (Alastair) wrote:
> Colin,
> 
> Just a suggestion: why not post a sample document which produces the
> error? That way the PassiveTeX users on this list (including myself) can
> attempt to replicate the problem.

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>

-------

I convert it to fo with (v1.48 docbook xsl):
  xalan test.dkb $XSLDIR/fo/docbook.xsl test.fo

and then:
  pdfxmltex test.fo

Which seems to put me into an interactive mode.  If I type ^D, then it
ends the process, with a message about the Fatal error.

For now I will follow the advice found in the message Bob linked to.
Since I can process the resulting test.fo file with fop, and get
a pdf with no errors, I am assuming that the problem is with my TeX
or PassiveTeX installation.

I installed PassiveTeX from SuSE Linux 7.3 rpm files.  I can't find the
test you mention.

Thanks,
-C.


> 
> Some other tips that I have found useful:
> 
> - Try validating your document against the DTD using OpenSP (or
> equivalent).
> - Find the smallest possible document which will replicate the problem.
> This should be the document you post to the list!
> - Ditto for the driver file.
> - Do the PassiveTeX test files work? (mine are in
> /usr/share/texmf.local/tex/xmltex/passivetex/test/)
> 
> Good luck,


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