From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6221 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Sectioning. PDF bookmarks. Date: Tue, 20 Nov 2001 09:50:42 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20011120094736.04719cb8@server-1> References: <1510835268.20011108183708@bigfoot.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035396761 8617 80.91.224.250 (23 Oct 2002 18:12:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:12:41 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Giuseppe Bilotta In-Reply-To: <1510835268.20011108183708@bigfoot.com> Xref: main.gmane.org gmane.comp.tex.context:6221 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6221 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 -------------------------------------------------------------------------