From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85058 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?G=E9ry_Ogam?= Newsgroups: gmane.comp.tex.context Subject: Preventing caption stoppers from appearing in references Date: Fri, 1 Nov 2013 17:51:25 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1843535697==" X-Trace: ger.gmane.org 1383324697 29746 80.91.229.3 (1 Nov 2013 16:51:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Nov 2013 16:51:37 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 01 17:51:43 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 1VcHwk-0006at-4D for gctc-ntg-context-518@m.gmane.org; Fri, 01 Nov 2013 17:51:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6E3481020C; Fri, 1 Nov 2013 17:51:41 +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 iJ8M9-j0FK+A; Fri, 1 Nov 2013 17:51:36 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id EB310101FA; Fri, 1 Nov 2013 17:51:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 48E1E101FA for ; Fri, 1 Nov 2013 17:51:34 +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 t5VE4OO7hb-V for ; Fri, 1 Nov 2013 17:51:26 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 554E4101EA for ; Fri, 1 Nov 2013 17:51:26 +0100 (CET) Original-Received: from mail-we0-x233.google.com (mail-we0-x233.google.com [IPv6:2a00:1450:400c:c03::233]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rA1GpP9k032425 for ; Fri, 1 Nov 2013 17:51:25 +0100 Original-Received: by mail-we0-f179.google.com with SMTP id w61so4155876wes.38 for ; Fri, 01 Nov 2013 09:51:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=gXg6k51qoOCbisGzDJUkSSaqEvtkTjOyoWOH2K+t38g=; b=dLk9xuVCLqm93OnYBuFIXJ5tBnArQ+9TWwjnomidZW/e3nDkeW3QfwcsgmFNc4AP3q HDtzhcfEtRz2+GqcRaw2I8X6f/w2JrKScNQTaAN4gve3ouSJue2UmZLYI7UYm7jOA4Ht J9CnsRtZXOux719HOSw5XKFg5B5SfZiRQGbgketBisASB0DaDWWGYwLBoLDl23hX1zL0 Xugra9eL+JJ5f+Zh0zrlRswMOVJ1OOO3YU4hJn223WH2tDp9gMLkKXR5Ngu4EvVYeT5N EKRbiE+RUn2a4MrUTcWCtyyo7SiA9IbucNWFUFg8TpqAPcDUnvCLM9gfIz/aC98t+kJw HxUw== X-Received: by 10.180.160.240 with SMTP id xn16mr3119477wib.62.1383324685345; Fri, 01 Nov 2013 09:51:25 -0700 (PDT) Original-Received: by 10.216.244.4 with HTTP; Fri, 1 Nov 2013 09:51:25 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c03::233; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WKIgPptS - 1776a350478c - 20131101 (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:85058 Archived-At: --===============1843535697== Content-Type: multipart/alternative; boundary=047d7b6251b07aa99504ea2060da --047d7b6251b07aa99504ea2060da Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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: =91I=92m sorry to disappoint you but there is no official solution to achie= ve 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=92s more a h= ack 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) as numbers.=92 So since numberstoppers =97 of any kinds (for floats, sections, description= s) =97 are supposed to separate numbers from titles, it would be logical that they don=92t appear in references because references don=92 have titles, on= ly 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. --047d7b6251b07aa99504ea2060da Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
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:

=91I=92m 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=92s 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.=92

=
So since numberstoppers =97 of any kinds (for floats, sections, d= escriptions) =97 are supposed to separate numbers from titles, it would be = logical that they don=92t appear in references because references don=92 ha= ve titles, only numbers, so no separation sign (numberstopper) is needed. C= ould you change that behaviour Hans, or add a command for setting the layou= t of the numbers in references (separators, counter conversion, etc.)? There is already such a com= mand for section numbers and you only have to add another one for other cou= nters.

Bes= t regards.
--047d7b6251b07aa99504ea2060da-- --===============1843535697== 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 ___________________________________________________________________________________ --===============1843535697==--