This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Problem with preface and jadetex
- To: docbook-apps at lists dot oasis-open dot org
- Subject: DOCBOOK-APPS: Problem with preface and jadetex
- From: "o.t" <o dot t at altavista dot net>
- Date: Wed, 04 Jul 2001 23:34:24 +0200
dsssl stylesheets 1.70, jadetex 3.7, openjade 1.3
I didn't have this problem with jadetex 3.5.
I have a document with a preface. I produce TeX output and run Jadetex
on it. I get errors which look like this:
----------------------------------
! Missing number, treated as zero.
<to be read again>
i
l.267 {1}}
\endNode{}\endSeq{}\endLink{}\endSeq{}\endPar{}\Seq%
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
! Missing = inserted for \ifnum.
<to be read again>
i
l.267 {1}}
\endNode{}\endSeq{}\endLink{}\endSeq{}\endPar{}\Seq%
I was expecting to see `<', `=', or `>'. Didn't.
! Missing number, treated as zero.
<to be read again>
i
l.267 {1}}
\endNode{}\endSeq{}\endLink{}\endSeq{}\endPar{}\Seq%
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
LaTeX Warning: Reference `1' on page i undefined on input line 267.
--------------------------------
The postscript output has wrong page numbers for the preface in the
table of contents:
preface.................ii<0??
1. Section 1......ii<0??
and so on.
Here's a sample document:
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
<book>
<preface><title>Preface</title>
<section><title>Section 1</title>
<para>Paragraph</para></section>
</preface>
<chapter><title>Chapter 1</title>
<para>Paragraph</para>
</chapter>
</book>