Arthur Reutenauer <>
26. November 2016 um 00:14
1. Streams work in MkIV
2. The MkIV version has a command to set sync points.

   That’s \pushoutputstreams, I presume.
Yes, you can use it to create paragraphs of equal height in different streams.



    \dorecurse{3}{Line \recurselevel\par}\pushoutputstream
    \dorecurse{6}{Line \recurselevel\par}\pushoutputstream
    \dorecurse{4}{Line \recurselevel\par}\pushoutputstream

    \dorecurse{5}{Line \recurselevel\par}\pushoutputstream
    \dorecurse{2}{Line \recurselevel\par}\pushoutputstream
    \dorecurse{7}{Line \recurselevel\par}\pushoutputstream




Only the mechanism to create pages/columns for the stream content is

   Can you elaborate a bit?  I’m having the following use case in mind:
exactly two streams, one on even-numbered pages, the other on the
odd-numbered ones, with infrequent synchronisations.  The two streams
could run in parallel, facing each other on the spread, and only be
resynchronised every 5 or 10 pages, say.  Is that currently not
You can save text and flush it afterwards but there is no command which
places the content side by side (or in columns). Below is a simple example
but I had to write the splitter myself.


    \dorecurse{10}{\input knuth\par}

    \dorecurse{10}{\input zapf\par}



     \setbox\scratchboxfour\vsplit\scratchboxone to \textheight
     \vbox to \vsize{\box\scratchboxfour\vss}%
     \setbox\scratchboxfive\vsplit\scratchboxtwo to \textheight
     \vbox to \vsize{\box\scratchboxfive\vss}%


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

maillist : /
webpage  : /
archive  :
wiki     :

Reply via email to