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

Jadetex still fails me: more info



Hi,

I posted back in February regarding my inability to convert
a Docbook SGML file to Postscript by doing a jade->jadetex->dvips
sequence.

My machine had only 64MB of memory on it, and Adam DiCarlo
suggested I overcommit memory by setting the flag at
/proc/sys/vm/overcommit_memory to be 1 .  Unfortunately even 
this didn't help.   So I let it sit on the backburner awhile.

Since then, I've switched my main docs to Docbook XML 4.1.2 and upgraded
my system memory to 192MB.  Surely my 100K source file could be 
processed fully on a 192MB system?  Apparently not, as it still fails.

Looking further, I find that even a sample 1 - 10K source is failing, 
so something is clearly wrong, and I am now writing for more advice,
giving more details as to what I am doing.

As I said at the beginning, I wish to do a jade->jadetex->dvips sequence.  

Here is my jade step:

jade -t tex \
     -d /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl \
             /usr/lib/sgml/declaration/xml.dcl RSDPerlTutorial.xml

This turns the 100K source into a 11MB .tex file.  From here,
a jadetex run on that .tex file fails with 
"! TeX capacity exceeded, sorry [main memory size=16263001]."

One thing interesting:

1) Doing an strace on the jadetex process shows a flood of these:

access("./t1Times-Roman.fd.tex", R_OK)  = -1 ENOENT (No such file or directory)
access("./t1Times-Roman.fd", R_OK)      = -1 ENOENT (No such file or directory)
access("./t1Times-Roman.fd.tex", R_OK)  = -1 ENOENT (No such file or directory)
access("./t1Times-Roman.fd", R_OK)      = -1 ENOENT (No such file or directory)
access("./t1Times-Roman.fd.tex", R_OK)  = -1 ENOENT (No such file or directory)
access("./t1Times-Roman.fd", R_OK)      = -1 ENOENT (No such file or directory)
access("./t1Times-Roman.fd.tex", R_OK)  = -1 ENOENT (No such file or directory)
access("./t1Times-Roman.fd", R_OK)      = -1 ENOENT (No such file or directory)
access("./t1Times-Roman.fd.tex", R_OK)  = -1 ENOENT (No such file or directory)

Could this be my problem?  Or perhaps it is the way I'm running jade?

Looking at this list's archives, I see reference to a db2ps script.
Hey, that's on my system!  So I tried it on a sample Docbook SGML file,
and it worked great.  Then I try it on a Docbook XML file, and am
rewarded with error lines like: 

jade:/usr/share/sgml/entities/xml-iso-entities-8879.1986/ISOamsr.ent:11:17:E: "X223D" is not a function name
jade:/usr/share/sgml/entities/xml-iso-entities-8879.1986/ISOamsr.ent:12:18:E: "X22CD" is not a function name
jade:/usr/share/sgml/entities/xml-iso-entities-8879.1986/ISOamsr.ent:13:17:E: "X224E" is not a function name
jade:/usr/share/sgml/entities/xml-iso-entities-8879.1986/ISOamsr.ent:14:18:E: "X224F" is not a function name
jade:/usr/share/sgml/entities/xml-iso-entities-8879.1986/ISOamsr.ent:15:17:E: "X2257" is not a function name
jade:/usr/share/sgml/entities/xml-iso-entities-8879.1986/ISOamsr.ent:16:19:E: "X2254" is not a function name

Hmm, is it available for Docbook SGML only?

This is all done on a Debian 'testing' system.
Here is a listing of what tetex and docbook versions show up on my system:

ii  tetex-base     1.0.2+20000804 basic teTeX library files
ii  tetex-bin      1.0.7+20001218 teTeX binary files
ii  tetex-doc      1.0.2+20000804 teTeX documentation
ii  tetex-extra    1.0.2+20000804 extra teTeX library files
ii  docbook        4.1-4          SGML DTD for software documentation
ii  docbook-doc    30d10-5        Documentation for the DocBook DTD.
ii  docbook-styles 1.64-1         Modular DocBook stylesheets, for print and H
ii  docbook-styles 1.64-1         Modular DocBook stylesheets documentation
ii  docbook-to-man 2.0.0-8        Converter from DocBook SGML into roff -man m
ii  docbook-xml    4.1.2-4        XML DTD for DocBook, also known as DocBk XML
ii  docbook-xml-jr 1.0-1          DocBook XML JRefEntry DTD
ii  docbook-xml-si 4.1.2.4-1      Simplified DocBook XML Doctype and css style
ii  docbook2man    0.5.1-6        Perl SGMLS spec file to convert DocBook SGML
ii  docbook2texi   0.5.1-6        Perl SGMLS spec file to convert DocBook SGML


I appreciate any new tips you can lend to me for solving this problem.


Thanks in advance,

-Robb




Reply to: