ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: How to define my own list entry?
Date: Wed, 7 May 2008 08:15:05 +0200	[thread overview]
Message-ID: <115224fb0805062315x221b3d1fsfb7511db7d92a25f@mail.gmail.com> (raw)
In-Reply-To: <769ba7780805061955u65c7fe2asf976b7258c569629@mail.gmail.com>

On Wed, May 7, 2008 at 4:55 AM, Zhichu Chen <zhichu.chen@gmail.com> 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
___________________________________________________________________________________


  reply	other threads:[~2008-05-07  6:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-07  2:55 Zhichu Chen
2008-05-07  6:15 ` Wolfgang Schuster [this message]
2008-05-07  7:40   ` Zhichu Chen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=115224fb0805062315x221b3d1fsfb7511db7d92a25f@mail.gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).