From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59477 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: PDF Custom Page Numbering Date: Thu, 10 Jun 2010 00:35:29 -0400 (EDT) Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1276144485 9301 80.91.229.12 (10 Jun 2010 04:34:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Jun 2010 04:34:45 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 10 06:34:44 2010 connect(): No such file or directory Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OMZTX-0007qB-FA for gctc-ntg-context-518@m.gmane.org; Thu, 10 Jun 2010 06:34:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E7F05C9B8D; Thu, 10 Jun 2010 06:34:42 +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 Yld+EQNbD-G8; Thu, 10 Jun 2010 06:34:39 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1554BC9B66; Thu, 10 Jun 2010 06:34:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 30BEAC9B66 for ; Thu, 10 Jun 2010 06:34:38 +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 keraB14TRykO for ; Thu, 10 Jun 2010 06:34:26 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by balder.ntg.nl (Postfix) with ESMTP id 40EA2C9B49 for ; Thu, 10 Jun 2010 06:34:26 +0200 (CEST) Original-Received: FROM [10.140.245.155] (Mismatch [213.174.115.3]) By hackers.mr.itd.umich.edu ID 4C106B50.2C941.29290 ; Authuser adityam; 10 Jun 2010 00:34:24 EDT In-Reply-To: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:59477 Archived-At: On Wed, 9 Jun 2010, Hartmut Henkel wrote: > On Wed, 9 Jun 2010, Andreas Schneider wrote: > >> while reading through the PDF to ISO-9075-1 (SQL99), I noticed >> something I had never seen before in a PDF: the page numbers displayed >> by Acrobat matched exactly the ones in the document ... the beginning >> was even numbered with roman numbers and the actual content started >> again at "Page 1". From a quick research it seems that this >> functionality is in PDF since Acrobat 4 (that should be PDF 1.3, >> right?) and is most likely called "Custom Page Numbering". It would be >> amazing if ConTeXt/LuaTeX supports that too - especially if you >> produce documents for screen reading. >> >> Unfortunately I don't have access to the PDF Specification currently >> to give you more info - so I don't even know for sure how that feature >> is officially called. >> >> Anyway, I hope that idea/suggestion/wish finds positive reactions ... >> and I somehow hope that it isn't actually too hard to implement :-) > > it's named "Page Labels" (never seen before, thanks for the pointer), in > the PDF Reference 5th ed. it's in section 8.3.1, the example 8.3 there > typed into \pdfcatalog{} works right away, so no luatex engine > modification needed. IIRC, the hyperref package in LaTeX supports this. I do not know if there is a direct ConTeXt support. Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________