On 02/03/2013 04:56 AM, Rogers,
Michael K wrote:
On Feb 1, 2013, at 6:16 PM, Ingo Hohmann <context@ingohohmann.de> wrote:
<...>
Here's a way to process the input lines. If there's a counter that counts the line number, there would be another way; but I couldn't find out that there was a counter. There may be better ways anyway.
\define\FirstLine{\let\myLine\SecondLine\sc}
\define\SecondLine{\let\myLine\OtherLine\bf}
\define\OtherLine{\tf}
\definelines[doMyLines][command=\myLine]
\def\startMyLines{\let\myLine\FirstLine\startdoMyLines}
\def\stopMyLines{\stopdoMyLines}
As I said that works, but while trying to understand this, I
found that the documentation for \definelines doesn't
mention the "command=" option. On the other hand it does
mention "align=" and this doesn't work. Neither does
\setuplines.
I always get "undefined control sequence".