From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94102 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Page number woes Date: Tue, 15 Mar 2016 11:22:12 +0100 Message-ID: <56E7E254.1080907@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9016628743698219606==" X-Trace: ger.gmane.org 1458037378 12868 80.91.229.3 (15 Mar 2016 10:22:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Mar 2016 10:22:58 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 15 11:22:46 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1afm7d-0000eG-Jm for gctc-ntg-context-518@m.gmane.org; Tue, 15 Mar 2016 11:22:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 255EE7FDF; Tue, 15 Mar 2016 11:22:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W5eoPZbSFr-H; Tue, 15 Mar 2016 11:22:27 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 55DAA8026; Tue, 15 Mar 2016 11:22:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 708577FDF for ; Tue, 15 Mar 2016 11:22:26 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y0Pm06DbkNjq for ; Tue, 15 Mar 2016 11:22:25 +0100 (CET) Original-Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id E148D7F83 for ; Tue, 15 Mar 2016 11:22:15 +0100 (CET) Original-Received: by mail-wm0-f43.google.com with SMTP id p65so137343851wmp.1 for ; Tue, 15 Mar 2016 03:22:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=zXxfZYDgstPFyE22aE3SoaoaqRsUx9olUFTt/+hEoH0=; b=oZDKJ7QSMrdtxpSPl51RE+Bw3I5GaXiQb/gWsPThqeauVs4UbbcSGOtWhsiJC7DmYI 9roUCIYSSZZRVmP72u4tTgXev1kWQtNYVBAgth5f33V4lrc2yDzJ1+ewNo8nDjVR3Osf o11n4wzIsDakMJYxa06Yke6z3JHLIwipfu9peBcDgP0Qlcb14w217r3KXOngTQzIrO1I CvbcHYaapAamYw2pp61ZZiN0O70+++mqzgWzii1isv9iiXOiiTGDrJub6b4D7ENc5Px1 A4Kljxge/kZyoJdrvtrTiGnrXSwwQvaifGPGlThBumTlRmzDO2d5TyELK7BB9x2yESOy BIpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=zXxfZYDgstPFyE22aE3SoaoaqRsUx9olUFTt/+hEoH0=; b=mMJSOHY5dshkI8grbvJYALAqtPcifTS+KliUVKpJ/AkujKvbMhHp7c4RMeipx9ypbe quclFLVbEuB77cIWiMixtP5iW/XR0VLpTO8t97Oj1uBo+NkBkey7//lSV2pwdDrVkZ3n jckMiZpq31JqmVzmj3OyH/JlLd2q2A8wApaZNR4ZRcjSZ1RXIfC9OVZHBPIK7I7ggJ6t F/5g3bQeLNJHSPM1DgrT34RAEqzmuoYG3IQq1ChPD+prp8pJPZBFpjFPqwENYVWJaC9G CFa8Ef4c5cQFkoQAPav/deY09ETtfLahPVTXuv1M98f3hVDwZiuXOb02IoX7tcGaCEs9 ghgA== X-Gm-Message-State: AD7BkJIFN8FExduMM7KW+4W+PlucCIH3FWb4CFmKYB1J38iD7jIkfZ5Myz1Q7yE10HDPqQ== X-Received: by 10.28.129.7 with SMTP id c7mr21759680wmd.11.1458037335531; Tue, 15 Mar 2016 03:22:15 -0700 (PDT) Original-Received: from keima.localdomain (x2f30901.dyn.telefonica.de. [2.243.9.1]) by smtp.gmail.com with ESMTPSA id ks5sm26370341wjb.13.2016.03.15.03.22.14 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Mar 2016 03:22:14 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:94102 Archived-At: This is a multi-part message in MIME format. --===============9016628743698219606== Content-Type: multipart/alternative; boundary="------------040705030103000404060704" This is a multi-part message in MIME format. --------------040705030103000404060704 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Mari Voipio > 14. M=C3=A4rz 2016 um 15:43 > Greetings all! > > I have a book setup that worked perfectly as long as the inside cover > was only one page long. But then we added information to the inside > cover and had to split the information on two pages. The so called > inside cover works fine, the TOC works fine, but the main text part > (starting with Intro) begins now on page 2 when it should be on page > 1. And this happens even when the TOC is two pages long, which is a > bit weird (I would assume that if it counts TOC into page numbers, > two-page TOC would mean that Intro starts on page 3, but nope, it > still starts on page 2). > > The minimal sample attached to this message is really ugly as it > doesn't contain any of the environment files, but the problem is > visible here just as well as in the real thing - if I make the second > page of the inside cover disappear, Intro starts on page 1 as it > should. If the so called inside cover is two pages long, Intro starts > on page 2. (The file to be compiled is prd-pr43-general_test.tex, the > others are component files.) > > It is quite possible the TOC file is the culprit and it has been pure > luck that everything has worked until now... I don't understand the > page mechanism in ConTeXt well enough to see where the problem is. > > I noticed that my ConTeXt version is pretty old: "ConTeXt ver: > 2015.02.03 23:55 MKIV beta" (hmm... I didn't update at ConTeXt meeting > as I usually do, stupid me.) > I'd rather not update just now (production in sensitive phase), but if > you think the problem will go away with an update, I'll do it. Move your intro text after the \startfrontmatter command everything befor= e it doesn=E2=80=99t belong to any sectionblock. You can also omit \startext and \stoptext commands when you \startcompone= nt etc. because they already do the work of \starttext. Wolfgang --------------040705030103000404060704 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
14= .=20 M=C3=A4rz 2016 um 15:43
Greetings all!

I= =20 have a book setup that worked perfectly as long as the inside cover
wa= s only one page long. But then we added information to the inside
cover and had to split the information on two pages. The so called
inside=20 cover works fine, the TOC works fine, but the main text part
(starting with Intro) begins now on page 2 when it should be on page
1. And=20 this happens even when the TOC is two pages long, which is a
bit=20 weird (I would assume that if it counts TOC into page numbers,
two-pag= e TOC would mean that Intro starts on page 3, but nope, it
still=20 starts on page 2).

The minimal sample attached to this message is really ugly as it
doesn't contain any of the environment files, but=20 the problem is
visible here just as well as in the real thing - if I=20 make the second
page of the inside cover disappear, Intro starts on=20 page 1 as it
should. If the so called inside cover is two pages long, Intro starts
on page 2. (The file to be compiled is=20 prd-pr43-general_test.tex, the
others are component files.)

It is quite possible the TOC file is the culprit and it has been pure
lu= ck that everything has worked until now... I don't understand the
page=20 mechanism in ConTeXt well enough to see where the problem is.

I=20 noticed that my ConTeXt version is pretty old: "ConTeXt ver:
2015.02.= 03 23:55 MKIV beta" (hmm... I didn't update at ConTeXt meeting
as I=20 usually do, stupid me.)
I'd rather not update just now (production in sensitive phase), but if
you think the problem will go away with an=20 update, I'll do it.
Move your intro text after the \startfrontmatter command everything=20 before
it doesn=E2=80=99t belong to any sectionblock.

You can also omit \startext and \stoptext commands when you=20 \startcomponent
etc. because they already do the work of \starttext.

Wolfgang
--------------040705030103000404060704-- --===============9016628743698219606== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============9016628743698219606==--