Re: [NTG-context] Expert version: How to make empty pages by default empty?
At 10:05 19/09/2003 +0200, you wrote:
Hi Steffen,
\definepagebreak [chapter] [yes,header,right]
\definepagebreak [chapter] [empty,header,right] since yes+right in your case equals right; think of yes yes yes == yes and right right right ... being notthing when already on right previous versions of context used to do a more hard coded pagebreak at section blocks (but i got so many complaints about that that i softened it) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
Hi Hans,
Hans Hagen
\definepagebreak [chapter] [empty,header,right]
could you explain in a few words what these keywords mean and how they should be used? I can imagine what "right" is doing. Patrick -- Silent is the goldfish in its bowl
At 15:18 19/09/2003 +0200, you wrote:
Hi Hans,
Hans Hagen
writes: \definepagebreak [chapter] [empty,header,right]
could you explain in a few words what these keywords mean and how they should be used? I can imagine what "right" is doing.
empty forces an empty page header nils the header line (which empty does anyway) right makes sure that we end up on a right page Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
Hi again,
\definepagebreak [chapter] [empty,header,right]
I don't get it: ================================================== \definepagebreak [chapter] [empty,header,right] \setuphead [chapter] [page=chapter, ] \setuppagenumbering[alternative=doublesided] \setupsectionblock[frontmatter][page=chpater] \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \chapter {test} \dorecurse{10}{\input tufte } \chapter {test} \dorecurse{10}{\input tufte } \chapter {test} \dorecurse{10}{\input tufte } \stopbodymatter \stoptext ================================================== gives me a 19 page document. page contents 1 empty 2 empty 3 pagenumber, toc 4 pagenumber 5 empty 6 empty 7 pagenumber, text ... 17 pagenumber, text 18 pagenumber 19 pagenumber The only pages I understand is 7--17. Why isn't the toc placed on page one? Why is the page 4 headed with the pagenumber? What is page 18 and 19 doing in the pdf file? Patrick
participants (2)
-
Hans Hagen
-
Patrick Gundlach