From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40921 Path: news.gmane.org!not-for-mail From: "Zhichu Chen" Newsgroups: gmane.comp.tex.context Subject: How to define my own list entry? Date: Wed, 7 May 2008 10:55:13 +0800 Message-ID: <769ba7780805061955u65c7fe2asf976b7258c569629@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1692896259==" X-Trace: ger.gmane.org 1210129052 10317 80.91.229.12 (7 May 2008 02:57:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 May 2008 02:57:32 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed May 07 04:58:04 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 1JtZqe-000050-Jv for gctc-ntg-context-518@m.gmane.org; Wed, 07 May 2008 04:57:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E4F4C1FBB8; Wed, 7 May 2008 04:56:54 +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 05539-02; Wed, 7 May 2008 04:56:13 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CA4E41FB77; Wed, 7 May 2008 04:56:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D43371FB77 for ; Wed, 7 May 2008 04:56:11 +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 06243-02-4 for ; Wed, 7 May 2008 04:55:34 +0200 (CEST) Original-Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by ronja.ntg.nl (Postfix) with ESMTP id B69DA1FB71 for ; Wed, 7 May 2008 04:55:33 +0200 (CEST) Original-Received: by wf-out-1314.google.com with SMTP id 27so148891wfd.5 for ; Tue, 06 May 2008 19:55:32 -0700 (PDT) Original-Received: by 10.142.57.17 with SMTP id f17mr630646wfa.340.1210128913682; Tue, 06 May 2008 19:55:13 -0700 (PDT) Original-Received: by 10.142.78.2 with HTTP; Tue, 6 May 2008 19:55:13 -0700 (PDT) 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:40921 Archived-At: --===============1692896259== Content-Type: multipart/alternative; boundary="----=_Part_2725_22043117.1210128913675" ------=_Part_2725_22043117.1210128913675 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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. -- Best Regards Chen ---------------------------------------------------------------- Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ---------------------------------------------------------------- ------=_Part_2725_22043117.1210128913675 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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.


--
Best Regards
Chen
----------------------------------------------------------------

Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
| www.sinap.ac.cn
---------------------------------------------------------------- ------=_Part_2725_22043117.1210128913675-- --===============1692896259== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1692896259==--