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


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

Page numbers in printed documents


I apologize if this is asked often, or if the solution is
obvious. Quite frankly, I'm clueless, and the folks who I've asked
haven't been able to help with this. :) Also, I'm not sure what may be
causing this problem -- if it's a docbook issue, a TeX problem,
something with Jade, etc. If this isn't the appropriate list for my
problem, please tell me where I can go for help.

I'm using docbook-xml with Jade and the docbook-stylesheets. I'd like
to convert a docbook-xml document into PDF for printing. I have the
following alias set up to spit out a Jadetex document using the
docbook-print stylesheets:

alias xml2print jade -d /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl -t tex /usr/lib/sgml/declaration/xml.dcl $1

I then run xml2print on my document, exi.xml. This produces a jadetex
document, and I run pdfjadetex on that. This produces a PDF document,
but the table of contents lines look like:

Table of Contents
1. Introduction..........................................................................................................................................??

The only problem is the ??'s instead of page numbers. This has
happened with several versions of the Debian packages for jade,
jadetex, etc. So, I doubt that the problem is a bug in the software; a
bug in Nolan is far more likely. ;)

So, I decided to run jadetex and see if the DVI looked the
same. Running jadetex produces the following:

This is TeX, Version 3.14159 (Web2C 7.3.1)
(exi.tex
JadeTeX 2000/04/10: 2.18
(/usr/share/texmf/tex/latex/psnfss/t1ptm.fd)
Elements will be labelled
Jade begin document sequence at 20
(exi.aux) (/usr/share/texmf/tex/latex/ot2cyr/ot2wncyr.fd)
(/usr/share/texmf/tex/latex/cyrillic/t2acmr.fd)
(/usr/share/texmf/tex/latex/base/ts1cmr.fd)
(/usr/share/texmf/tex/latex/psnfss/t1phv.fd) [1.0.52] [2.0.52]
(/usr/share/texmf/tex/latex/psnfss/ts1ptm.fd) [3.0.52] [4.0.52] [5.0.52]
[6.0.52] [7.0.52] [8.0.52] [9.0.52] [10.0.52] [11.0.52] [12.0.52]
! Undefined control sequence.
\hyper@anchor ...y@activeanchortrue \hy@colorlink 
                                                  {\@anchorcolor }\anchor@sp...
l.1680 ...eq{}\endNode{}\endNode{}\endSeq{}\endFOT
                                                  {}
! Undefined control sequence.
\hyper@anchor ...r }\anchor@spot \hy@endcolorlink 
                                                  \special {html:</A>}\hy@ac...
l.1680 ...eq{}\endNode{}\endNode{}\endSeq{}\endFOT
                                                  {}
[13.0.52] (exi.aux) )
(see the transcript file for additional information)
Output written on exi.dvi (13 pages, 48404 bytes).
Transcript written on exi.log.
Exit 1

So, I began to wonder if these errors may have had something to do
with it? exi.log looks like:

This is TeX, Version 3.14159 (Web2C 7.3.1) (format=jadetex 2000.5.31)  4 JUN 2000 20:44
**exi.tex
(exi.tex
JadeTeX 2000/04/10: 2.18
LaTeX Font Info:    Try loading font information for T1+ptm on input line 1.
(/usr/share/texmf/tex/latex/psnfss/t1ptm.fd
File: t1ptm.fd 1998/07/06 Fontinst v1.800 font definitions for T1/ptm.
)
Elements will be labelled
Jade begin document sequence at 20
(exi.aux)
\openout1 = `exi.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 20.
LaTeX Font Info:    ... okay on input line 20.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 20.
LaTeX Font Info:    ... okay on input line 20.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 20.
LaTeX Font Info:    ... okay on input line 20.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 20.
LaTeX Font Info:    ... okay on input line 20.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 20.
LaTeX Font Info:    ... okay on input line 20.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 20.
LaTeX Font Info:    ... okay on input line 20.
LaTeX Font Info:    Checking defaults for OT2/wncyr/m/n on input line 20.
LaTeX Font Info:    Try loading font information for OT2+wncyr on input line 20
.
 (/usr/share/texmf/tex/latex/ot2cyr/ot2wncyr.fd
File: OT2wncyr.fd 1999/01/14 Washington Cyrillic.S. Rahtz/Th. B.
)
LaTeX Font Info:    ... okay on input line 20.
LaTeX Font Info:    Checking defaults for PD1/pdf/m/n on input line 20.
LaTeX Font Info:    ... okay on input line 20.
LaTeX Font Info:    Checking defaults for T2A/cmr/m/n on input line 20.
LaTeX Font Info:    Try loading font information for T2A+cmr on input line 20.

(/usr/share/texmf/tex/latex/cyrillic/t2acmr.fd
File: t2acmr.fd 1999/01/07 v1.0 Computer Modern Cyrillic font definitions
)
LaTeX Font Info:    ... okay on input line 20.
LaTeX Font Info:    Checking defaults for TS1/cmr/m/n on input line 20.
LaTeX Font Info:    Try loading font information for TS1+cmr on input line 20.

(/usr/share/texmf/tex/latex/base/ts1cmr.fd
File: ts1cmr.fd 1998/03/27 v2.5g Standard LaTeX font definitions
)
LaTeX Font Info:    ... okay on input line 20.
LaTeX Font Info:    Checking defaults for LECO/omseco/m/n on input line 20.
LaTeX Font Info:    ... okay on input line 20.
LaTeX Font Info:    Checking defaults for LECX/omsecx/m/n on input line 20.
LaTeX Font Info:    ... okay on input line 20.
LaTeX Font Info:    Checking defaults for LECY/omsecy/m/n on input line 20.
LaTeX Font Info:    ... okay on input line 20.
LaTeX Font Info:    Checking defaults for LEGR/omsegr/m/n on input line 20.
LaTeX Font Info:    ... okay on input line 20.
LaTeX Font Info:    Checking defaults for LEHA/omseha/m/n on input line 20.
LaTeX Font Info:    ... okay on input line 20.
LaTeX Font Info:    Checking defaults for LEIP/omseip/m/n on input line 20.
LaTeX Font Info:    ... okay on input line 20.
LaTeX Font Info:    Checking defaults for LELA/omsela/m/n on input line 20.
LaTeX Font Info:    ... okay on input line 20.
LaTeX Font Info:    Checking defaults for LETI/omseti/m/n on input line 20.
LaTeX Font Info:    ... okay on input line 20.
Package hyperref Info: Link coloring ON on input line 20.
LaTeX Font Info:    Try loading font information for T1+phv on input line 99.

(/usr/share/texmf/tex/latex/psnfss/t1phv.fd
File: t1phv.fd 1998/07/06 Fontinst v1.800 font definitions for T1/phv.
)
LaTeX Font Info:    Font shape `T1/phv/bx/n' in size <24.883> not available
(Font)              Font shape `T1/phv/b/n' tried instead on input line 99.
LaTeX Font Info:    Font shape `T1/phv/bx/n' in size <17.28> not available
(Font)              Font shape `T1/phv/b/n' tried instead on input line 120.
 [1.0.52] [2.0.52

]
LaTeX Font Info:    Font shape `T1/phv/bx/n' in size <10> not available
(Font)              Font shape `T1/phv/b/n' tried instead on input line 185.
LaTeX Font Info:    Try loading font information for TS1+ptm on input line 210.

(/usr/share/texmf/tex/latex/psnfss/ts1ptm.fd
File: ts1ptm.fd 1998/07/06 Fontinst v1.800 font definitions for TS1/ptm.
) [3.0.52] [4.0.52

]
LaTeX Font Info:    Font shape `T1/phv/bx/n' in size <20.736> not available
(Font)              Font shape `T1/phv/b/n' tried instead on input line 309.
LaTeX Font Info:    Font shape `T1/ptm/bx/n' in size <10> not available
(Font)              Font shape `T1/ptm/b/n' tried instead on input line 324.
 [5.0.52]
[6.0.52

]
LaTeX Font Info:    Font shape `T1/phv/bx/it' in size <17.28> not available
(Font)              Font shape `T1/phv/b/it' tried instead on input line 672.
LaTeX Font Info:    Font shape `T1/phv/b/it' in size <17.28> not available
(Font)              Font shape `T1/phv/b/sl' tried instead on input line 672.
LaTeX Font Info:    Font shape `T1/phv/bx/n' in size <14.4> not available
(Font)              Font shape `T1/phv/b/n' tried instead on input line 976.
 [7.0.52] [8.0.52] [9.0.52] [10.0.52

] [11.0.52] [12.0.52

]
! Undefined control sequence.
\hyper@anchor ...y@activeanchortrue \hy@colorlink 
                                                  {\@anchorcolor }\anchor@sp...
l.1680 ...eq{}\endNode{}\endNode{}\endSeq{}\endFOT
                                                  {}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
\hyper@anchor ...r }\anchor@spot \hy@endcolorlink 
                                                  \special {html:</A>}\hy@ac...
l.1680 ...eq{}\endNode{}\endNode{}\endSeq{}\endFOT
                                                  {}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

[13.0.52] (exi.aux) ) 
Here is how much of TeX's memory you used:
 298 strings out of 41902
 4197 string characters out of 356822
 134296 words of memory out of 263001
 12163 multiletter control sequences out of 10000+15000
 22069 words of font info for 29 fonts, out of 400000 for 1000
 14 hyphenation exceptions out of 1000
 27i,12n,39p,180b,1495s stack positions out of 1500i,500n,1500p,50000b,5000s

Output written on exi.dvi (13 pages, 48404 bytes).

Does anyone know how I can somehow manage to get page numbering in my
print documents?

Thanks.

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