summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/mkiv/page-flw.mkiv
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-04-19 23:04:15 +0000
committerKarl Berry <karl@freefriends.org>2017-04-19 23:04:15 +0000
commitf74161ca4e7eb3c5af9afcbe92522ae3b58987c1 (patch)
tree3c30a13df5ac7968195c85070a2b074578e669d2 /Master/texmf-dist/tex/context/base/mkiv/page-flw.mkiv
parent1d5a55ac8f5506a7ae9cfca52f4b588182e199d4 (diff)
context beta/cont-tmf.zip (Apr 16 12:55)
git-svn-id: svn://tug.org/texlive/trunk@43931 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/page-flw.mkiv')
-rw-r--r--Master/texmf-dist/tex/context/base/mkiv/page-flw.mkiv41
1 files changed, 40 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/page-flw.mkiv b/Master/texmf-dist/tex/context/base/mkiv/page-flw.mkiv
index 56fe32e5b9e..688791fe5e6 100644
--- a/Master/texmf-dist/tex/context/base/mkiv/page-flw.mkiv
+++ b/Master/texmf-dist/tex/context/base/mkiv/page-flw.mkiv
@@ -75,7 +75,7 @@
\fi
\to \everydefinetextflow
-\let\b_page_textflow_box\zerocount
+\newcount\b_page_textflow_box
\def\textflowcollector#1%
{\csname\??textflowbox#1\endcsname}
@@ -141,3 +141,42 @@
\endgroup}
\protect \endinput
+
+% \setuppapersize [A6]
+% \setupbodyfont [pagella, 12pt]
+%
+% \definetextflow [even] [width=\textwidth]
+% \definetextflow [odd] [width=\textwidth]
+%
+% \starttextflow [even] \dorecurse{15}{\input bryson} \stoptextflow
+% \starttextflow [odd] \dorecurse {5}{\input knuth } \stoptextflow
+%
+% \starttext
+%
+% \doloop {
+% \ifodd\realpageno
+% \doiftextflowelse{odd} {
+% \bgroup
+% \vsize\dimexpr\textheight-\strutdp\relax
+% \flushtextflow{odd}
+% \egroup
+% } {
+% \null
+% }
+% \page
+% \else
+% \doiftextflowelse{even} {
+% \bgroup
+% \vsize\dimexpr\textheight-\strutdp\relax
+% \flushtextflow{even}
+% \egroup
+% } {
+% \null
+% }
+% \page
+% \fi
+% \doiftextflowelse{even}\donothing{\doiftextflowelse{odd}\donothing\exitloop}
+% }
+%
+% \stoptext
+