Sanjoy Mahajan wrote:
From: Taco Hoekwater
Is there a hardcoded limit on how far up context searches?
Like you just discovered, it searches three levels (current, parent, grandparent). The max level is defined in this macro:
\def\maxreadlevel{3}
You can simply redefine the macro if needed (you have to do that in cont-sys, otherwise you have a bootstrapping problem).
The file reading macros are in supp-fil.tex, if interested.
Tested and works great, thanks. I had looked around for such an object but didn't find it.
Can the default be 4? (If it doesn't break other assumptions.)
best put this directive in your local cont-sys.tex you may formulate it as a feature request (i have to think about it) 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 -----------------------------------------------------------------