OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK: how to convert DocBook files to PS files?


First off, I'm no jadetex guru, but apparently this is a pretty common problem. Below the signature, I've quoted the long description that comes with jadetex on FreeBSD. It suggests TeX resource pool settings necessary to format the FreeBSD Handbook.

Using the settings given below, I've successfully produced 100+ pages of PostScript with 30 EPS figures and not bumped into any limits. I'd guess we have Nik Clayton to thank for the advice. MYYV-esp. when it comes to paths that may be FreeBSD-specific.

    Bob

JadeTeX uses quite a lot of TeX's resources.  You may find it
necessary to increase the size of some of TeX's resource pools by
editing the file /usr/local/share/texmf/web2c/texmf.cnf with any text
editor.

For example, to typeset the FreeBSD Handbook with JadeTeX, change the
following settings to the listed values:

          hash_extra = 60000
          pool_size = 1000000
          max_strings = 70000
          save_size = 10000

If you change /usr/local/share/texmf/web2c/texmf.cnf, delete the word
"original" on line 1 of the file.  This will prevent future
installations of TeX from overwriting changes you've made.

Chang Liu wrote:

hello,

I use sgmltools 2.0 to convert my DocBook document to HTML files. However,
I wasn't able to convert my file to PS format using sgmltools.
jadetex, which is called by sgmltools, reported "capacity exceeded".
This error happened even when I process the smallest DocBook file.

Does any one know how to generate PS files from DocBook sgml document?
Thanks.

[chang@meerkat cci]% sgmltools -bps ConditionBasedTesting.sgml
This is TeX, Version 3.14159 (Web2C 7.3)
(/usr/tmp/@2402.1
JadeTeX 1998/10/12: 2.3
(/usr/share/texmf/tex/latex/psnfss/t1ptm.fd)
(/usr/share/texmf/tex/jadetex/isoents.tex)
Elements will be labelled

No file @2402.aux.
(/usr/share/texmf/tex/latex/base/ts1cmr.fd)
(/usr/share/texmf/tex/latex/ot2cyr/ot2wncyr.fd)
(/usr/share/texmf/tex/latex/psnfss/t1phv.fd
! TeX capacity exceeded, sorry [pool size=18205].
DeclareFontShape@ ... noexpand csname #5endcsname
                                                  }def reserved@a
{#6}global...
l.60 ...hape{T1}{phv}{m}{it}{<->ssub * phv/m/sl}{}

No pages of output.
Transcript written on @2402.log.
Traceback (innermost last):
  File "/usr/bin/sgmltools", line 81, in ?
    tool.processFile(curfile)
  File "/usr/share/sgml/misc/sgmltools/python/SGMLtools.py", line 258,
in processFile
    be.postJade(jadeoutfile, jadestdoutfile)
  File "/usr/share/sgml/misc/sgmltools/python/backends/Ps.py", line 36,
in postJade
    Dvi.postJade(self, outfile, stdoutfile)
  File "/usr/share/sgml/misc/sgmltools/python/backends/Dvi.py", line 61,
in postJade
    raise IOError, 'JadeTeX run failed'
IOError: JadeTeX run failed
[chang@meerkat cci]%
 

Thanks,

Chang



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC