From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84198 Path: news.gmane.org!not-for-mail From: "Meer, H. van der" Newsgroups: gmane.comp.tex.context Subject: Re: extra - in reference Date: Tue, 10 Sep 2013 10:07:22 +0000 Message-ID: <7E24008D-414A-41A3-91BD-85994B3090F5@uva.nl> References: <9C88B769-D6D9-41C2-8794-6018EDBD5D5F@uva.nl> <42955625-D70D-415F-89D4-885E422A4DD1@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1378807654 838 80.91.229.3 (10 Sep 2013 10:07:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Sep 2013 10:07:34 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 10 12:07:37 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VJKrA-00044x-Uj for gctc-ntg-context-518@m.gmane.org; Tue, 10 Sep 2013 12:07:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A1E9710215; Tue, 10 Sep 2013 12:05:54 +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 93XpBpDiFdqg; Tue, 10 Sep 2013 12:05:48 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 28A77101EB; Tue, 10 Sep 2013 12:05:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4FAFF101EB for ; Tue, 10 Sep 2013 12:05:47 +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 enEDLNOVS3Qu for ; Tue, 10 Sep 2013 12:05:42 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 65512101E8 for ; Tue, 10 Sep 2013 12:05:42 +0200 (CEST) Original-Received: from HUB01.uva.nl (hub01.uva.nl [146.50.108.230]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r8AA7MVF009826 for ; Tue, 10 Sep 2013 12:07:23 +0200 Original-Received: from MBX02.uva.nl ([169.254.2.86]) by HUB01.uva.nl ([2002:9232:6737::9232:6737]) with mapi id 14.03.0158.001; Tue, 10 Sep 2013 12:07:22 +0200 Thread-Topic: [NTG-context] extra - in reference Thread-Index: AQHOrgMCMdLaqVYDNUqTNpl8LGprtZm+j1yAgAAOKoA= In-Reply-To: <42955625-D70D-415F-89D4-885E422A4DD1@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [82.95.102.36] Content-ID: <80D755663941364D909E55D57EA9FD46@uva.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=146.50.108.230; country=NL; region=07; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07Knm7mOH - 9314060e74d9 - 20130910 (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 X-Spam-Report: 5.0 points; * 3.2 RCVD_ILLEGAL_IP Received: contains illegal IP address * 1.8 MIME_QP_LONG_LINE RAW: Quoted-printable line longer than 76 chars Xref: news.gmane.org gmane.comp.tex.context:84198 Archived-At: Culprit found by experimenting with your example that indeed is correct. The problem is in the sectionstopper in the setup: \setuphead[chapter][sectionstopper=3D{ =96 }] This sectionstopper inserts something between chapter marker and chapter ti= tle: Chapter 1 =96 Chapter title I didn't expect this sectionstopper to turn up in the reference to the chap= ter number. Can you point out how to suppress the sectionstopper in the ref= erences (if for now) while keeping it between the marker and the title? And if you are also of the opinion that the sectionstopper shouldn't turn u= p at the end of the reference, will this be changed in an upcoming beta? Hans van der Meer On 10 sep. 2013, at 11:16, Wolfgang Schuster wrote: > = > Am 10.09.2013 um 10:51 schrieb "Meer, H. van der" : > = >> Doing \in{Figure}[fig:figname] neatly typesets for example: "figure 1.4" = >> Defined as: \startplacefigure[title=3Dfigure-title,reference=3Dfig:figna= me] >> = >> But if I define:\startchapter[title=3Dchapter-title,reference=3Dchap:cha= pname] >> Then \in{Chapter}[chap:chapname] produces: "chapter 6 - " >> Thus an extra space + minus sign + space are put behind the chapter refe= rence. >> = >> This is annoying, because I would like my chapter reference to be "chapt= er 6" without any additions. Besides, the figure reference and chapter refe= rence behave differently, an unexpected phenomenon. >> It seems the \startchapter defines a reference different from the refere= nce in \startplacefigure. >> = >> Is this difference in behaviour intentional? Is it a bug? How can I reve= rt my chapter references to the form without the trailing characters? > = > = > Make a minimal example because I can=92t reproduce your results. > = > \useMPlibrary[dum] > = > \starttext > = > \startchapter[title=3Dchapter-title,reference=3Dchap:chapname] > = > \startplacefigure[title=3Dfigure-title,reference=3Dfig:figname] > \externalfigure[dummy] > \stopplacefigure > = > Take a look at \in{Figure}[fig:figname] in \in{Chapter}[chap:chapname]. > = > \stopchapter > = > \stoptext > = ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________