ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \inmargin, \setupindenting, and overfull boxes
@ 2005-04-27  2:18 Idris Samawi Hamid
  2005-05-05 16:35 ` Fwd: " Idris Samawi Hamid
  0 siblings, 1 reply; 4+ messages in thread
From: Idris Samawi Hamid @ 2005-04-27  2:18 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Fwd: \inmargin, \setupindenting, and overfull boxes
  2005-04-27  2:18 \inmargin, \setupindenting, and overfull boxes Idris Samawi Hamid
@ 2005-05-05 16:35 ` Idris Samawi Hamid
  2005-05-06  6:46   ` Taco Hoekwater
  0 siblings, 1 reply; 4+ messages in thread
From: Idris Samawi Hamid @ 2005-05-05 16:35 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Fwd: \inmargin, \setupindenting, and overfull boxes
  2005-05-05 16:35 ` Fwd: " Idris Samawi Hamid
@ 2005-05-06  6:46   ` Taco Hoekwater
  2005-05-06 14:44     ` Idris Samawi Hamid
  0 siblings, 1 reply; 4+ messages in thread
From: Taco Hoekwater @ 2005-05-06  6:46 UTC (permalink / raw)


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:-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Fwd: \inmargin, \setupindenting, and overfull boxes
  2005-05-06  6:46   ` Taco Hoekwater
@ 2005-05-06 14:44     ` Idris Samawi Hamid
  0 siblings, 0 replies; 4+ messages in thread
From: Idris Samawi Hamid @ 2005-05-06 14:44 UTC (permalink / raw)


Hi Taco,

On Fri, 06 May 2005 08:46:04 +0200, Taco Hoekwater <taco@elvenkind.com> 
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 \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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-05-06 14:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-27  2:18 \inmargin, \setupindenting, and overfull boxes Idris Samawi Hamid
2005-05-05 16:35 ` Fwd: " Idris Samawi Hamid
2005-05-06  6:46   ` Taco Hoekwater
2005-05-06 14:44     ` Idris Samawi Hamid

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).