From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85117 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?G=C3=A9ry_Ogam?= Newsgroups: gmane.comp.tex.context Subject: Re: Preventing caption stoppers from appearing in references Date: Tue, 5 Nov 2013 23:01:48 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1592579617==" X-Trace: ger.gmane.org 1383688916 18504 80.91.229.3 (5 Nov 2013 22:01:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Nov 2013 22:01:56 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 05 23:02:01 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 1VdohC-0004Q9-Od for gctc-ntg-context-518@m.gmane.org; Tue, 05 Nov 2013 23:01:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0066B10231; Tue, 5 Nov 2013 23:01:58 +0100 (CET) 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 2zM53ST1il8z; Tue, 5 Nov 2013 23:01:55 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A1DB0101F1; Tue, 5 Nov 2013 23:01:55 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1C0AA101F1 for ; Tue, 5 Nov 2013 23:01:54 +0100 (CET) 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 M95pZVCs+sai for ; Tue, 5 Nov 2013 23:01:49 +0100 (CET) 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 4FAB0101EF for ; Tue, 5 Nov 2013 23:01:49 +0100 (CET) Original-Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rA5M80Z4028680 for ; Tue, 5 Nov 2013 23:08:00 +0100 Original-Received: by mail-wi0-f175.google.com with SMTP id hm4so2859710wib.2 for ; Tue, 05 Nov 2013 14:01:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=L4R9veOdZ+KNWNjcezNP0TqN3c8DEnrdsUC3HWS/k+4=; b=JbEzIJTH8IWzGni+nOnIZahSheUj9uVT3oh4zsl0AjNQ++2TbXNfbU7KZ/YKaCSQII AFcjfZQmzF6i1AuIVCL3Cm6tanqdxYgjjMkOHt+7NAbpyqyxc8eRYr4Jfqivdf9YAmh8 p5zRnRuLgrNWZlKV/vpM6APWpNfAESPFWQTvpkaaOpd7SlxuPnD5KxBtfqH0jZC30MlN MzeO1wwGZcJ40r0MczDopOHBE6p2M0gvtKaPpDmTALLdmVpNeaLs5+XzsEafa85XqmTD BZ6Gb0SQ+7jRbCaf/l7JtmbPwPjjfhgzJXQKOIjeCZMpqOOZhxo6cvrYr6BzJT+Gk5hN 9Giw== X-Received: by 10.180.198.79 with SMTP id ja15mr18277539wic.36.1383688908570; Tue, 05 Nov 2013 14:01:48 -0800 (PST) Original-Received: by 10.216.244.4 with HTTP; Tue, 5 Nov 2013 14:01:48 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::22f; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01KJW80lw - 3896b231a795 - 20131105 (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:85117 Archived-At: --===============1592579617== Content-Type: multipart/alternative; boundary=047d7b624252e006de04ea752d18 --047d7b624252e006de04ea752d18 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable What do you think about that Hans? G=C3=A9ry Ogam 2013/11/1 G=C3=A9ry Ogam > Hello Hans, > > I would like to prevent caption stoppers from appearing in references in > ConTeXt. > > Here is a minimal example: > > \starttext > \setupcaptions[numberstopper=3D.~---~, distance=3D0em] > \placefigure[][cow]{A Cow}{\externalfigure[cow]} > \in{Figure}[cow] shows a cow. > \stoptext > > Aditya suggested that I use suffix instead of numberstopper, which works > very well, but Wolgang said: > > =E2=80=98I=E2=80=99m sorry to disappoint you but there is no official sol= ution to achieve > this. > > There are ways to change the stopper for section numbers in the heading a= nd > the text but not for the other counters (floats, descriptions etc.). > > The solution you got from Aditya at stackexchange works but it=E2=80=99s = more a > hack > because suffixes are used when you use a splitted float (e.g. a table > which spans > multiple pages) where you get 1.a., 1.b etc. (the a and b are suffixes) a= s > numbers.=E2=80=99 > > So since numberstoppers =E2=80=94 of any kinds (for floats, sections, > descriptions) =E2=80=94 are supposed to separate numbers from titles, it = would be > logical that they don=E2=80=99t appear in references because references d= on=E2=80=99 have > titles, only numbers, so no separation sign (numberstopper) is needed. > Could you change that behaviour Hans, or add a command for setting the > layout of the numbers in references (separators, counter conversion, etc.= )? > There is already such a command for section numbers and you only have to > add another one for other counters. > > Best regards. > --047d7b624252e006de04ea752d18 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
What do you think about that Hans?



G= =C3=A9ry Ogam


2013/11/1 G=C3=A9ry Ogam <maggyero@gma= il.com>
Hello Hans,

I would like to prevent caption stopper= s from appearing in references in ConTeXt.

Here is a minimal example= :

\starttext
\setupcaptions[numberstopper=3D.~---~, distance=3D0e= m]
\placefigure[][cow]{A Cow}{\externalfigure[cow]}
\in{Figure}[cow] shows = a cow.
\stoptext

Aditya suggested that I use suffix i= nstead of numberstopper, which works very well, but Wolgang said:

=E2=80=98I=E2=80=99m sorry to disappoint you but there is no official = solution to achieve this.

There are ways = to change the stopper for section numbers in the heading and
the text but not for the other counters = (floats, descriptions etc.).

The solution you got from Aditya= at stackexchange works but it=E2=80=99s more a hack
because suffixe= s are used when you use a splitted float (e.g. a table which spansmultiple pages) where you get 1.a.= , 1.b etc. (the a and b are suffixes) as numbers.=E2=80=99

=
So since numberstoppers =E2=80=94 of any kinds (for floats, secti= ons, descriptions) =E2=80=94 are supposed to separate numbers from titles, = it would be logical that they don=E2=80=99t appear in references because re= ferences don=E2=80=99 have titles, only numbers, so no separation sign (num= berstopper) is needed. Could you change that behaviour Hans, or add a comma= nd for setting the layout of the numbers in references (separators, counter conversion, et= c.)? The= re is already such a command for section numbers and you only have to add a= nother one for other counters.

Bes= t regards.

--047d7b624252e006de04ea752d18-- --===============1592579617== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1592579617==--