Re: [NTG-context] inmargin produces underfull hbox

2018-09-07 Thread Wolfgang Schuster
You can get of the warning by changing the alignment for the \margindata 
entries.


\setupmarginframed
  [inmargin]
  [align={flushright,broad}]

\starttext

Overfull\inmargin{abc}

\stoptext


You can produce the same message with the following example.

\starttext

\vbox
  {\hsize\leftmarginwidth
   \setupalign[flushright]
   \bf abc}

\stoptext


Wolfgang


Hans van der Meer schrieb am 07.09.18 um 13:02:

This minimal example:
\starttext
\currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank
Testing \ConTeXt macro\ \tex{inmargin}
\blank
Some text to fill the body of the text.\par
\inmargin{\hbox{abc}}
Some text to fill the body of the text\par
\stoptext

produces an underfull hbox:

Underfull \hbox (badness 1210) in paragraph at lines 6--6
 [][][]

the same happens with the line: \inmargin{abc}
Underfull \hbox (badness 1210) in paragraph at lines 6--6
 []<9: lmroman12-bold @ 12.0pt> abc[]

addition of \hfil or \hss doesn’t help.

My conclusion: this is somewhere located in \inmargin. It would be 
nice if this can be resolved, because in procession some 500 
\inmargin’s the log is cluttered with all these messages.


dr. Hans van der Meer




___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] inmargin produces underfull hbox

2018-09-07 Thread Hans van der Meer
This minimal example:
\starttext
\currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank
Testing \ConTeXt macro\ \tex{inmargin}
\blank
Some text to fill the body of the text.\par
\inmargin{\hbox{abc}}
Some text to fill the body of the text\par
\stoptext

produces an underfull hbox:

Underfull \hbox (badness 1210) in paragraph at lines 6--6
 [][][]

the same happens with the line: \inmargin{abc}
Underfull \hbox (badness 1210) in paragraph at lines 6--6
 []<9: lmroman12-bold @ 12.0pt> abc[]

addition of \hfil or \hss doesn’t help.

My conclusion: this is somewhere located in \inmargin. It would be nice if this 
can be resolved, because in procession some 500 \inmargin’s the log is 
cluttered with all these messages.

dr. Hans van der Meer


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___