back cover of booklet
Hi, I have found following example to set back cover of a booklet using imposition on the wiki \unprotect \startvariables all beforequadruple: beforequadruple \stopvariables \installpagebreakhandler \v!beforequadruple {\ifdoublesided \!!counta\realpageno \!!countb\realpageno \advance\!!counta 5 \divide\!!counta 4 \multiply\!!counta 4 \advance\!!countb 2 \advance\!!counta-\!!countb \executepagebreakhandler\v!yes \dorecurse\!!counta{\executepagebreakhandler\v!empty}% \fi} \protect \setuppapersize[A5][A4] \setuparranging[2UP,rotated,doublesided] \setuppagenumbering[alternative=doublesided] \starttext \subject Front Cover \dorecurse{10}{\input tufte \par} \page[beforequadruple] Imprint \page Back Cover \stoptext Unfortunately this does not work anymore nor in MKII or MKIV. Can please someone give me some actual solution? Thanks. mtx-context | run 1: luatex --fmt="/home/honza/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en" --jobname="test" --lua="/home/honza/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./test.tex" --c:input="./test.tex" --c:kindofrun=1 --c:maxnofruns=8 "cont-yes.mkiv" This is LuaTeX, Version beta-0.75.0-2013031401 (rev 4589) \write18 enabled. (/home/honza/context/tex/texmf-context/tex/context/base/cont-yes.mkiv ConTeXt ver: 2013.03.17 13:59 MKIV fmt: 2013.3.19 int: english/english system > 'cont-new.mkiv' loaded (/home/honza/context/tex/texmf-context/tex/context/base/cont-new.mkiv system > beware: some patches loaded from cont-new.mkiv ) system > files > jobname 'test', input 'test', result 'test' fonts > latin modern fonts are not preloaded languages > language 'en' is active (test.tex ! Undefined control sequence. log system > tex > error on line 18 in file test.tex: Undefined control sequence ... <argument> \??pagebreakmethod \v!beforequadruple \setvalue #1->\expandafter \def \csname #1 \endcsname \installpagebreakhandler ...\??pagebreakmethod #1} {#2} l.18 \fi} ? x With best regards Jan
participants (1)
-
Jan Pohanka