From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81934 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: stoppers in section heading without having stoppers in references? Date: Fri, 19 Apr 2013 06:46:43 +0200 Message-ID: <1297101D-8ACC-4565-B044-9B13777EAAA5@gmail.com> References: <87obdbp5ur.fsf@approx.mit.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1366346810 27186 80.91.229.3 (19 Apr 2013 04:46:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Apr 2013 04:46:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 19 06:46:54 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UT3Do-0001vX-3o for gctc-ntg-context-518@m.gmane.org; Fri, 19 Apr 2013 06:46:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7E958101E4; Fri, 19 Apr 2013 06:46:51 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id JgaNJa5bzRIN; Fri, 19 Apr 2013 06:46:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E1BD6101E6; Fri, 19 Apr 2013 06:46:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3A45B101E6 for ; Fri, 19 Apr 2013 06:46:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id A9VgxQn1woly for ; Fri, 19 Apr 2013 06:46:47 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 44F66101E4 for ; Fri, 19 Apr 2013 06:46:47 +0200 (CEST) Original-Received: from mail-bk0-x22a.google.com (mail-bk0-x22a.google.com [IPv6:2a00:1450:4008:c01::22a]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3J58VvW027838 for ; Fri, 19 Apr 2013 07:08:31 +0200 Original-Received: by mail-bk0-f42.google.com with SMTP id jc3so1554376bkc.29 for ; Thu, 18 Apr 2013 21:46:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=JHmbYVxYOmU2kYWTpBmFEUBH2jePN3ZgGOgHSbJgw2c=; b=gIcwGEMvi/h6GA0TPCjWOkxueHn8vv1djLsSHO804ZAVrGlwIP8O7X4x5WPmnyH7lR qUeQOXxgVt+72tb+IyBmpFDnIdhvRqSPVeGHKzVvo33Edvc+YRxlNIiWiR6CH/HLOV8w eTpWMsMwRBDDrlT5g0Wfffht8/eXc8K0F+mkgSCqVW9VPyziwc2VP/w2a8Aple4oQiVH CZB6o3SV7Iro6OwymyrJr20+7MG7L15K74SqTEJnYFdWRmjLiaU1zhDaO2Q0snnr7ziP tSlQMinI8rFgAhpnqccmPecxz2rd3oGMVtOZyCzyPAtjlOOFZtVjA/zv/Iv1M++9n03D TU6g== X-Received: by 10.205.47.74 with SMTP id ur10mr2124856bkb.81.1366346806384; Thu, 18 Apr 2013 21:46:46 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbf875a.pool.mediaWays.net. [77.191.135.90]) by mx.google.com with ESMTPS id jm15sm3655890bkb.13.2013.04.18.21.46.45 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 21:46:45 -0700 (PDT) In-Reply-To: <87obdbp5ur.fsf@approx.mit.edu> X-Mailer: Apple Mail (2.1503) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4008:c01::22a; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01JpF8v2b - 702333a23074 - 20130419 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:81934 Archived-At: Am 19.04.2013 um 05:16 schrieb Sanjoy Mahajan : > In MkIV, is there a way to get a stopper (e.g. ".") in the section > heading, along the lines of "1. First heading" but without a reference > to it having the stopper? Thus, the reference should be just "In > Chapter 1 we learn", not "In Chapter 1. we learn"? > > I have tried many variants of the following minimal example: > > \setuphead[chapter][sectionstopper=.] > \definereferenceformat [inchapter] [text={Chapter~}] > > \starttext > \chapter[one]{First heading} > > \input knuth > > \inchapter[one] we learn. > > \stoptext \defineprocessor[dostopper][right=.] \defineprocessor[nostopper][right=] \defineconversionset[stopperconversionyes][][dostopper->n] \defineconversionset[stopperconversionnop][][nostopper->n] \setuphead[chapter][sectionconversionset=stopperconversionyes] %\setupreferencestructureprefix[chapter][default][prefixconversionset=stopperconversionnop] \setupreferencestructureprefix[default][prefixconversionset=stopperconversionnop] \starttext \chapter[one]{First heading} \input knuth In \in{Chapter}[one] we learn. \stoptext 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________