Changes

Jump to navigation Jump to search
73 bytes removed ,  00:32, 20 March 2021
no edit summary
== interesting example of Hans using \determinenoflines. ==
Unfortunately, it is not compiled in this wiki.
If you run the following code with the latest LMTX(ConTeXt ver: 2021.03.17 LMTX), then you will see the lines.
<texcode>
\starttext
%\fillinrules[n=\determinednoflines{\getbuffer},
%width=fit]{first}
%\fillinrules[n=\determinednoflines{\getbuffer},
%width=broad]{first}
%\fillinrules[n=\determinednoflines{\getbuffer},
%width=3cm]{first}
\fillinrules[n=\determinednoflines{\getbuffer},
width=fit]{first}\fillinrules[n=\determinednoflines{\getbuffer}, width=broad]{first}\fillinrules[n=\determinednoflines{\getbuffer}, width=3cm,distance=.5em,separator=:]{first}
\fillinrules[n=\determinednoflines{\getbuffer}]{first}{last}
<context mode=lmtx>
\def\determinednoflines#1%
{\localcontrolled{beginlocalcontrol\determinenoflines{#1}}\endlocalcontrol\noflines}
\startbuffer
\input tufte
\stopbuffer
 \startTEXpage[width=15cm]
%\fillinrules[n=\determinednoflines{\getbuffer},
% width=fit]{first}
%\fillinrules[n=\determinednoflines{\getbuffer},
% width=broad]{first}
%\fillinrules[n=\determinednoflines{\getbuffer},
% width=3cm]{first}%\fillinrules[n=\determinednoflines{\getbuffer},% width=3cm,distance=.5em,separator=:]{first}
\fillinrules[n=\determinednoflines{\getbuffer}]{first}{last}
\stopTEXpage
\stopTEXpage
</context>
3

edits

Navigation menu