RE: FWD: [NTG-context] \inmargin, \setupindenting, and overfull boxes
I placed your definition in a \start-\stopenvironment file. The \inmargins are in \product files each of which calls the environment file in its preamble. If I compile just one product (say the second \product from the project), there appears to be no problem. But if I compile the entire project, TeX chokes on that same product. Do you think this may be the problem? Best Idris ============================ Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523
Idris Samawi Hamid wrote:
Yes, because the environment file is read twice, you need a guard against redefining the redefinition. Placing a guard around it, like this, should work: \expandafter\ifx\csname normalinmargin \endcsname \relax \else \let\normalinmargin\inmargin \def\inmargin#1{{\parindent0pt \normalinmargin{#1}}} \fi (yes, that is an ugly hack, but it is one I can write withour actually having to test it before sending :)) Greetings, Taco
participants (2)
-
Idris Samawi Hamid
-
Taco Hoekwater