From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6055 Path: main.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Sectioning. PDF bookmarks. Date: Thu, 8 Nov 2001 18:37:08 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <1510835268.20011108183708@bigfoot.com> Reply-To: Giuseppe Bilotta NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035396606 6983 80.91.224.250 (23 Oct 2002 18:10:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:10:06 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:6055 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6055 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} Second point, more tightly related to PDF bookmarking, is the opportunity of a way to define how commands are to be interpreted in bookmarks. Say for example that I have a ConTeXt document where I define \definesynonyms[abbreviation][abbreviations][\infull] \setupsynonyms[abbreviation][textstyle=\smallcaps] \abbreviation[RPG]{rpg}{Role Playing Game} This gives me a command \RPG that I can use throughout my document to display rpg (in small caps, because this is the style I use for abbreviation, and here again we get back to the problem of \sc having to turn lowercase into uppercase when small caps are not active). But if I have a title like \chapter{Pregnancy in \RPG s} I want this to display as Pregnancy in RPGs in the bookmarks. Instead, what I get is an 'undefined command sequence'. How to deal with it? -- Giuseppe "Oblomov" Bilotta