Subject: Re: jadetex problem when buliding pkgsrc guide
To: Mark E. Perkins <perkinsm@bway.net>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: pkgsrc-users
Date: 06/10/2007 23:17:55
On 10/06/07, Mark E. Perkins <perkinsm@bway.net> wrote:
> I'm trying to build the PDF version of the pkgsrc guide, which seems to take
> the steps TeX -> dvi -> PS -> PDF.  The .tex file is created, but then running
> jadetex on pkgsrc.tex fails (see below).
>
> I haven't done anything active with TeX in many years, so I'm kinda lost.  Do
> I need to add something to /usr/pkg/share/texmf/web2c/fmtutil.cnf?
> /usr/pkg/share/texmf/web2c/jadetex.fmt exists, but fmtutil.cnf does not have a
> jadetex entry (and trying the "obvious" insertion of a line that looks similar
> to the etex gets me the same errors).
I copied  /usr/pkg/share/texmf/web2c/jadetex.fmt to the package
directory, removed the empty .ps file and did 'make'. This went
further, but stopped at
...
=> Required installed package digest>=20010302: digest-20060826 found
===> Building for pkgsrc-guide-20070611
[Checking tools for typesetting...OK]
env SP_CHARSET_FIXED=YES  SP_ENCODING=iso-8859-1  SGML_CATALOG_FILES=
/usr/pkg/bin/onsgmls -s -wall -c
/usr/pkgsrc/doc/guide/work/pkgsrc-guide-20070611/share/catalog -c
/usr/pkgsrc/doc/guide/work/pkgsrc-guide-20070611/../htdocs/share/xml/catalog
-c /usr/pkg/share/sgml/catalog -c
/usr/pkg/share/sgml/docbook/dsssl/modular/catalog -c
/usr/pkg/share/sgml/docbook/4.2/catalog
/usr/pkg/share/sgml/docbook/dsssl/modular/dtds/decls/xml.dcl
pkgsrc.xml
/usr/pkg/bin/onsgmls:/usr/pkg/share/sgml/docbook/4.2/docbookx.dtd:83:0:W:
unused parameter entity "hh"
/usr/pkg/bin/onsgmls:/usr/pkg/share/sgml/docbook/4.2/calstblx.dtd:68:0:W:
unused parameter entity "tbl.table.name"
[Checking tools for typesetting...OK]
[Checking tools for typesetting...OK]
[Checking tools for typesetting...OK]
[Checking tools for typesetting...OK]
jadetex pkgsrc.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./pkgsrc.tex
JadeTeX 2003/04/27: 3.13
(/usr/pkg/share/texmf/tex/latex/psnfss/t1ptm.fd)
Elements will be labelled

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.8 {2}}T
         he pkgsrc guide\endNode{}\Node%
(/usr/pkg/share/texmf/tex/latex/amsfonts/umsa.fd)
(/usr/pkg/share/texmf/tex/latex/amsfonts/umsb.fd)
(/usr/pkg/share/texmf/tex/latex/wasysym/uwasy.fd)
(/usr/pkg/share/texmf/tex/latex/stmaryrd/ustmry.fd)
! TeX capacity exceeded, sorry [main memory size=1000000].
\newpage ...k \@nobreakfalse \everypar {}\fi \par
                                                  \vfil \penalty -\@M
l.18846 ...{}\endNode{}\endNode{}\endNode{}\endFOT
                                                  {}
No pages of output.
Transcript written on pkgsrc.log.
*** Error code 1 (ignored)

......................................

So I guess is some TeX configuration parameter.

>
> Can someone point me at the right solution?
>
> Thanks,
> Mark
>
> ==================================================
> jadetex pkgsrc.tex
> This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
> kpathsea: Running mktexfmt jadetex.fmt
> fmtutil: no info for format `jadetex'.
> I can't find the format file `jadetex.fmt'!
> *** Error code 1 (ignored)
> jadetex pkgsrc.tex
> This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
> kpathsea: Running mktexfmt jadetex.fmt
> fmtutil: no info for format `jadetex'.
> I can't find the format file `jadetex.fmt'!
> *** Error code 1 (ignored)
> jadetex pkgsrc.tex
> This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
> kpathsea: Running mktexfmt jadetex.fmt
> fmtutil: no info for format `jadetex'.
> I can't find the format file `jadetex.fmt'!
> *** Error code 1 (ignored)
> /Volumes/NetBSD/pkg/bin/dvips -f pkgsrc.dvi > pkgsrc.ps
> This is dvips(k) 5.95a Copyright 2005 Radical Eye Software (www.radicaleye.com)
> /Volumes/NetBSD/pkg/bin/dvips: ! DVI file can't be opened.
> *** Error code 1
>
>

Chavdar Ivanov