[NTG-context] back cover of booklet

Jan Pohanka xhpohanka at gmail.com
Wed Jun 12 09:01:16 CEST 2013


I have found following example to set back cover of a booklet using 
imposition on the wiki


\startvariables    all
   beforequadruple: beforequadruple

\installpagebreakhandler \v!beforequadruple
      \advance\!!counta 5
      \divide\!!counta 4
      \multiply\!!counta 4
      \advance\!!countb 2




\subject Front Cover

\dorecurse{10}{\input tufte \par}




Back Cover


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 
--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.

ConTeXt  ver: 2013.03.17 13:59 MKIV  fmt: 2013.3.19  int: english/english

system          > 'cont-new.mkiv' loaded
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
! Undefined control sequence.
system          > tex > error on line 18 in file test.tex: Undefined 
control sequence ...

<argument> \??pagebreakmethod \v!beforequadruple

\setvalue #1->\expandafter \def \csname #1
\installpagebreakhandler ...\??pagebreakmethod #1}
l.18    \fi}

? x

With best regards

More information about the ntg-context mailing list