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

2005-05-09 Thread Hans Hagen
Taco Hoekwater wrote: If there are a lot of margin notes, this can clutter the output considerably, and that's not so much a problem, but an annoyance. I've run into this as well, in context as well as in latex and in my own macros. The problem is usually something like: i've added a \dontcomplain

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

2005-05-09 Thread Idris Samawi Hamid
Hi Hans Could you send me/post a copy of the modified macro/file (I'm at a mission-critical stage on a project and don't want to install a new beta before it's done unless absolutely necessary-) Also, is there a similar \dontcomplain fix for \start-\stopalignment[left] (underfull hbox)?

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

2005-05-08 Thread Taco Hoekwater
Idris Samawi Hamid wrote: Taco, any more hacks up your sleeve? ;-) And thank you very much for the last ones! It seems you have a working solution now, but I'll look into this next week to see if I we can come up with a more permanent solution. Greetings, Taco

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

2005-05-08 Thread Hans Hagen
Idris Samawi Hamid wrote: CORRECTION: should be === \let\normalinmargin\inmargin \def\inmargin#1{{\parindent0pt \normalinmargin{#1}}} \def\INMARGIN#1{{\advance\leftskip by -2\parindent \inmargin{#1} \advance\rightskip by

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

2005-05-08 Thread Taco Hoekwater
Hans Hagen wrote: can you make me a minimal example showing the problem? Idris' original example shows the 'problem': \setupindenting[medium] \starttext \input knuth \inmargin{This is a test.} \stoptext The output will be fine, but there will be one 'Overfull hbox' message printed on the

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

2005-05-08 Thread Idris Samawi Hamid
= Original Message From Hans Hagen [EMAIL PROTECTED] = can you make me a minimal example showing the problem? Sure, here are 2: both produce overfull hboxes. All the best Idris == \setupoutput[pdftex]% \setupindenting[medium] \starttext \input knuth

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

2005-05-07 Thread Taco Hoekwater
Idris Samawi Hamid wrote: 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?): The definition is not recursive, but it

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

2005-05-07 Thread Taco Hoekwater
Idris Samawi Hamid wrote: 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

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

2005-05-07 Thread Idris Samawi Hamid
Hi Taco and all, More on \inmargin and overfull boxes: If I define, e.g. a quote \start-stop the overfull boxes come back, even with Taco's definition: == \setupoutput[pdftex]% \setupindenting[medium] \let\normalinmargin\inmargin

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

2005-05-07 Thread Idris Samawi Hamid
Hi Taco and all, I found a temporary solution: Given a \start-\stopnarrower environment like === \definestartstop [quote] [before={\startnarrower[1*middle]\blank[big]}, after={\stopnarrower\blank[big]}]

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

2005-05-07 Thread Idris Samawi Hamid
CORRECTION: should be === \let\normalinmargin\inmargin \def\inmargin#1{{\parindent0pt \normalinmargin{#1}}} \def\INMARGIN#1{{\advance\leftskip by -2\parindent \inmargin{#1} \advance\rightskip by -2\parindent}}

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

2005-05-06 Thread Taco Hoekwater
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: \let\normalinmargin\inmargin \def\inmargin#1{{\parindent0pt \normalinmargin{#1}}} Greetings, Taco Idris Samawi Hamid wrote: Hi gang, I sent this about ten

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

2005-05-06 Thread Idris Samawi Hamid
Hi Taco, On Fri, 06 May 2005 08:46:04 +0200, Taco Hoekwater [EMAIL PROTECTED] wrote: 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: \let\normalinmargin\inmargin \def\inmargin#1{{\parindent0pt

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

2005-05-06 Thread Idris Samawi Hamid
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

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

2005-05-05 Thread Idris Samawi Hamid
Hi gang, I sent this about ten days ago; trying again:-) Best Idris --- Forwarded message --- Dear cartel, Here is one for you-) If you uncomment the \setupindenting you will get an overfull hbox; a real nuisance when you have dozens of \inmargin's... Awaiting advice:-) Best Idris