The following code creates an extra page at the end of the pdf for a total of 3 pages: \setuppagenumbering[location=,alternative=doublesided] \setuppagenumber[state=stop] \starttext %\startfrontmatter \input knuth %\stopfrontmatter \stoptext But this code doesn't create that third page: \setuppagenumbering[location=,alternative=doublesided] \setuppagenumber[state=stop] \starttext \input knuth \stoptext I need to handle the creation of my book using frontmatter, etc. parts and don't want to create that unneeded page at the end. Tom Benjey 717-258-9733 voice 717-243-0074 fax Twitter: @TomBenjey
On Tue, Apr 06 2010, Tom wrote:
The following code creates an extra page at the end of the pdf for a total of 3 pages:
\setuppagenumbering[location=,alternative=doublesided] \setuppagenumber[state=stop]
\starttext %\startfrontmatter \input knuth %\stopfrontmatter \stoptext
It seems, that you're using mk2. There is no such problem with mk4. Here a workaround: \setuppagenumbering[location=,alternative=doublesided] \setuppagenumber[state=stop] \starttext \startfrontmatter \input knuth \stopfrontmatter \page[stop] \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
It now works on TexLive, which I assume is mk2. The Context manual doesn't seem to include the stop option for \page. Tom Benjey 717-258-9733 voice 717-243-0074 fax Twitter: @TomBenjey -----Original Message----- From: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl] On Behalf Of Peter Münster Sent: Tuesday, April 06, 2010 1:23 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] Extra page created at end of document On Tue, Apr 06 2010, Tom wrote:
The following code creates an extra page at the end of the pdf for a total of 3 pages:
\setuppagenumbering[location=,alternative=doublesided] \setuppagenumber[state=stop]
\starttext %\startfrontmatter \input knuth %\stopfrontmatter \stoptext
It seems, that you're using mk2. There is no such problem with mk4. Here a workaround: \setuppagenumbering[location=,alternative=doublesided] \setuppagenumber[state=stop] \starttext \startfrontmatter \input knuth \stopfrontmatter \page[stop] \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ____________________________________________________________________________ _______ 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 ____________________________________________________________________________ _______
participants (2)
-
Peter Münster
-
Tom