diff options
author | Marius <mariausol@gmail.com> | 2012-02-08 23:00:23 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2012-02-08 23:00:23 +0200 |
commit | 7b47df8cbaae8690f14d306c633b2b2db053f66a (patch) | |
tree | a4cb6a0ebb8ac21a14558c258949d3c7da33dd25 /tex/context/base/anch-snc.mkiv | |
parent | 5fce2a5267a603c8caf76880cdfb839d77ec64f0 (diff) | |
download | context-7b47df8cbaae8690f14d306c633b2b2db053f66a.tar.gz |
beta 2012.02.08 21:04
Diffstat (limited to 'tex/context/base/anch-snc.mkiv')
-rw-r--r-- | tex/context/base/anch-snc.mkiv | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/tex/context/base/anch-snc.mkiv b/tex/context/base/anch-snc.mkiv index 32222bb50..c7448f3a1 100644 --- a/tex/context/base/anch-snc.mkiv +++ b/tex/context/base/anch-snc.mkiv @@ -17,6 +17,7 @@ \unprotect +\ifx\s!num \undefined \def\s!num {num} \fi \ifx\s!set \undefined \def\s!set {set} \fi \ifx\s!reset \undefined \def\s!reset {reset} \fi \ifx\s!preset \undefined \def\s!preset {preset} \fi @@ -155,10 +156,14 @@ % % \appendtoks \flushsyncpositions \to \neverypar -\protect \endinput +\protect + +\continueifinputfile{anch-snc.mkiv} \starttext +\setupbodyfont[dejavu] + \definesyncpositions[1] \startuseMPgraphic{sync} @@ -185,9 +190,14 @@ \setupbackgrounds[page][background=tempoverlay] -\syncposition[1][1] \input ward \endgraf -\syncposition[1][2] \input ward \endgraf -\syncposition[1][3] \input ward \endgraf -\syncposition[1][4] \input ward \endgraf +\dorecurse {100} { + + \startchapter[title={Test #1}] + \syncposition[1][1] \dorecurse{10}{\input ward \endgraf} + \syncposition[1][2] \dorecurse{4}{\input ward \endgraf} + \syncposition[1][3] \dorecurse{7}{\input ward \endgraf} + \syncposition[1][4] \dorecurse{3}{\input ward \endgraf} + \stopchapter +} \stoptext |