\inmargin, \setupindenting, and overfull boxes
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 ====================================== \setupoutput[pdftex]% %\setupindenting[medium] \starttext \input knuth \inmargin{This is a test.} \stoptext ======================================== ================log===================== systems : begin file test at line 5 (c:\CONTEXT\tex\texmf-local/tex/context/sample/knuth.tex) Overfull \hbox (17.62474pt too wide) in paragraph at lines 7--7 [][] \hbox(10.41603+4.05064)x0.0 .\hbox(0.0+0.0)x17.62474 .\hbox(10.41603+4.05064)x0.0 ..\rule(10.41603+4.05064)x0.0 ..\glue 0.0 plus 1.0fil minus 1.0fil .\penalty 10000 .\glue(\parfillskip) 0.0 plus 1.0fil .\glue(\rightskip) 0.0 =========================================== ============================ Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523
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 ====================================== \setupoutput[pdftex]% %\setupindenting[medium] \starttext \input knuth \inmargin{This is a test.} \stoptext ======================================== ================log===================== systems : begin file test at line 5 (c:\CONTEXT\tex\texmf-local/tex/context/sample/knuth.tex) Overfull \hbox (17.62474pt too wide) in paragraph at lines 7--7 [][] \hbox(10.41603+4.05064)x0.0 .\hbox(0.0+0.0)x17.62474 .\hbox(10.41603+4.05064)x0.0 ..\rule(10.41603+4.05064)x0.0 ..\glue 0.0 plus 1.0fil minus 1.0fil .\penalty 10000 .\glue(\parfillskip) 0.0 plus 1.0fil .\glue(\rightskip) 0.0 =========================================== -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523
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 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:-)
Hi Taco,
On Fri, 06 May 2005 08:46:04 +0200, 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}}}
Thank you for the fix; I'll test it after work. This is interesting, because the original output looks fine in the argument to \inmargin, there is no actual indentation going on... Thnx again 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...
-- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523
participants (3)
-
Idris Samawi Hamid
-
Idris Samawi Hamid
-
Taco Hoekwater