Re: [NTG-context] \limitatefirstline (or slave to the wiki)

2005-09-12 Thread Peter Rolf
Hi all, Hans Hagen wrote: Peter Rolf wrote: another one \def\limitatefirstline#1#2#3% {\hbox\bgroup\strut \setbox\scratchbox\hbox{\begstrut#1\endstrut}% \ifdim\wd\scratchbox#2\relax \setbox\scratchbox\hbox{#3}% \hsize#2\relax \advance\hsize-\wd\scratchbox

Re: [NTG-context] \limitatefirstline (or slave to the wiki)

2005-09-11 Thread Peter Rolf
Peter Rolf wrote: Hi all, I've tested the latest version of \limitatefirstline and it still doesn't work as expected. This is really a complex story (problem). - the clip mechanism cuts off the lowest part of some special chars (clipping graphics is easy, but I don't understand what

Re: [NTG-context] \limitatefirstline (or slave to the wiki)

2005-09-11 Thread Hans Hagen
Peter Rolf wrote: Hi all, I've tested the latest version of \limitatefirstline and it still doesn't work as expected. This is really a complex story (problem). - the clip mechanism cuts off the lowest part of some special chars (clipping graphics is easy, but I don't understand what happens

Re: [NTG-context] \limitatefirstline (or slave to the wiki)

2005-09-11 Thread Peter Rolf
Hans Hagen wrote: Peter Rolf wrote: Hi all, I've tested the latest version of \limitatefirstline and it still doesn't work as expected. This is really a complex story (problem). - the clip mechanism cuts off the lowest part of some special chars (clipping graphics is easy, but I don't

Re: [NTG-context] \limitatefirstline (or slave to the wiki)

2005-09-11 Thread Hans Hagen
Peter Rolf wrote: \ifdim\wd\plusone\dimexpr\hsize-2ex\relax% tolerance for successful breaking \clip[\c!width=\hsize,\c!height=\struttotal]{\ruledhbox{\begstrut#1\endstrut}}% must be #1 here This may fail, since it #1 may have more than one line, and this whole

Re: [NTG-context] \limitatefirstline (or slave to the wiki)

2005-09-11 Thread Hans Hagen
Peter Rolf wrote: another one \def\limitatefirstline#1#2#3% {\hbox\bgroup\strut \setbox\scratchbox\hbox{\begstrut#1\endstrut}% \ifdim\wd\scratchbox#2\relax \setbox\scratchbox\hbox{#3}% \hsize#2\relax \advance\hsize-\wd\scratchbox

[NTG-context] \limitatefirstline (or slave to the wiki)

2005-09-09 Thread Peter Rolf
Hi all, I've tested the latest version of \limitatefirstline and it still doesn't work as expected. This is really a complex story (problem). - the clip mechanism cuts off the lowest part of some special chars (clipping graphics is easy, but I don't understand what happens here) - text is