Am 21.11.2012 23:41, schrieb ntg-context-requ...@ntg.nl:
What you are looking for is text streams. They are not yet fully
functional in mkiv. But as long as you need the streams to appear
as columns on the same page, as seems to be the case, there is a
cheap workaround using the*tabulate* environment (see below).
The great thing about \{start,stop}tabulate is that it allows for
page breaks inside paragraphs of arbitrary length.
Regards
Philipp
?????????????????????????????????????????????????????????????????
\newcount\progresscounter \progresscounter0
\def\placeprogresscounter{%
%% caution when using dynamic content: check
%% for first pass to avoid multiple executions
\iftrialtypesetting42\else
\advance\progresscounter\plusone
\the\progresscounter
\fi
}
\starttext
\starttabulate[|r|p|p|]
\NC \placeprogresscounter
\NC \language[deo] Hallo, Welt!
\NC \language[en] \input knuth
\NC\NR
\HL % ????????????????????????%
\NC \placeprogresscounter
\NC \language[deo] N?chster Abschnitt!
\NC \language[en] \input ward
\NC\NR
\stoptabulate
\stoptext
Thank you. Why not simply a table without any workaround?
\starttabulate[|p|p|]
\NC \language[deo] Hallo, Welt!
\NC \language[en] \input knuth
\NC\NR
\NC \language[deo] Nächster Abschnitt!
\NC \language[en] \input ward
\NC\NR
\stoptabulate
Huseyin
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________