From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83774 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Hyphen as separator for formulas Date: Sat, 10 Aug 2013 18:16:01 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1376151402 11907 80.91.229.3 (10 Aug 2013 16:16:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Aug 2013 16:16:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Aug 10 18:16:42 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 1V8BqK-00020I-O2 for gctc-ntg-context-518@m.gmane.org; Sat, 10 Aug 2013 18:16:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DE2541021F; Sat, 10 Aug 2013 18:15: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 qPWK9AvTQ+KN; Sat, 10 Aug 2013 18:15:41 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id F00161021A; Sat, 10 Aug 2013 18:15:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E17341021A for ; Sat, 10 Aug 2013 18:15:38 +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 uqyAYm4uFgkG for ; Sat, 10 Aug 2013 18:15:19 +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 4BFD710219 for ; Sat, 10 Aug 2013 18:15:19 +0200 (CEST) Original-Received: from mail-ea0-x22b.google.com (mail-ea0-x22b.google.com [IPv6:2a00:1450:4013:c01::22b]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r7AGG4J5020036 for ; Sat, 10 Aug 2013 18:16:04 +0200 Original-Received: by mail-ea0-f171.google.com with SMTP id n15so2595605ead.2 for ; Sat, 10 Aug 2013 09:16:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=QphbRV3NwtgZ9O6HxiQcZ2Tyd+WmpwuxyWeiJmAVlgw=; b=l3ypXp79GJEb2Zw8QXldSNt9KrMraKO0PvtUga8O7xnMF0k9kQjUht7+yHvgHGSIqi A16+SEBL87oeiWSr9p/AuKEN9G6G90RH2NmdfsytjIbdNpVrdSuWfTXlx0Ovr2AmViHx nuIVqgfDlqXuaQgkDqNxH+Z3SZ3YkjAOkKwAf6WRhSZgyyClV0Oqt0cW5wzAE0wd+/hr jBOuYBMKlYDszabe+Vphvvyx/jfq/XW/lEztBT22YWAfq/F261cDUcdHNzuWBWQJfQn6 XKLMK2TCHR5oEZMb7rPVp8qJgDq2b1uR8txalBpy5p9GqiFRRBLU6lBy2Vbz4jM4hgJ9 1+Xg== X-Received: by 10.14.221.72 with SMTP id q48mr17880996eep.94.1376151364581; Sat, 10 Aug 2013 09:16:04 -0700 (PDT) Original-Received: from keima.localdomain (x2f22722.dyn.telefonica.de. [2.242.39.34]) by mx.google.com with ESMTPSA id m54sm39320103eex.2.2013.08.10.09.16.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 10 Aug 2013 09:16:03 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1508) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c01::22b; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01Kb4g4WS - 75ad95637e7f - 20130810 (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:83774 Archived-At: Am 10.08.2013 um 17:42 schrieb Thomas Kreuzer : > Hello everyone, > > I am using mkiv, and my qestion is: > Is it possible to have a hyphen instead of a dot as a separator for formula references? > I can achieve it by using > > \definestructureseparatorset[default][][-] > > but this changes all separators in my document (including section headers etc.). The command isn't referenced in the wiki, so I am at a loss if this is even possible, and how to achieve it. > > And > > \setupformulas[separator={-}] > > seems to have no effect at all. Instead if redefining the default separator for all floats you can create your own set and apply it only to formulas. There are different separators you can set: 1. The separator between the section numbers in the prefix, 2. the separator between the prefix and the formula number and 3. the separator between the formula numbers (main and sub numbers). \defineseparatorset[formulaprefix][][+] \defineseparatorset[formulanumber][][-] \setupformulas [prefixseparatorset=formulaprefix, numberseparatorset=formulanumber, prefixconnector=?, prefixsegments=1:*] \starttext \chapter{Formulas} \section{Indeed} \startplaceformula \startformula c^2 = a^2 + b^2 \stopformula \stopplaceformula \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 ___________________________________________________________________________________