bug with \definepagebreak in latest beta?
Hans, truly empty pages before parts and chapters (as explained at http://wiki.contextgarden.net/Titles#Truly_empty_pagebreak_before_chapters worked with the previous beta (and in stable), but they don't work with the latest one: \definepagebreak[numberpagebreak][yes,header,footer,right] \setuphead[part][page=numberpagebreak,placehead=yes] \setuphead[chapter][page=numberpagebreak] \setuppagenumbering[alternative=doublesided,location=inmargin] \starttext \completecontent \part{Part} \chapter{Chapter} a \part{Part} \chapter{Chapter} b \stoptext Has been \definepagebreak replaced with a new command or is this a bug? Many thanks for your help, Pablo -- http://www.ousia.tk
Am 19.02.2012 um 21:29 schrieb Pablo Rodríguez:
Hans,
truly empty pages before parts and chapters (as explained at http://wiki.contextgarden.net/Titles#Truly_empty_pagebreak_before_chapters worked with the previous beta (and in stable), but they don't work with the latest one:
\definepagebreak[numberpagebreak][yes,header,footer,right] \setuphead[part][page=numberpagebreak,placehead=yes] \setuphead[chapter][page=numberpagebreak] \setuppagenumbering[alternative=doublesided,location=inmargin] \starttext \completecontent \part{Part} \chapter{Chapter} a \part{Part} \chapter{Chapter} b \stoptext
Has been \definepagebreak replaced with a new command or is this a bug?
page-txt.mkvi: \installpagebreakmethod \v!header - {\doifnot{\namedlayoutelementparameter\v!header\c!state}\v!stop{\setuplayoutelement[\c!state=\v!empty]}} + {\doifnot{\namedlayoutelementparameter\v!header\c!state}\v!stop{\setuplayoutelement[\v!header][\c!state=\v!empty]}} \installpagebreakmethod \v!footer - {\doifnot{\namedlayoutelementparameter\v!footer\c!state}\v!stop{\setuplayoutelement[\c!state=\v!empty]}} + {\doifnot{\namedlayoutelementparameter\v!footer\c!state}\v!stop{\setuplayoutelement[\v!footer][\c!state=\v!empty]}} Wolfgang
On 02/19/2012 09:39 PM, Wolfgang Schuster wrote:
Am 19.02.2012 um 21:29 schrieb Pablo Rodríguez:
[...] Has been \definepagebreak replaced with a new command or is this a bug?
page-txt.mkvi:
\installpagebreakmethod \v!header - {\doifnot{\namedlayoutelementparameter\v!header\c!state}\v!stop{\setuplayoutelement[\c!state=\v!empty]}} + {\doifnot{\namedlayoutelementparameter\v!header\c!state}\v!stop{\setuplayoutelement[\v!header][\c!state=\v!empty]}}
\installpagebreakmethod \v!footer - {\doifnot{\namedlayoutelementparameter\v!footer\c!state}\v!stop{\setuplayoutelement[\c!state=\v!empty]}} + {\doifnot{\namedlayoutelementparameter\v!footer\c!state}\v!stop{\setuplayoutelement[\v!footer][\c!state=\v!empty]}}
Many thanks for your ultra-fast fix, Wolfgang. Pablo -- http://www.ousia.tk
participants (2)
-
Pablo Rodríguez
-
Wolfgang Schuster