From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/18907 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: Some extra empty pages, why? And how to get an initial blank page with page number 0? Date: Sun, 13 Mar 2005 18:45:55 +0100 Message-ID: <42347C53.4030200@boede.nl> References: <685ddcd53f731c75a330016baf3f8650@rna.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010806040303080700090409" X-Trace: sea.gmane.org 1110736113 29653 80.91.229.2 (13 Mar 2005 17:48:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 13 Mar 2005 17:48:33 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 13 18:48:32 2005 Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DAXCV-0007M8-Ab for gctc-ntg-context-518@m.gmane.org; Sun, 13 Mar 2005 18:48:27 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 48CF51289D; Sun, 13 Mar 2005 18:49:21 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27999-06; Sun, 13 Mar 2005 18:49:21 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AAA3A1289B; Sun, 13 Mar 2005 18:45:57 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 92D551289B for ; Sun, 13 Mar 2005 18:45:56 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28060-02-3 for ; Sun, 13 Mar 2005 18:45:55 +0100 (CET) Original-Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by ronja.ntg.nl (Postfix) with ESMTP id 91C1012867 for ; Sun, 13 Mar 2005 18:45:55 +0100 (CET) Original-Received: from [192.168.0.193] (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by smtp-vbr7.xs4all.nl (8.12.11/8.12.11) with ESMTP id j2DHjtLx071729 for ; Sun, 13 Mar 2005 18:45:55 +0100 (CET) (envelope-from w.egger@boede.nl) User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <685ddcd53f731c75a330016baf3f8650@rna.nl> X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl X-MailScanner-From: ntg-context-bounces@ntg.nl X-MailScanner-To: gctc-ntg-context-518@m.gmane.org Xref: news.gmane.org gmane.comp.tex.context:18907 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:18907 This is a multi-part message in MIME format. --------------010806040303080700090409 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Gerben, I puzzeled with your project code. First you are not allowed to use \starttext \stoptext in a definition. Your definitione interferes with the chapter mechnism. So more knowledge is necessary which I do not have at the moment. in the "before" option you say \page=right, seems to create a problem. If you want to start a page with blank lines you nee to insert a \strut Please see the attached file KR Willi Gerben Wierda wrote: > 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 > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context --------------010806040303080700090409 Content-Type: text/plain; name="project_teoada.tex" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="project_teoada.tex" % Project Gerben Wierda % COntext file % filename: project_teoada.tex %\setuppapersize[B5][B4,landscape] \setuppapersize[B5][B5] \setupindenting[small] % \setuplayout[location=doublesided] %\setuparranging[2SIDE] \setuppagenumbering[alternative=doublesided] % \usemodule[lettri,bib] \def\ChapterQuote{} \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% \strut\blank[2*big]}, % \page[right] after={\ClearChapterQuote\blank[3*big]% \noheaderandfooterlines}] \startproject project_teoada \product prd_book \nomorefiles \stopproject In a second file: Project Gerben Wierda COntext file filename: prd_book.tex \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[level=section] \page \component c_guide \stopfrontmatter \startbodymatter \ChapterQuote{Here comes a chapter quote} \chapter{the first Chapter} \section{All components listed} \startitemize[n] \item \type{\component c_ch1} \item \type{\component c_ch2} \item \type{\component c_ch3} \stopitemize \stopbodymatter \startappendices \chapter{Appendix-chapter} \section{The appendix component} \startitemize[n] \item \type{\component c_app1} \stopitemize \stopappendices \stoptext \stopproduct --------------010806040303080700090409 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --------------010806040303080700090409--