From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65248 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Bad interaction between new interpretation of underscore and modules Date: Fri, 14 Jan 2011 12:13:57 +0100 Message-ID: References: <4D302CEE.60701@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1295003659 16176 80.91.229.12 (14 Jan 2011 11:14:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 14 Jan 2011 11:14:19 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 14 12:14:11 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 1Pdhbf-00040e-O9 for gctc-ntg-context-518@m.gmane.org; Fri, 14 Jan 2011 12:14:11 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 896BFCA9B4; Fri, 14 Jan 2011 12:14:11 +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 VG7e3EXH3fZG; Fri, 14 Jan 2011 12:14:11 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 20413CA97D; Fri, 14 Jan 2011 12:14:08 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D515CCA97D for ; Fri, 14 Jan 2011 12:14:06 +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 QCi-6RYdfySH for ; Fri, 14 Jan 2011 12:14:04 +0100 (CET) Original-Received: from filter7-ams.mf.surf.net (filter7-ams.mf.surf.net [192.87.102.75]) by balder.ntg.nl (Postfix) with ESMTP id AE092CA97A for ; Fri, 14 Jan 2011 12:14:04 +0100 (CET) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter7-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p0EBE2rM028214 for ; Fri, 14 Jan 2011 12:14:03 +0100 Original-Received: by bwz16 with SMTP id 16so2480252bwz.14 for ; Fri, 14 Jan 2011 03:14:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=oRgXC1q2A9hzLofkjAmLAYHiSqVU44ephY32RdaBmRE=; b=nYwP37SrNti2LM8BRNAbTYQ61ysRK1iyxSmXowab4LCZ+32ACcN/az5YYCimis80GP OKiMAE0pCj5K5vIU308F+hDgAD3acxTbLJXr2qswSC6i24a0bBrq33U5dAUah3FnmvlP Xh7A64t+JWC/Bb2CQeBg2y6+ojQaQ4laGjMew= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=Xl6PX0vyEIyCVIHyI3iMv+qdUaucHVYoIyM5gdUzKCBev0mFT1ARa269cR7yEPItbb 0ypHuhyBwTRJduK98dYNYkgeYcR4o6aHiSsmEgthVreC/VQO+KjlC4C25qUttx8e+b95 XFqmkAF8Z6XFFFYPdJaFI+7WHLvM/4KylrZh8= Original-Received: by 10.204.121.142 with SMTP id h14mr497358bkr.93.1295003641730; Fri, 14 Jan 2011 03:14:01 -0800 (PST) Original-Received: from [192.168.2.23] (p5B294CB3.dip.t-dialin.net [91.41.76.179]) by mx.google.com with ESMTPS id q18sm1222336bka.15.2011.01.14.03.13.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 14 Jan 2011 03:14:00 -0800 (PST) In-Reply-To: <4D302CEE.60701@wxs.nl> X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.5 (Score 0, tokens from: ) X-CanIt-Geo: ip=209.85.214.41; 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: 0DDTne2xi - 69a5d8a8f963 - 20110114 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.75 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:65248 Archived-At: Am 14.01.2011 um 12:01 schrieb Hans Hagen: > just add a space before the _ when it directly follows a \cs, so > = > ... $\cs _2$ ... > = > but regular text like > = > ... $x_2$ ... > = > can be left as it is He put the definitions in a external file which he loads with \usemodule an= d then this won=92t work \starttexcode \def\lambdaone{\lambda_x} \stoptexcode \starttexcode \def\lambdatwo{\lambda _x} \stoptexcode \starttexcode \pushcatcodetable\donknuthmode \def\lambdathree{\lambda_x} \popcatcodes \stoptexcode \starttext \doifmode{one} {$\lambdaone $} \doifmode{two} {$\lambdatwo $} \doifmode{three}{$\lambdathree$} \stoptext 1. context --mode=3Done test.tex ! Undefined control sequence. \lambdaone ->\lambda_x = = $\lambdaone = $ \firstofoneargument #1->#1 = l.16 \doifmode{one} {$\lambdaone $} = ? = 2. context --mode=3Dtwo test.tex ! Undefined control sequence. \lambdatwo ->\lambda _ x $\lambdatwo = $ \firstofoneargument #1->#1 = l.17 \doifmode{two} {$\lambdatwo $} = ? = 3. context --mode=3Dthree test.tex -> test.pdf Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________