From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39760 Path: news.gmane.org!not-for-mail From: Duncan Hothersall Newsgroups: gmane.comp.tex.context Subject: Sections, cross-references and separators Date: Mon, 31 Mar 2008 18:25:57 +0100 Message-ID: <47F11EA5.1090708@capdm.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1206984608 16603 80.91.229.12 (31 Mar 2008 17:30:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Mar 2008 17:30:08 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 31 19:30:40 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 1JgNq9-0004HX-LC for gctc-ntg-context-518@m.gmane.org; Mon, 31 Mar 2008 19:30:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 113BC1FB1D; Mon, 31 Mar 2008 19:29:59 +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 01626-01; Mon, 31 Mar 2008 19:29:26 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BBD231FB5A; Mon, 31 Mar 2008 19:27:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 717C61FB4E for ; Mon, 31 Mar 2008 19:27:07 +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 29787-03-5 for ; Mon, 31 Mar 2008 19:26:30 +0200 (CEST) Original-Received: from banoffee.capdm.com (banoffee.capdm.com [212.20.255.171]) by ronja.ntg.nl (Postfix) with ESMTP id D799A1FB8E for ; Mon, 31 Mar 2008 19:26:30 +0200 (CEST) Original-Received: from [127.0.0.1] (lynx.capdm.com [212.20.255.162]) by banoffee.capdm.com (Postfix) with ESMTP id 46E0B3448132 for ; Mon, 31 Mar 2008 17:46:09 +0100 (BST) User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) 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:39760 Archived-At: Dear all, I am confused. Here is a minimal version of my problem: --- \setupheads[separator=] %<-- this can't be right \setupreferencing[state=start,chapternumber=yes,global=yes] \setupsection[section-1][conversion=Characters] \setupsection[section-2][previousnumber=yes] \setuphead[part][placehead=yes,resetnumber=yes,page=no] \setuphead[chapter][page=no] \setuphead[section][number=no] \setuppagenumbering[partnumber=no] \starttext \placelist[part,chapter,section][alternative=b,partnumber=no] \part[ptest]{Ptest} \chapter[ctest]{Ctest} \section[stest]{Stest} See \in{Chapter}[ctest] (should say A1) and \in{Figure}[ftest] (should say A1.1). \placefigure[here][ftest]{Ftest (should be called A1.1)}{} \stoptext --- What I am aiming for is a style where: Parts are labelled A, B, C [done], Chapters are labelled A1, A2, A3 [done, but...], Cross-references to Chapters call them A1, A2, A3 [not done: I'm getting A.1] Figures are labelled A1.1, A1.2 [not done; I'm getting A.11 (eek!)] Cross-references to Figures call them A1.1, A1.2 [not done: I'm getting A.11] It seems to me that the line \setupheads[separator=] can't possibly be right and is almost certainly causing the missing dot in the Figure number, but it was the only way I could find to remove the dot between the A and the 1 in the chapter label. I have toiled a little with the core-ref code and cannot fathom how any of the variety of uses of the word "separator" make sense, or indeed if they really have anything to do with it... :-) I'm testing on the garden, using pdfTeX. I'd be *really* grateful for some help with this one. Thanks, Duncan ___________________________________________________________________________________ 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 ___________________________________________________________________________________