[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: TeX settings (Re: getting DocBook to print)



On Tue, Dec 30, 2003 at 10:43:43AM +0100, A.R. (Tom) Peters wrote:
> On Sun, 28 Dec 2003, Denis Barbier wrote:
> > On Sat, Dec 27, 2003 at 12:24:12AM +0100, A.R. (Tom) Peters wrote:
> > > Thank you for your respons.
> > > Sebastian Rahtz mentions main_memory (which is 95NonPath), not
> > > main_memory.pdfxmltex (which is in 96passivetex.cnf).
> > > Nevertheless, the default passivetex setting for main_memory.pdfxmltex
> > > in that file is 500000, and apparently this value is not currently used
> > > when I run pdfxmltex on my system; as I noted below.
> >
> > You can type
> >   kpsewhich -expand-var=\$main_memory -progname=pdfxmltex
> > If the returned value is not 500000, add -debug=2 and try to guess
> > where does this value come from.  All available debugging values are
> > listed in kpathsea.info,
> 
> Thank you for the tip.  The results:
> ~$  kpsewhich -expand-var=\$main_memory -progname=pdfxmltex
> 500000
> $  kpsewhich -expand-var=\$main_memory -progname=xmltex
> 500000
> ~$  kpsewhich -expand-var=\$main_memory -progname=latex
> 2630000 % words of inimemory available: also applies to inimf&mp
> ~$  kpsewhich -expand-var=\$main_memory -progname=tex
> 2630000 % words of inimemory available: also applies to inimf&mp
> 
> which is all just like is now specified in my /etc/texmf.cnf .
> 
> But still, when running pdfxmltex, I get:
> 
> ! TeX capacity exceeded, sorry [main memory size=263001].
> 
> which indicates a memory size too small by a factor of 10.
> 
> ???

Hmmm, this is indeed strange, I tried to change main memory size
when compiling xmltex manual, and found that
  latex manual.tex
worked fine whereas
  pdfxmltex manual.xml
seems not to be affected by changes in texmf.cnf.  So you might
write a TeX file containing the 2 lines
  \def\xmlfile{yourdocument.xml}
  \input xmltex
and process it with LaTeX until a real solution is found.

Denis



Reply to: