Re: [XeTeX] XeTeX infinite loop [][][][][][] bug - possible fix
[CC'd to ConTeXt list.] Jonathan Kew said this at Thu, 16 Dec 2004 16:30:25 +0000:
I think I may have a temporary fix for the [][][][][][] problem, until such time as I correct the real bug in XeTeX and release a new version. I've been able to reproduce the problem here, and identified a texmf.cnf setting that appears to trigger it (and which was changed in a recent i-Package update).
Edit the file:
/usr/local/teTeX/share/texmf/web2c/texmf.cnf
(you may need to "sudo pico ..." or whatever your favorite editor is), look for the "Memory" section, and add the lines:
extra_mem_bot.xetex = 0 extra_mem_bot.xelatex = 0
It is not necessary to regenerate the format files after adding these entries.
(ConTeXt users may need an additional setting; I'm not sure what format name they're using.)
Well, at the moment, it's "context": extra_mem_bot.context = 0 (That's a pretty harsh workaround, considering "extra_mem_bot.context = 4000000" is the default in gwTeX. ConTeXters may prefer the \hfuzz suggestion from the XeTeX list. In any case, it explains why I was seeing the infinite loop so early!)
Please let me know, those who've run into the problem, whether this does solve it for you. Meanwhile, I will of course aim to fix the bug in XeTeX that makes non-zero "extra_mem_bot" settings fail in this way.
A quick test on a file that normally sends XeTeX spinning away was fine after zeroing extra_mem_bot. Thanks! adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
On 16 Dec 2004, at 4:56 pm, Adam Lindsay wrote:
Well, at the moment, it's "context": extra_mem_bot.context = 0
(That's a pretty harsh workaround, considering "extra_mem_bot.context = 4000000" is the default in gwTeX.
True. But if it becomes a problem, you could increase the main_memory.context value instead (which *will* require regenerating the format). In any case, now that I think we have pinpointed the problem, a fix should be forthcoming.... JK
Jonathan Kew said this at Thu, 16 Dec 2004 17:09:02 +0000:
(That's a pretty harsh workaround, considering "extra_mem_bot.context = 4000000" is the default in gwTeX.
True. But if it becomes a problem, you could increase the main_memory.context value instead (which *will* require regenerating the format).
Okay, thanks, Jonathan, Hans. The tetex memory settings are still a bit of a black art to me. adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Adam Lindsay wrote:
(That's a pretty harsh workaround, considering "extra_mem_bot.context = 4000000" is the default in gwTeX. ConTeXters may prefer the \hfuzz suggestion from the XeTeX list. In any case, it explains why I was seeing the infinite loop so early!)
one can always enlarge the main memory Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Adam Lindsay
-
Hans Hagen
-
Jonathan Kew