TeX settings (Re: getting DocBook to print)
Maybe this is not the right forum to ask, but I am not aware of a
TeX-specific discussion list on Debian, and I suppose that most Debian-doc
authors frequesntly get in touch with TeX.
On Wed, 24 Dec 2003, MJ Ray wrote:
> On 2003-12-21 19:46:11 +0000 "A.R. (Tom) Peters" <tpeters@xs4all.nl>
> wrote:
>
> > 1) How do I change the default Letter paper to A4, in this particular
> > case?
>
> Set the paper.type parameter to "A4" when running xsltproc. (Details
> found in fo/param.xsl)
OK, that would be the option "--stringparam paper.type A4" as listed in
/etc/sgml/docbook-xsl/fo/param.xsl
> > 3) What goes wrong in the second step and what can I do about it?
The thing that goes wrong at the end is that TeX runs out of memory:
! TeX capacity exceeded, sorry [main memory size=263001].
...
Here is how much of TeX's memory you used:
13657 strings out of 49870
202738 string characters out of 435923
263002 words of memory out of 263001
...
So I edited /etc/texmf/texmf.d/95NonPath according to the recommendations
by passivetex author Sebastian Rahtz on
http://www.tei-c.org.uk/Software/passivetex/#body.1_div.3 , and ran
update-texmf ; which indeed produced a new /etc/texmf.cnf with the proper
parameter values. However, running pdfxmltex gave the same error:
apparently TeX is still using too little memory.
So how am I supposed to increase the memory assigned to TeX on Debian?
Note: I don't understand where the 263001 in the error log listed above is
coming from: the original default is 263000 . Moreover, the passivetex
package adds to the texmf.cnf:
main_memory.pdfxmltex = 500000
--
#>!$!%(@^%#%*(&(#@#*$^@^$##*#@&(%)@**$!(&!^(#((#&%!)%*@)(&$($$%(@#)&*!^$)^@*^@)
Tom "thriving on chaos" Peters
Reply to: