Re: [NTG-context] Expert version: How to make empty pages by default empty?

2003-09-19 Thread Steffen Wolfrum
Hans Hagen <[EMAIL PROTECTED]> wrote:

 At 10:05 19/09/2003 +0200, you wrote:
 >Hi Steffen,


 > > \definepagebreak
 > > [chapter]
 > > [yes,header,right]
 \definepagebreak
[chapter]
[empty,header,right]


That doesn't work!

When changed the minimal example to...

\definepagebreak
   [chapter]
   [empty,header,right]
\setuphead
   [chapter]
   [page=chapter,]
\setuppagenumbering[alternative=doublesided]

\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

... we have page numbers on (empty) page number 4, 18 and 19!

Plus there are two strange empty empty pages before the TOC?!

Steffen
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Expert version: How to make empty pages by default empty?

2003-09-19 Thread Hans Hagen
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 | [EMAIL PROTECTED]
  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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Expert version: How to make empty pages by default empty?

2003-09-19 Thread Holger Schöner
Hi Steffen,

I could not confirm the following in the ConTeXt source code (could not find
the definition), but I might be remembering a similar case, where I wanted
special setups for chapters and wondered why the contents were shown
differently. As far as I remember, I solved it by using \setuphead not only
for chapter, but also for title (and/or some others?), so this might help
for your problem as well ...

For some reason the example you provided does not work at all for me
(there is no page break before chapters; perhaps my ConTeXt is too
old), so I'm sorry, I could not test this suggestion.

On Thu, 18 Sep 2003, Steffen Wolfrum wrote:
> while Patrick Gundlach could provide me a solution for all chapters in one file
> there still is no idea how to do it within the project structure.
>
> See for example the following:
> The generated empty pages
> after the TOC (page 2), and after the last chapter (14 and 15)
> all have pagenumbers.
>
> Quite ugly.
>
> How to get rid of them?
> How to make empty pages by default empty?
>
> Steffen
>
>
> Minimal Example:
>
> \definepagebreak
> [chapter]
> [yes,header,right]
>
> \setuphead
>[chapter]
>[page=chapter,
> ]
>
> \setuppagenumbering[alternative=doublesided]
> \setupsectionblock[frontmatter][page=chapter] % doesn't work
>
> \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

-- 
Holger F. Schoener  TU Berlin; Dept. IV: EE and Computer Science
[EMAIL PROTECTED]   http://www.cs.tu-berlin.de/~hfsch/
Rooms FR2525Tel: +49-30-314-73115, Fax: -73121
Office FR 2-1   Franklinstr. 28/29, D-10587 Berlin, Germany


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Expert version: How to make empty pages by default empty?

2003-09-18 Thread Steffen Wolfrum
Hi Hans (probably the only relevant recipient),

while Patrick Gundlach could provide me a solution for all chapters in one file
there still is no idea how to do it within the project structure.
See for example the following:
The generated empty pages
after the TOC (page 2), and after the last chapter (14 and 15)
all have pagenumbers.
Quite ugly.

How to get rid of them?
How to make empty pages by default empty?
Steffen

Minimal Example:

\definepagebreak
   [chapter]
   [yes,header,right]
\setuphead
  [chapter]
  [page=chapter,
]
\setuppagenumbering[alternative=doublesided]
\setupsectionblock[frontmatter][page=chapter] % doesn't work
\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
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context