feauture request - no numbers on blank pages at chapter's end
Hello list, I don't know if it is only an idiosyncrasy of Polish typography but if a chapter ends with a blank page it should not display its number. It would be very useful if this could be an option (if not a default behaviour) of \setuppagenumbering . It's not a huge problem and I think I will not wait for a solution before sending my next book for printing, but it would be nice if it appeared in the future. Best Piotr -- http://okle.pl
Piotr Kopszak wrote:
Hello list,
I don't know if it is only an idiosyncrasy of Polish typography but if a chapter ends with a blank page it should not display its number. It would be very useful if this could be an option (if not a default behaviour) of \setuppagenumbering . It's not a huge problem and I think I will not wait for a solution before sending my next book for printing, but it would be nice if it appeared in the future.
Isn't this what \page[blank,right] is supposed to do? Best wishes, Taco
It would be handy to avoid inserting \page in this case, I think.
2010/5/20 Taco Hoekwater
Piotr Kopszak wrote:
Hello list,
I don't know if it is only an idiosyncrasy of Polish typography but if a chapter ends with a blank page it should not display its number. It would be very useful if this could be an option (if not a default behaviour) of \setuppagenumbering . It's not a huge problem and I think I will not wait for a solution before sending my next book for printing, but it would be nice if it appeared in the future.
Isn't this what \page[blank,right] is supposed to do?
Best wishes, Taco ___________________________________________________________________________________ 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 ___________________________________________________________________________________
Many thanks for your help!
First the file according to the wiki example. Works if location=footer
in \setuppagenumbering but not when
\definepagebreak
[mychapterpagebreak]
[yes,header,right]
\setuphead
[chapter]
[page=mychapterpagebreak,footer=empty]
\setuppagenumbering[alternative=doublesided,location=margin]
\starttext
\chapter{testA} \dorecurse{10}{\input tufte }
\chapter{testB} \dorecurse{10}{\input tufte }
\chapter{testC} \dorecurse{10}{\input tufte }
\stoptext
Changing \setuphead to
\setuphead[chapter][page={blank,right}]
gets rid of the number on the chapter's title page (which I don't
want) and still leaves it on the left empty page facing the title
page. Not to mention the fact that pagenumbers appear only from page
10.
Piotr
2010/5/20 Wolfgang Schuster
Am 20.05.10 12:53, schrieb Piotr Kopszak:
It would be handy to avoid inserting \page in this case, I think.
\setuphead[chapter][page={blank,right}]
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 ___________________________________________________________________________________
Am 20.05.10 13:21, schrieb Piotr Kopszak:
Many thanks for your help!
First the file according to the wiki example. Works if location=footer in \setuppagenumbering but not when
\definepagebreak [mychapterpagebreak] [yes,header,right]
\setuphead [chapter] [page=mychapterpagebreak,footer=empty] \setuppagenumbering[alternative=doublesided,location=margin]
\starttext \chapter{testA} \dorecurse{10}{\input tufte } \chapter{testB} \dorecurse{10}{\input tufte } \chapter{testC} \dorecurse{10}{\input tufte } \stoptext
Changing \setuphead to
\setuphead[chapter][page={blank,right}]
gets rid of the number on the chapter's title page (which I don't want) and still leaves it on the left empty page facing the title page. Not to mention the fact that pagenumbers appear only from page 10.
This works for your minimal example: \setuphead [chapter] [page={yes,footer,right}, footer=empty] Wolfgang
That's very close indeed. Thanks for putting me on the right track!
What I wanted is rather:
\setuphead
[chapter]
[page={yes,footer,right},
footer=nomarking]
Best
Piotr
2010/5/21 Wolfgang Schuster
Am 20.05.10 13:21, schrieb Piotr Kopszak:
Many thanks for your help!
First the file according to the wiki example. Works if location=footer in \setuppagenumbering but not when
\definepagebreak [mychapterpagebreak] [yes,header,right]
\setuphead [chapter] [page=mychapterpagebreak,footer=empty] \setuppagenumbering[alternative=doublesided,location=margin]
\starttext \chapter{testA} \dorecurse{10}{\input tufte } \chapter{testB} \dorecurse{10}{\input tufte } \chapter{testC} \dorecurse{10}{\input tufte } \stoptext
Changing \setuphead to
\setuphead[chapter][page={blank,right}]
gets rid of the number on the chapter's title page (which I don't want) and still leaves it on the left empty page facing the title page. Not to mention the fact that pagenumbers appear only from page 10.
This works for your minimal example:
\setuphead [chapter] [page={yes,footer,right}, footer=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 ___________________________________________________________________________________
Am 20.05.10 11:07, schrieb Piotr Kopszak:
Hello list,
I don't know if it is only an idiosyncrasy of Polish typography but if a chapter ends with a blank page it should not display its number. It would be very useful if this could be an option (if not a default behaviour) of \setuppagenumbering . It's not a huge problem and I think I will not wait for a solution before sending my next book for printing, but it would be nice if it appeared in the future.
This is mentioned here: http://wiki.contextgarden.net/Titles#Truly_empty_pagebreak_before_chapters You don't \definepagebreak as mentioned in the wiki because \setuphead[chapter][page={header,footer,right}] is also valid. Wolfgang
Yes, I know but even if it was working in all cases (and it is not,
for instace I need pagenumbers in the margin and it didn't work in
this case) it looks really, really ugly. Why not wrap something like
this in a definition and give users an option?
2010/5/20 Wolfgang Schuster
Am 20.05.10 11:07, schrieb Piotr Kopszak:
Hello list,
I don't know if it is only an idiosyncrasy of Polish typography but if a chapter ends with a blank page it should not display its number. It would be very useful if this could be an option (if not a default behaviour) of \setuppagenumbering . It's not a huge problem and I think I will not wait for a solution before sending my next book for printing, but it would be nice if it appeared in the future.
This is mentioned here: http://wiki.contextgarden.net/Titles#Truly_empty_pagebreak_before_chapters
You don't \definepagebreak as mentioned in the wiki because
\setuphead[chapter][page={header,footer,right}]
is also valid.
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 ___________________________________________________________________________________
Am 20.05.10 12:58, schrieb Piotr Kopszak:
Yes, I know but even if it was working in all cases (and it is not, for instace I need pagenumbers in the margin and it didn't work in this case) it looks really, really ugly. Why not wrap something like this in a definition and give users an option?
Make a example and i can try to provide a solution. Wolfgang
participants (3)
-
Piotr Kopszak
-
Taco Hoekwater
-
Wolfgang Schuster