Re: [NTG-context] TeX capacity exceeded.... but....

2022-03-17 Thread Rik Kabel via ntg-context

On 2022-03-17 18:14, jbf via ntg-context wrote:

I'd like to understand what is happening in this particular instance:

While playing with a suggestion to a recent request (re 
\currentlistentrynumber etc.) I suddenly got a compiling error:


TeX capacity exceeded, sorry [file=2000].

I returned everything to how it was before I was trying out those 
suggestions, but still got the error, so I began the \stopdocument 
routine fairly early in the document... same problem still. Then I 
brought the \stopdocument well forward, immediately after the standard 
makeup pages and the document compiled. When I removed \stopdocument, 
the entire document compiled as it should.


So the basic question is: what can be causing the error message? This 
has happened to me on two occasions with this document - it occurred 
once before I had even begun experimenting with the \currentlistentry 
options, so I do not think that the problem lies there. And when it 
occurred that time, I again solved it with \stopdocument routine, but 
further into the document. And similarly, once it compiled that far 
and I removed it, the whole document compiled once more.


If it is too complicated an explanation for an email response, maybe 
just point me to a document that explains the issue.


Julian

I cannot explain what is happening, but I can tell you what I do when I 
come across an unexpected failure: I delete the .tuc file (and .tua file 
as well if present) and try again.


This is an easy thing to do before halving the source (moving \stop) and 
such.


--
Rik

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] TeX capacity exceeded.... but....

2022-03-17 Thread Hans Hagen via ntg-context

On 3/17/2022 11:14 PM, jbf via ntg-context wrote:

I'd like to understand what is happening in this particular instance:

While playing with a suggestion to a recent request (re 
\currentlistentrynumber etc.) I suddenly got a compiling error:


TeX capacity exceeded, sorry [file=2000].

I returned everything to how it was before I was trying out those 
suggestions, but still got the error, so I began the \stopdocument 
routine fairly early in the document... same problem still. Then I 
brought the \stopdocument well forward, immediately after the standard 
makeup pages and the document compiled. When I removed \stopdocument, 
the entire document compiled as it should.


So the basic question is: what can be causing the error message? This 
has happened to me on two occasions with this document - it occurred 
once before I had even begun experimenting with the \currentlistentry 
options, so I do not think that the problem lies there. And when it 
occurred that time, I again solved it with \stopdocument routine, but 
further into the document. And similarly, once it compiled that far and 
I removed it, the whole document compiled once more.


If it is too complicated an explanation for an email response, maybe 
just point me to a document that explains the issue.
a guess ... it looks like you load the same file so you have some 
nesting / grouping problem; (some file loaders keep track of being 
loaded but you probably load before that is done)


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] TeX capacity exceeded.... but....

2022-03-17 Thread jbf via ntg-context

I'd like to understand what is happening in this particular instance:

While playing with a suggestion to a recent request (re 
\currentlistentrynumber etc.) I suddenly got a compiling error:


TeX capacity exceeded, sorry [file=2000].

I returned everything to how it was before I was trying out those 
suggestions, but still got the error, so I began the \stopdocument 
routine fairly early in the document... same problem still. Then I 
brought the \stopdocument well forward, immediately after the standard 
makeup pages and the document compiled. When I removed \stopdocument, 
the entire document compiled as it should.


So the basic question is: what can be causing the error message? This 
has happened to me on two occasions with this document - it occurred 
once before I had even begun experimenting with the \currentlistentry 
options, so I do not think that the problem lies there. And when it 
occurred that time, I again solved it with \stopdocument routine, but 
further into the document. And similarly, once it compiled that far and 
I removed it, the whole document compiled once more.


If it is too complicated an explanation for an email response, maybe 
just point me to a document that explains the issue.


Julian

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___