From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68349 Path: news.gmane.org!not-for-mail From: Julian Becker Newsgroups: gmane.comp.tex.context Subject: Re: Strange behavior with square brackets in formula and \rm subscripts Date: Thu, 12 May 2011 14:05:57 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1105822033==" X-Trace: dough.gmane.org 1305201986 31497 80.91.229.12 (12 May 2011 12:06:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 May 2011 12:06:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu May 12 14:06:21 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 1QKUer-0003r4-DX for gctc-ntg-context-518@m.gmane.org; Thu, 12 May 2011 14:06:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7A375CACDE; Thu, 12 May 2011 14:06:20 +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 xclPWtEYp2bW; Thu, 12 May 2011 14:06:14 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CA995CACDF; Thu, 12 May 2011 14:06:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 717FFCACDF for ; Thu, 12 May 2011 14:06:13 +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 kMk5T07gsQUe for ; Thu, 12 May 2011 14:05:59 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 29A99CACDE for ; Thu, 12 May 2011 14:05:59 +0200 (CEST) Original-Received: from mail-iw0-f169.google.com (mail-iw0-f169.google.com [209.85.214.169]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4CC5vTJ011591 for ; Thu, 12 May 2011 14:05:58 +0200 Original-Received: by iwg8 with SMTP id 8so1948630iwg.14 for ; Thu, 12 May 2011 05:05:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=bKEBaMW+lGA8TnJHjYHS5Z/Qh8FJSbKWmODwENmDMPY=; b=UMxRqEtnfDuY1/VXb5j0SCE0YkxLiDFCahljhQSsP8LdCwPyDsjhFosWlR7+uY48rK RVXLWy97IAAF9/inx5pjzFNHBGxKb9auvFIrL8BG8TVaw94CMVkJHJPKzhcFLqZbuCJ9 l2w27T7/0xLTfXDeYV1TgXKkC4LyIRmlkRNKg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=v/nFJSIu9/ZuSaoy/dJXeut/IY8GPuMZ4t5A9O7A6lmJsKJXmziDkp4KjGGWUpIIPq /3zowXlXyEAdhG5SCwvHk5hZHs8/LUHRehYYgUu0hgC+Nywtt/LiT6Mn3Fu/cQRR2cle WCSl6EGaynVp/qr+aZMc2cEtAAC/Eun3H7o5g= Original-Received: by 10.42.238.140 with SMTP id ks12mr120484icb.414.1305201957329; Thu, 12 May 2011 05:05:57 -0700 (PDT) Original-Received: by 10.42.176.74 with HTTP; Thu, 12 May 2011 05:05:57 -0700 (PDT) In-Reply-To: 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: 0cEGA5WGd - 60209f59cde6 - 20110512 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:68349 Archived-At: --===============1105822033== Content-Type: multipart/alternative; boundary=20cf3068463906db5b04a31303ed --20cf3068463906db5b04a31303ed Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable just realized: is it perhaps that in the first case, the square brackets ar= e interpreted as a list of parameters to \startformula? 2011/5/12 Julian Becker > I just found out that I cannot (with MkIV on Windows XP, ConTeXt ver. > 2011.02.09 16:42) compile the following > > \starttext > This formula produces an error: > \startformula > [r_{\rm test}]=3Da > \stopformula > \stoptext > \starttext > However, this works: > \startformula > a=3D[r_{\rm test}] > \stopformula > > What's going on here? Using \mathrm instead of \rm in the subscript is > compiling without complaint, but produces the wrong output. > > Julian > --=20 Julian Becker Institut f=FCr Angewandte Physik, R.123 Westf=E4lische Wilhelms-Universit=E4t M=FCnster Corrensstr. 2/4 48149 M=FCnster / Westfalen Tel. 0251 83-3 61 53 Mob. 0151 599 848 29 e-mail: j_beck16@uni-muenster.de "Keep thy heart with all diligence; for it is the wellspring of life." --20cf3068463906db5b04a31303ed Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable just realized: is it perhaps that in the first case, the square brackets ar= e interpreted as a list of parameters to \startformula?

2011/5/12 Julian Becker <becker.julian@gmail.com>
I just found out that I cannot (with M= kIV on Windows XP, ConTeXt =A0ver. 2011.02.09 16:42) compile the following<= br clear=3D"all">

\starttext
This formula produces an error:
\startformula
[r_{\rm test}]=3Da
\= stopformula
\stoptext
\starttext=A0
However, this works= :
\startformula
a=3D[r_{\rm test}]
\stopformula

What's = going on here? Using \mathrm instead of \rm in the subscript is compiling w= ithout complaint, but produces the wrong output.

Julian



--
Julian Becker
Instit= ut f=FCr Angewandte Physik, R.123
Westf=E4lische Wilhelms-Universit=E4t = M=FCnster
Corrensstr. 2/4
48149 M=FCnster / Westfalen
Tel. 0251 83= -3 61 53
Mob. 0151 599 848 29
e-mail: j_beck16@uni-muenster.de

"Keep thy heart with all diligenc= e; for it is the wellspring of life."
--20cf3068463906db5b04a31303ed-- --===============1105822033== 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 ___________________________________________________________________________________ --===============1105822033==--