FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes

Idris Samawi Hamid ishamid at lamar.colostate.edu
Sat May 7 04:55:17 CEST 2005

Hi Taco,

Ok your hack works for small files but in my larger work this is causing TeX's 
capacity to overload (indeed, I don't think I've run into this particular 
overload message before; does the `255' signify some ceiling here?):

! TeX capacity exceeded, sorry [grouping levels=255].
\normalinmargin #1->{
                     \parindent 0pt \normalinmargin {#1}}
\normalinmargin ...indent 0pt \normalinmargin {#1}
\normalinmargin ...indent 0pt \normalinmargin {#1}
\normalinmargin ...indent 0pt \normalinmargin {#1}
\normalinmargin ...indent 0pt \normalinmargin {#1}
\normalinmargin ...indent 0pt \normalinmargin {#1}

Although if I implement this manually it does not overload TeX:



%\def\inmargin#1{{\parindent0pt \normalinmargin{#1}}}


\input knuth {\parindent0pt\inmargin{This is a test.}}


Something about that pseudo-recursive definition I suppose? It may take a 
while for me to narrow this new problem down to a small file, but I can 
privately send you the larger files if you care to look at this.

Thnx 4 all your help.


>===== Original Message From Taco Hoekwater <taco at elvenkind.com> =====
>Hi Idris,
>It's definately a \parindent, but I cannot figure whence it came.
>Anyway, if you need an immediate fix, the following hack works:

Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

More information about the ntg-context mailing list