From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59475 Path: news.gmane.org!not-for-mail From: Hartmut Henkel Newsgroups: gmane.comp.tex.context Subject: Re: PDF Custom Page Numbering Date: Wed, 9 Jun 2010 23:27:48 +0200 (CEST) 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" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1276118886 8804 80.91.229.12 (9 Jun 2010 21:28:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Jun 2010 21:28:06 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 09 23:28:03 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 1OMSoa-0003lR-Vy for gctc-ntg-context-518@m.gmane.org; Wed, 09 Jun 2010 23:28:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F2EC7C9B0D; Wed, 9 Jun 2010 23:27:59 +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 yvx+FTnTvXVf; Wed, 9 Jun 2010 23:27:57 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 772DBC9B41; Wed, 9 Jun 2010 23:27:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ED388C9B41 for ; Wed, 9 Jun 2010 23:27:55 +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 m+r3du-3wVJi for ; Wed, 9 Jun 2010 23:27:50 +0200 (CEST) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by balder.ntg.nl (Postfix) with SMTP id 31DA3C9B0D for ; Wed, 9 Jun 2010 23:27:50 +0200 (CEST) Original-Received: (qmail invoked by alias); 09 Jun 2010 21:27:49 -0000 Original-Received: from mnhm-5f75d571.pool.mediaWays.net (EHLO hahepc1.hahe) [95.117.213.113] by mail.gmx.net (mp045) with SMTP; 09 Jun 2010 23:27:49 +0200 X-Authenticated: #6218946 X-Provags-ID: V01U2FsdGVkX188iNJc+MI8SPJrnIDgb5EpR+4VbnGQcXpBjh1Acs nIUBBu1ILVoFPP Original-Received: from hahe (helo=localhost) by hahepc1.hahe with local-esmtp (Exim 4.71) (envelope-from ) id 1OMSoO-0001TL-HS for ntg-context@ntg.nl; Wed, 09 Jun 2010 23:27:48 +0200 In-Reply-To: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) X-Y-GMX-Trusted: 0 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:59475 Archived-At: 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. Regards, Hartmut ___________________________________________________________________________________ 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 ___________________________________________________________________________________