[NTG-context] critical fun

Hans Hagen j.hagen at xs4all.nl
Thu Jan 6 20:00:03 CET 2022


Hi,

Maybe this is of interest to critical users:

\setupsynchronize [paralleltext] [color=darkblue]
% \setupsynchronize [paralleltext] [style=\tx,color=darkred]
% \setupsynchronize [paralleltext] [style=\txx,color=darkgreen]

\starttext

\dorecurse{10}{%
     \paralleltext
         {[een allereerste zinnetje]}
         {[een tweede      zinnetje]}%
     \space
     \paralleltext
         {[een derde zin]}
         {[een vierde zinnetje]}
     \space
} \removeunwantedspaces
\par test line \page

\paralleltext
     {[\ignorespaces\samplefile{tufte}\removeunwantedspaces]}
     {[\samplefile{ward}\removeunwantedspaces]}%
\par test line \page

\paralleltext
     {[\ignorespaces\samplefile{tufte}\removeunwantedspaces]}
     {[\ignorespaces\samplefile{tufte}\removeunwantedspaces]}%
\par test line \page

\paralleltext
     {[\ignorespaces\samplefile{ward}\removeunwantedspaces]}%
     {[\ignorespaces\samplefile{tufte}\removeunwantedspaces]}
\par test line \page

\stoptext

Kind of experimental and semi-automatic (triggered by question from 
collegue). I want to add some larger text sync points (just mark 
locations in two running texts) stuff but i have no examples.

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list