From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92021 Path: news.gmane.org!not-for-mail From: "talazem@fastmail.fm" Newsgroups: gmane.comp.tex.context Subject: reverse page order and reverse page numbering in one part of a book Date: Wed, 22 Jul 2015 10:49:29 +0100 Message-ID: <780F44E4-6EB1-4E36-87D2-7408B5AC2F1D@fastmail.fm> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.0 \(3067\)) Content-Type: multipart/mixed; boundary="===============1182324268==" X-Trace: ger.gmane.org 1437558600 1784 80.91.229.3 (22 Jul 2015 09:50:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Jul 2015 09:50:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 22 11:49:48 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZHqep-0007Fs-AO for gctc-ntg-context-518@m.gmane.org; Wed, 22 Jul 2015 11:49:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5FE5310236 for ; Wed, 22 Jul 2015 11:49:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ix5FrhIz9TbF for ; Wed, 22 Jul 2015 11:49:45 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7275710238 for ; Wed, 22 Jul 2015 11:49:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 95F6F101FB for ; Wed, 22 Jul 2015 11:49:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KQg0r--lKR91 for ; Wed, 22 Jul 2015 11:49:13 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id CCC5A101F6 for ; Wed, 22 Jul 2015 11:49:08 +0200 (CEST) Original-Received: from host21.specialservers.com (host21.specialservers.com [213.175.196.29] (may be forged)) by filter4-ams.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t6M9n7pr006771 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 22 Jul 2015 11:49:07 +0200 Original-Received: from cpc69046-oxfd25-2-0-cust964.4-3.cable.virginm.net ([81.109.87.197]:38825 helo=[10.0.1.2]) by host21.specialservers.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.85) (envelope-from ) id 1ZHqe9-003ITN-Rn for ntg-context@ntg.nl; Wed, 22 Jul 2015 10:49:05 +0100 X-Mailer: Apple Mail (2.3067) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host21.specialservers.com X-AntiAbuse: Original Domain - ntg.nl X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - fastmail.fm X-Get-Message-Sender-Via: host21.specialservers.com: authenticated_id: talal@alazem.org X-Source: X-Source-Args: X-Source-Dir: X-Bayes-Prob: 0.5121 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=213.175.196.29; country=GB; latitude=51.5000; longitude=-0.1300; http://maps.google.com/maps?q=51.5000,-0.1300&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01OTlN7rg - 2602f24caf3d - 20150722 Received-SPF: neutral (filter4-ams.mf.surf.net: 213.175.196.29 is neither permitted nor denied by domain talazem@fastmail.fm) receiver=filter4-ams.mf.surf.net; client-ip=213.175.196.29; envelope-from=; helo=host21.specialservers.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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" X-Spam-Report: 5.0 points; * 3.2 RCVD_ILLEGAL_IP Received: contains illegal IP address * 0.0 HTML_MESSAGE BODY: HTML included in message * 1.8 MIME_QP_LONG_LINE RAW: Quoted-printable line longer than 76 chars Xref: news.gmane.org gmane.comp.tex.context:92021 Archived-At: --===============1182324268== Content-Type: multipart/alternative; boundary="Apple-Mail=_D0DE84D4-CF9B-4F71-80D6-3C8F8F814FCC" --Apple-Mail=_D0DE84D4-CF9B-4F71-80D6-3C8F8F814FCC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Dear all, I am producing a book that is divided into two sections. The book is = published in English, and thus it runs left to right. Part one is an = academic study in English. Part two is a critical edition of an Arabic = text. The book is exactly 100 pages long, with fifty pages going to the = English study, and fifty pages to the Arabic edition. In Part One (which includes all the front matter of the book, such as = the table of contents, etc.): the page ordering runs left-to-right, the = pagination runs from 1 to 50, and the page numbers should be printed in = Arabic numerals. However, in Part Two (the Arabic text): the page ordering should run = right-to-left, the page numbers should run in =E2=80=9Creverse=E2=80=9D = pagination (in which =E2=80=9Cpage 1" of the critical edition begins at = the =E2=80=9Cback=E2=80=9D of the book), and the page numbers should be = printed in Hindi numerals. In other words, the structure of the book=E2=80=99s pages would be as = follows (ellipses used to jump): 1 2 3 =E2=80=A6 48 49 50 =D9=A5=D9=A0 =D9=A4=D9=A9 =D9=A4=D9=A8 =E2=80=A6 =D9=A3 =D9=A2 =D9=A1 I would like the Table of Contents then to look something like this: Forward . . . . . . v English Study . . . 1 Arabic Edition. . . =D9=A1 Index of names. . . =D9=A5=D9=A0 So my question is: is this currently possible in ConTeXt, to produce a = single PDF, with such a TOC, from one file? Or am I bringing on too much = of a headache upon myself, and it is easier to produce two separate = files =E2=80=94 but if so, how would one produce a TOC that includes the = parts and page numbers of both documents?=20 Many thanks, and best wishes, Talal= --Apple-Mail=_D0DE84D4-CF9B-4F71-80D6-3C8F8F814FCC Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Dear = all,

I am producing a book that is divided into two sections. The = book is published in English, and thus it runs left to right. Part one = is an academic study in English. Part two is a critical edition of an = Arabic text. The book is exactly 100 pages long, with fifty pages going = to the English study, and fifty pages to the Arabic = edition.

In Part One (which includes all the = front matter of the book, such as the table of contents, etc.): the page = ordering runs left-to-right, the pagination runs from 1 to 50, and the = page numbers should be printed in Arabic numerals.

However, in Part Two (the Arabic text): the page ordering = should run right-to-left, the page numbers should run in =E2=80=9Creverse=E2= =80=9D pagination (in which =E2=80=9Cpage 1" of the critical edition = begins at the =E2=80=9Cback=E2=80=9D of the book), and the page numbers = should be printed in Hindi numerals.

In other words, = the structure of the book=E2=80=99s pages would be as follows = (ellipses used to jump):

1
2
3
=E2=80=A6
48
49
50
=D9=A5=D9=A0
=D9=A4=D9=A9
=D9=A4=D9=A8
=E2=80=A6
=D9=A3
=D9=A2
=D9=A1

I would like = the Table of Contents then to look something like = this:

Forward . . . . . . v
English Study . . = . 1
Arabic Edition. . . =D9=A1
Index of names. . . = =D9=A5=D9=A0

So my question is: is this = currently possible in ConTeXt, to produce a single PDF, with such a TOC, = from one file? Or am I bringing on too much of a headache upon myself, = and it is easier to produce two separate files =E2=80=94 but if so, how = would one produce a TOC that includes the parts and page numbers of both = documents? 

Many thanks, and best = wishes,
Talal
= --Apple-Mail=_D0DE84D4-CF9B-4F71-80D6-3C8F8F814FCC-- --===============1182324268== 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= --===============1182324268==--