First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 21501
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Text-Markup Team <text-markup@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christian Plessl <plessl@tik.ee.ethz.ch>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 21501 depends on: Show dependency tree
Bug 21501 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-05-22 16:50 0000
The installation of jadetex does not increase the standard sizes of certain
buffers in 
TeX which causes jadetex and pdfjadetex to fail, with errormessages like the
following: 

! TeX capacity exceeded, sorry [save size=5000]. 
<to be read again> 
                   \relax 
l.6553 {} 
         12-\/4\endSeq{}. \endSeq{}\Node% 
!  ==> Fatal error occurred, the output PDF file is not finished! 
Transcript written on BlenderManual.log. 

This problem is know, and also decribed on the project homepage of jadetex 
http://jadetex.sourceforge.net/.  According to the jadetex webpage, the default 
memory settings of tetex are too small, see also 
http://www.redhat.com/mirrors/LDP/HOWTO/mini/DocBook-Install/install.html. 

This bug prevents users from compiling complex documents with jadetex (e.g.
complex 
docbook documents, that have been converted docbook2tex). 

Upgrading to the newest tetex (tetex-2.0.2). 

Reproducible: Always
Steps to Reproduce:
1. Convert a complex docbook file to jadetex (e.g. Blender documentation from 
www.blender.org) 
2. run jadetex or pdfjadetex on the resulting document 
3. 
Actual Results:  
pdfjadetex fails with error: ! TeX capacity exceeded, sorry [save size=5000]

------- Comment #1 From Mike Gardiner (RETIRED) 2003-10-23 02:12:00 0000 -------
Could you propose a solution ? Files/Number changes ? Thanks.

------- Comment #2 From Bob Smart 2003-11-23 18:51:47 0000 -------
Reading jadetex.sourceforge.net it seems that all you have to do is add 40
lines to the bottom of /usr/share/texmf/web2c/texmf.cnf then regenerate the
latex.fmt file, before building jadetex. However I still get the "save
size=5000" error.

Even if the jadetex install did hack texmf.cnf, it would still have to redo it
whenever tetex was upgraded. Can gentoo cope with that?

In the short term the patch to texmf.cnf should go into the tetex ebuild rather
than jadetex.

Bob

------- Comment #3 From Bob Smart 2003-11-24 16:18:25 0000 -------
Oops - jadetex.org recommended values have save_size=5000, so
it is not too surprising that we run out with save size=5000.
When I up that to 50000 it goes further (dies with
"TeX capacity exceeded, sorry [grouping levels=255]"). It
isn't obvious what to change to fix that.

At any rate the point remains that tetex should put bigger
values in texmf.cnf (as per jadetex.org or bigger). Getting
jadetex ebuild to update texmf.cnf will cause the change to
be lost whenever tetex is updated.

Bob

------- Comment #4 From Mike Gardiner (RETIRED) 2003-11-25 01:42:25 0000 -------
Sorry, I havent commented back.

I had quite a look at this bug when I was investigating jadetex just recently (in relation to sgmltools-lite) but I didnt come up with an effective, update-proof way to modify texmf.cnf. The basic situation is:

need to modify texmf.cnf
then remake jadetex.fmt/pdfjadetex.fmt

This isnt that hard to do, but choosing where (which ebuild/what time) is the critical thing I think.

The last option I came up with was, perhaps we could:

copy texmf to somewhere in ${D}
modify it and remake jadetex/pdfjadetex.fmt
install these modified versions

and do that all within the jadetex ebuild.

------- Comment #5 From Sumanth Peddamatham 2004-06-17 12:08:23 0000 -------
has this bug been resolved?

------- Comment #6 From Mamoru KOMACHI (RETIRED) 2004-09-03 02:43:09 0000 -------
What I'm thinking now is to move texmf.cnf to /etc/texmf/texmf.cnf and make
a symink to /usr/share/texmf/web2c/texmf.cnf (so texmf.cnf will be
CONFIG_PROTECTED). Also, I suggest we create /etc/texmf/texmf.d, put parts 
of texmf.cnf into it, and generate texmf.cnf from them just like we create
site-gentoo.el from ??-*-gentoo.el for emacs.

After that, we can put (for example) 60jadetex.cnf on /etc/texmf/texmf.d and
remake jadetex.fmt/pdfjadetex.fmt.

------- Comment #7 From Mamoru KOMACHI (RETIRED) 2004-11-11 02:57:21 0000 -------
It's not completely resolved but texmf.cnf in 
tetex-beta is config-protected, so things are 
better now....

------- Comment #8 From Mamoru KOMACHI (RETIRED) 2005-04-08 20:40:08 0000 -------
It is now configurable by tetex-3.0 and /etc/texmf/texmf.d/80jadetex.cnf.
Sorry for taking so long time to fix it :(

First Last Prev Next    No search results available      Search page      Enter new bug