ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Some extra empty pages, why? And how to get an initial blank page with page number 0?
@ 2005-03-13 15:12 Gerben Wierda
  2005-03-13 17:45 ` Willi Egger
  0 siblings, 1 reply; 2+ messages in thread
From: Gerben Wierda @ 2005-03-13 15:12 UTC (permalink / raw)


Fro my environment:

> %\setuppapersize[B5][B4,landscape]
> \setuppapersize[B5][B5]
> \setupindenting[small]
> \setuplayout[location=doublesided]
> %\setuparranging[2SIDE]
> \setuppagenumbering[alternative=doublesided]
> %
> \usemodule[lettri]
> \def\ClearChapterQuote{\def\ChapterQuote{}}
> \ClearChapterQuote
> \newcommand{\ChQuoteFormat}[1]{\starttext%
>         %\raggedright%
>         \startalignment[left]%
>         \startnarrower[4*left] \noindent{\em #1}%
>         \stopnarrower\stopalignment\stoptext\blank}
> \setuphead[chapter]
>         [page=left,
>         before={\ChQuoteFormat{\ChapterQuote}\noheaderandfooterlines%
>                 \page[right]\blank[2*big]},
>         after={\ClearChapterQuote\blank[3*big]}%
>                 \noheaderandfooterlines]

Without \setuppagenumbering[alternative=doublesided], I get single 
sided layout (even if I have the \setuplayout statement, very 
confusing). If I do add \setuppagenumbering[alternative=doublesided], I 
get the following:

1. Title page
2. Empty
3. Page with only a page numer 1 at the top
4. empty
5. Page with Contents 'chapter'
6. Page with quote
7. First page of chapter

Except for pages 3 and 4 that is how I want it. Why are these pages 
there? They are not there if 
\setuppagenumbering[alternative=doublesided] is left out.

My product file looks like this:

> \startproduct prd_book
> \project project_teoada
>
> \starttext
> \start
> \startstandardmakeup \ss
> \hairline \start
> \switchtobodyfont[20pt]\bf
> \leftaligned{TEOADA}%
> \stop \hairline \blank[line]\rightaligned{Gerben Wierda}%
> \blank[10cm]\start\leftskip=10cm\hairline\stop
> \rightaligned{2005}%
> \stopstandardmakeup
> \stop
>
> \startfrontmatter
>         \completecontent
>         \component c_guide
> \stopfrontmatter
>         \component c_ch1
>         \component c_ch2
>         \component c_ch3
> \startappendices
>        \component c_app1
> \stopappendices
>
> \stoptext
>
> \stopproduct

I have been trying a lot of permutations but so far without luck.

Secondly, when I turn on 2xB5 on one B4 landscape and 2SIDE 
arrangement, I would like to have an initial blank page (with page 
number 0) so I can have my 2SIDE look just like a book would look. I 
have tried to get one with the \page command in various places and with 
various setups, but so far without *any* effect.

I have been using the manual, the wiki and any documentation I have 
been able to find. So far no luck.

Thanks,

G

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-13 17:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-13 15:12 Some extra empty pages, why? And how to get an initial blank page with page number 0? Gerben Wierda
2005-03-13 17:45 ` Willi Egger

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).