* bug with \definepagebreak in latest beta?
@ 2012-02-19 20:29 Pablo Rodríguez
2012-02-19 20:39 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodríguez @ 2012-02-19 20:29 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bug with \definepagebreak in latest beta?
2012-02-19 20:29 bug with \definepagebreak in latest beta? Pablo Rodríguez
@ 2012-02-19 20:39 ` Wolfgang Schuster
2012-02-19 20:59 ` Pablo Rodríguez
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2012-02-19 20:39 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Hans Hagen
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bug with \definepagebreak in latest beta?
2012-02-19 20:39 ` Wolfgang Schuster
@ 2012-02-19 20:59 ` Pablo Rodríguez
0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodríguez @ 2012-02-19 20:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-02-19 20:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-19 20:29 bug with \definepagebreak in latest beta? Pablo Rodríguez
2012-02-19 20:39 ` Wolfgang Schuster
2012-02-19 20:59 ` Pablo Rodríguez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).