From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68569 Path: news.gmane.org!not-for-mail From: Julian Becker Newsgroups: gmane.comp.tex.context Subject: Behaviour of definereferenceformat changed? Date: Sat, 21 May 2011 18:32:34 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0335024550==" X-Trace: dough.gmane.org 1305995581 561 80.91.229.12 (21 May 2011 16:33:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 21 May 2011 16:33:01 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat May 21 18:32:56 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QNp6m-0004kX-GE for gctc-ntg-context-518@m.gmane.org; Sat, 21 May 2011 18:32:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8B2ECCAD14; Sat, 21 May 2011 18:32:53 +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 id7qlU2EVCtO; Sat, 21 May 2011 18:32:51 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D5BDCCAD08; Sat, 21 May 2011 18:32:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 82FE7CAD08 for ; Sat, 21 May 2011 18:32:49 +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 l2Ch199iRVhU for ; Sat, 21 May 2011 18:32:38 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 55FF8CAD04 for ; Sat, 21 May 2011 18:32:38 +0200 (CEST) Original-Received: from mail-iw0-f169.google.com (mail-iw0-f169.google.com [209.85.214.169]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4LGWYcK005384 for ; Sat, 21 May 2011 18:32:37 +0200 Original-Received: by iwg8 with SMTP id 8so5326565iwg.14 for ; Sat, 21 May 2011 09:32:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=NCM5N2O0MF1uqHf6fHD+kLH5ifdow1L5c+pceV0sNgk=; b=sF0jiewvjxniBLJ/qgRtZwrxZI3vvUDHsKdyFN7EJAV/Aql9ScjFVUqtu8wGlY7afr iaBUpcJZZbaIwNY1k8OaG1Ykk23HwKtYzwm7/f6bGeF6kSu2zokYaFJFpJRZ9/A6geUc 0DfEUZR+L5HtfWF/OH++eB0ZErP8IpXXoQDfs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=pQTvQcFe0Hoaco0zwJiVB8Z8fT1bG6HSQJUGCNQLEshh0tbXPh1izrUudfCtxucO9z s68qdEa4NdeOC5TdH8p5opumCeDv/9B1oRcB80TZUrGbt21Av7Jat67bZCxTLU1nU6k/ JZxCJt8jig2oqsNyyTIWmhwAVJfhnnHgeHfjw= Original-Received: by 10.42.203.132 with SMTP id fi4mr6501683icb.280.1305995554341; Sat, 21 May 2011 09:32:34 -0700 (PDT) Original-Received: by 10.42.176.74 with HTTP; Sat, 21 May 2011 09:32:34 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bEKgwzqK - b5f7892b47f1 - 20110521 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:68569 Archived-At: --===============0335024550== Content-Type: multipart/alternative; boundary=20cf303f648418450004a3cbc94c --20cf303f648418450004a3cbc94c Content-Type: text/plain; charset=ISO-8859-1 Can it be that in the beta version 2011.05.01, the behaviour of \definereferenceformat changed? I used to define: \definereferenceformat [ineqn] [left=(,right=),text=equation] and get e.g. "equation (1)", but now all it produces "(equation 1)". Is it supposed to behave that way? Do I have to use something like \definereferenceformat [ineqn] [right={)},text={equation (}] to get what I want, or is there something better? Example: \definereferenceformat [ineqn] [left=(,right=),text=equation] \starttext Here in \ineqn[eq1]. \placeformula[eq1] \startformula a^2+b^2=c^2 \stopformula \stoptext Julian. -- "Keep thy heart with all diligence; for it is the wellspring of life." --20cf303f648418450004a3cbc94c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Can it be that in the beta version 2011.05.01, the behaviour of \defin= ereferenceformat changed?
I used to define:
\definereferenceformat [ineqn] [left=3D(,right=3D),text=3Dequation]<= /div>
and get e.g. "equation (1)", but now all it produces "(= equation 1)". Is it supposed to behave that way?
Do I have = to use something like
\definereferenceformat [ineqn] [right=3D{)}= ,text=3D{equation (}]
to get what I want, or is there something better?

<= div>

Example:

\definereferenceformat [ineqn] [left=3D(,right=3D),text=3Dequation]
\starttext
Here in \ineqn[eq1].
\placeformula[eq1]
\sta= rtformula
a^2+b^2=3Dc^2
\stopformula
\stoptext

<= /div>

Julian.


--
"Keep t= hy heart with all diligence; for it is the wellspring of life."
--20cf303f648418450004a3cbc94c-- --===============0335024550== 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 ___________________________________________________________________________________ --===============0335024550==--