From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/48684 Path: news.gmane.org!not-for-mail From: eythanweg@gmail.com (Eythan Weg) Newsgroups: gmane.comp.tex.context Subject: Re: Value of Metapost variable as a label Date: Mon, 23 Mar 2009 21:57:25 -0400 Message-ID: <87mybbfzsq.fsf@gmail.com> References: <3b4b12310903211339h5b325c67k3e504e81cdc33e0c@mail.gmail.com> <871vsqgtee.fsf@gmail.com> <6faad9f00903221736r5b6dab4fj3b6e18fbc2c80139@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1237859919 30067 80.91.229.12 (24 Mar 2009 01:58:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Mar 2009 01:58:39 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 24 02:59:56 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Llvvl-0000nU-JM for gctc-ntg-context-518@m.gmane.org; Tue, 24 Mar 2009 02:59:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A5D9C1FE28; Tue, 24 Mar 2009 02:58:27 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15223-02; Tue, 24 Mar 2009 02:57:51 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 054621FE25; Tue, 24 Mar 2009 02:57:51 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 83B621FE25 for ; Tue, 24 Mar 2009 02:57:49 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10368-07 for ; Tue, 24 Mar 2009 02:57:41 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by ronja.ntg.nl (Postfix) with ESMTP id B709F1FE24 for ; Tue, 24 Mar 2009 02:57:41 +0100 (CET) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by filter4-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n2O1veEt001778 for ; Tue, 24 Mar 2009 02:57:41 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LlvtY-0000rm-G9 for ntg-context@ntg.nl; Tue, 24 Mar 2009 01:57:36 +0000 Original-Received: from c-98-223-90-29.hsd1.in.comcast.net ([98.223.90.29]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Mar 2009 01:57:36 +0000 Original-Received: from eythanweg by c-98-223-90-29.hsd1.in.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Mar 2009 01:57:36 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-223-90-29.hsd1.in.comcast.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) Cancel-Lock: sha1:gKY3J483/TXC3grDQlIAhF+E6cg= X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.91.229.2; country=NO; region=12; city=Oslo; latitude=59.9167; longitude=10.7500; http://maps.google.com/maps?q=59.9167,10.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 197914526 - e65603d5df4d - 20090324 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:48684 Archived-At: Aditya Mahajan Sun, 22 Mar 2009 22:24:17 -0400 (EDT) On Mon, 23 Mar 2009, Mojca Miklavec wrote: >> This however fails: >> k:=2; >> label.bot(textext("$1\over" & decimal k & "$"), (10,0)) ; > > Try with \frac instead. Or prevent expansion of \over label.bot(textext("$1\noexpand\over" & decimal k & "$"), (10,0)) ; Why \atop or \choose do not need \noexpand? What is special about \over? Aditya Thanks, Eythan ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________