Am 12.05.2009 um 15:18 schrieb Piotr Kopszak:

Yes, exactly.

\setuppapersize [S6]
\setuptolerance [soepel,rek]
\setupcolors    [state=start]
\setupfooter    [strut=no]
\setupwhitespace[big]

\setuplayout
  [rightmargin=5cm,
   width=fit,
   margin=0pt,
   edgedistance=1cm,
   footer=4cm,
   footerdistance=1cm,
   header=0cm]

\setuptexttexts  [margin][][\vbox{\flushtextflow{alpha}}]
\setupfootertexts[margin][][\vbox{\flushtextflow{beta}}]
\setupfootertexts        [\vbox{\flushtextflow{gamma}}][]

\definetextflow [alfa]  [width=\rightmarginwidth]
\definetextflow [beta]  [width=\rightmarginwidth]
\definetextflow [gamma] [width=\footerheight]

\starttext

\dorecurse{50}
  {\getrandomnumber{\funny}{0}{8}
   \ifcase\funny \starttextflow[alfa]  \input tufte.tex   \stoptextflow
   \or           \starttextflow[beta]  \input knuth.tex   \stoptextflow
   \or           \starttextflow[gamma] \input materie.tex \stoptextflow
   \or          {\bf   TUFTE}\quad \input tufte   \par
   \or          {\bf   TUFTE}\quad \input tufte   \par
   \or          {\bf   KNUTH}\quad \input knuth   \par
   \or          {\bf   KNUTH}\quad \input knuth   \par
   \or          {\bf MATERIE}\quad \input materie \par
   \else        {\bf MATERIE}\quad \input materie \par
   \fi}

\stoptext

Wolfgang

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to