From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40923 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: How to define my own list entry? Date: Wed, 7 May 2008 08:15:05 +0200 Message-ID: <115224fb0805062315x221b3d1fsfb7511db7d92a25f@mail.gmail.com> References: <769ba7780805061955u65c7fe2asf976b7258c569629@mail.gmail.com> 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: ger.gmane.org 1210141012 3321 80.91.229.12 (7 May 2008 06:16:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 May 2008 06:16:52 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed May 07 08:17:26 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Jtcxx-0006pc-R4 for gctc-ntg-context-518@m.gmane.org; Wed, 07 May 2008 08:17:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2F4CC1FBE8; Wed, 7 May 2008 08:16:41 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27409-04-3; Wed, 7 May 2008 08:16:01 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 530441FBB8; Wed, 7 May 2008 08:16:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 80A151FB98 for ; Wed, 7 May 2008 08:15:52 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27424-04-3 for ; Wed, 7 May 2008 08:15:12 +0200 (CEST) Original-Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.155]) by ronja.ntg.nl (Postfix) with ESMTP id CFD4A1FBB8 for ; Wed, 7 May 2008 08:15:10 +0200 (CEST) Original-Received: by yw-out-1718.google.com with SMTP id 5so143192ywm.74 for ; Tue, 06 May 2008 23:15:05 -0700 (PDT) Original-Received: by 10.150.92.12 with SMTP id p12mr1594329ybb.237.1210140905142; Tue, 06 May 2008 23:15:05 -0700 (PDT) Original-Received: by 10.150.96.3 with HTTP; Tue, 6 May 2008 23:15:05 -0700 (PDT) In-Reply-To: <769ba7780805061955u65c7fe2asf976b7258c569629@mail.gmail.com> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:40923 Archived-At: On Wed, May 7, 2008 at 4:55 AM, Zhichu Chen wrote: > Hi everybody, > > I'm just writing a module to typeset the traditional Chinese books. > Here is the thing: I use page-arrangement to put like 15 pages on > one page or actually 30 pages on one page in a double-sided mode > (I mean page 1 and page 2---which contain 15 mini-pages each---are > on the same page), and yes I want to make a table of contents and > some PDF bookmarks. But having searched the list, I find that I > should use > texexec --arrange file.tex > to compile the file and get the real page number. That's not what I > want. Because if I get one chapter on the second page, the page > number is 31 rather than 2 which I really want it to be. And so do > the bookmarks behave. If I click the bookmark of the first chapter, > it will go to the 31st page of the PDF file if it has page 31. I don't > really like the mess. > > I know it's normal, but I would like to know if there's any way to > write the page counters I defined to the .tui or .tuo file so that I can > totally handle them and display them on the contents and make > the bookmarks not crazy any more. core-lst: - \definelist - \writetolist - \writebetweenlist - \placelist Wolfgang ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________