From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/98532 Path: news.gmane.org!.POSTED!not-for-mail From: "Sebastian L." Newsgroups: gmane.comp.tex.context Subject: Odd numbering of Date: Wed, 26 Jul 2017 09:20:00 +0200 Message-ID: <58007cfa-3959-f8a2-944e-20133230c8b4@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5493043889959159472==" X-Trace: blaine.gmane.org 1501053637 4527 195.159.176.226 (26 Jul 2017 07:20:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 26 Jul 2017 07:20:37 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 26 09:20:31 2017 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 blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daGcQ-0000rP-Vo for gctc-ntg-context-518@m.gmane.org; Wed, 26 Jul 2017 09:20:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5CBD1104D63; Wed, 26 Jul 2017 09:20:16 +0200 (CEST) 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 nR7Z_zTGqJt2; Wed, 26 Jul 2017 09:20:15 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 83B22104D5E; Wed, 26 Jul 2017 09:20:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DF9B0104D5E for ; Wed, 26 Jul 2017 09:20:13 +0200 (CEST) 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 SQf9MvuZbb7R for ; Wed, 26 Jul 2017 09:20:13 +0200 (CEST) Original-Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) (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 5B33E104D5C for ; Wed, 26 Jul 2017 09:20:03 +0200 (CEST) Original-Received: by mail-wm0-f50.google.com with SMTP id m85so59451483wma.1 for ; Wed, 26 Jul 2017 00:20:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=0k1a4zrkvHI/gTpfylZqVLeHHuL5vew5sBCbMhnAJTY=; b=o+imZ469vt5claFxT95rZTZDHPQPOUbWuATqfRpLohFJiAKNI6769+fFnCsKYzpYYj qWwqhxPnyX7bNoKL9kvmtfhE8Zv4dXXZCSK6II5AlnfCpLWUFGS3IqY+b2YpLTlbHAdT U2Kq+U/s5espEoGNFexrUVxc1qT1XWMNfQK3Ut2ThTHuHFWPNdM7gcTUd9GsdAqh8Ha1 6GV8r2M259JmMUd89jXnmVNG1xr/EsP8mT/HlktpWVKhNZnU5yeYDBYZ9XiSyB+mCtgK MMTop29nFgWxlHdQxJ5jbeKrmYblI0s7L3z0G4ylASiSl9Dw9ynSjte65A0wvfwMCD1r +KSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=0k1a4zrkvHI/gTpfylZqVLeHHuL5vew5sBCbMhnAJTY=; b=JNab6T77GPurGNr3alIauEe6g4JYO7oKF7rA7nrPNI5GeMMMTcVbXb2m+YjUOerMw1 1vpM3SPtVM0FfP2z24rcV8FtJSTDjCYktKi2Hk/8WOVWf3mu/oHnvBAckftvX1ZN27wR Dd4VBXUocoOobwmQ1NeD7voDhEBWzrAkpUntlG5kQ/XEAGhF2XqAvpGK0b4aX5AcUM1U 1LPxYpmzjfA3PRqwL9JeEqXaK9mtZS5DQTFihjrUOAyaSsePcHjRYOmMTKSi3JsNjKPt STyyOEtitQRCecYzvTOK2md0Y3WqlfRBRWcbMG2HuYyfamteY+q507sd/6vaOrs9gMvw mRSA== X-Gm-Message-State: AIVw111rhzCHXs1XP6GZ+YlFhErsvYyWFHtCOD/6JSeNJxr6nZ1eCvOa 85h0pNu1KQ1YpSWGmkk= X-Received: by 10.28.156.79 with SMTP id f76mr50032wme.22.1501053602274; Wed, 26 Jul 2017 00:20:02 -0700 (PDT) Original-Received: from [192.168.1.5] (port-92-201-72-189.dynamic.qsc.de. [92.201.72.189]) by smtp.gmail.com with ESMTPSA id n19sm14364331wmd.40.2017.07.26.00.20.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jul 2017 00:20:01 -0700 (PDT) Content-Language: en-GB 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:98532 Archived-At: This is a multi-part message in MIME format. --===============5493043889959159472== Content-Type: multipart/alternative; boundary="------------C97A4A505C6FD214404628A9" Content-Language: en-GB This is a multi-part message in MIME format. --------------C97A4A505C6FD214404628A9 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi folks, I have a document that is structured like this: \startfrontmatter \placecontent \stopfrontmatter \startbodymatter \startchapter \component whatever.tex \stopchapter \stopbodymatter What I noticed is, that when I build the PDF, open it in Sumatra PDF and check the page counter at the top, then the first page (frontmatter) is numbered 1, then the second page (1st page of the bodymatter) is numbered 1.1, the second page of the bodymatter then is numbered correctly again. How would one change the frontmatter counter to roman numbers (I, II, III etc.)? And the first page of the bodymatter to 1 instead of 1.1? For the record: within the PDF itself the numbers are printed correctly (front: no numbers, body: 1, 2, 3 etc.). This seems to be reader software related. I saw romans for frontmatter and arabics for bodymatter in other documents already, so I am sure there has to be a way of achieving this in CTX. Any ideas? Greetings, Sebastian --------------C97A4A505C6FD214404628A9 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Hi folks,

I have a document that is structured like this:

\startfrontmatter
  \placecontent
\stopfrontmatter

\startbodymatter
  \startchapter
    \component whatever.tex
  \stopchapter
\stopbodymatter

What I noticed is, that when I build the PDF, open it in Sumatra PDF and check the page counter at the top, then the first page (frontmatter) is numbered 1, then the second page (1st page of the bodymatter) is numbered 1.1, the second page of the bodymatter then is numbered correctly again.

How would one change the frontmatter counter to roman numbers (I, II, III etc.)? And the first page of the bodymatter to 1 instead of 1.1? For the record: within the PDF itself the numbers are printed correctly (front: no numbers, body: 1, 2, 3 etc.). This seems to be reader software related. I saw romans for frontmatter and arabics for bodymatter in other documents already, so I am sure there has to be a way of achieving this in CTX.

Any ideas?

Greetings, Sebastian

--------------C97A4A505C6FD214404628A9-- --===============5493043889959159472== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============5493043889959159472==--