ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: Sectioning. PDF bookmarks.
Date: Tue, 20 Nov 2001 09:50:42 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20011120094736.04719cb8@server-1> (raw)
In-Reply-To: <1510835268.20011108183708@bigfoot.com>

At 06:37 PM 11/8/2001 +0100, Giuseppe Bilotta wrote:
>Hello,
>
>this is a another area where ConTeXt needs refining. As far as I
>know, ConTeXt only allows peculiar section names to be handled via
>the \nolist command:
>
>\chapter{Section name \nolist{with a part that does not go in the
>TOC}}.
>
>But consider that there are cases where the 'short' form is deeply
>different from the long one. And there is another important issue,
>which is PDF bookmarks, in which a lot of commands have to be
>redefined to display properly (e.g. \dots has to be turned into
>three dots).
>
>I propose a structure like
>
>\chapter[full] {Full name}
>         [short]{Short name}
>         [pdf]  {PDF bookmark name}

Why not use:

\chapter {Some complicates TeX code}

\bookmark {Simplfied tex code}

so, the \bookmark command overloads the previous one

The more complex construct that you ask for would make the chapter command 
pretty complicated, esp since currently also things like

\chapter Some TeX code

is also supported

I'm thinking of making a \startchapter ... \stopchapter alternatives which 
takes key/val paits but that;s on the todo list.

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


  reply	other threads:[~2001-11-20  8:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-08 17:37 Giuseppe Bilotta
2001-11-20  8:50 ` Hans Hagen [this message]
2001-11-20  9:35   ` Re[2]: " Giuseppe Bilotta

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=5.1.0.14.1.20011120094736.04719cb8@server-1 \
    --to=pragma@wxs.nl \
    --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).