From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66062 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.macosx,gmane.comp.tex.context Subject: Re: \ne in a definetyping environment in context Date: Tue, 15 Feb 2011 14:52:10 +0100 Message-ID: References: Reply-To: TeX on Mac OS X Mailing List NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: multipart/mixed; boundary="===============1827814113==" X-Trace: dough.gmane.org 1297777947 9038 80.91.229.12 (15 Feb 2011 13:52:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 15 Feb 2011 13:52:27 +0000 (UTC) Cc: mailing list for ConTeXt users To: TeX on Mac OS X Mailing List Original-X-From: macosx-tex-bounces-yNUTs0qEFpZ/1wmUHrjjoYdd74u8MsAO@public.gmane.org Tue Feb 15 14:52:23 2011 Return-path: Envelope-to: gctmo-macosx-tex@m.gmane.org Original-Received: from engrmailf2.engr.psu.edu ([130.203.244.245]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PpLKG-0004Q5-G6 for gctmo-macosx-tex@m.gmane.org; Tue, 15 Feb 2011 14:52:20 +0100 Original-Received: from email (130.203.247.204) by mail.engr.psu.edu (130.203.244.245) with Microsoft SMTP Server id 8.3.83.0; Tue, 15 Feb 2011 08:52:19 -0500 Original-Received: from email.esm.psu.edu (localhost [127.0.0.1]) by email (Postfix) with ESMTP id A3965269D011; Tue, 15 Feb 2011 08:52:48 -0500 (EST) Original-Received: from engrbrightmail2.ecs.psu.edu (secmail.engr.psu.edu [130.203.254.222]) by email (Postfix) with ESMTP id 463A6269CFF3 for ; Tue, 15 Feb 2011 08:52:46 -0500 (EST) X-AuditID: 82cbfede-b7c67ae0000009b1-4e-4d5a830d28a4 Original-Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by engrbrightmail2.ecs.psu.edu (Symantec Brightmail Gateway) with SMTP id 90.AB.02481.D038A5D4; Tue, 15 Feb 2011 08:43:42 -0500 (EST) Original-Received: by ewy24 with SMTP id 24so63678ewy.41 for ; Tue, 15 Feb 2011 05:52:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=QvZi4Y4wSS/77PLVlAHWk6hYlLQPLRCJb2cLPz6JO4Y=; b=tqPGxzCzf3HdzyP3jK70FQJokuABnXqG68SG9nK8pJnQ9tj/CoM5zDzn8ebrbOf/RU ck0HaN9W3rumJ/nBEHL5x365lxHdY2TVpuiGwIOoAtDoP37TTSyXwCYUIn/kWaxbRHHV URbDIpUViGygArRBmpAJgS9fLcqEXjeHiN0Yk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=qK3KB8TWYnekxT87HqZdh2f9fSsxHUrFpRojlru3CFmBc5Vdn7MVS1fKZYlHqn/1u/ aFqbD4f2QuQSUTrqXt6bQpG6DNKE9p7NquN3S20M0Pl8secfh02oxtJFaltiYzXYAFbU KIovNmbCwDpbUm8REN4c2c02J9UXIAAtgyTQo= Original-Received: by 10.223.72.15 with SMTP id k15mr719903faj.54.1297777934696; Tue, 15 Feb 2011 05:52:14 -0800 (PST) Original-Received: from [192.168.2.29] (p5B293BE6.dip.t-dialin.net [91.41.59.230]) by mx.google.com with ESMTPS id j12sm1652441fax.9.2011.02.15.05.52.12 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Feb 2011 05:52:13 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1082) X-Brightmail-Tracker: AAAAAhdlQNgXZfiD X-BeenThere: macosx-tex-yNUTs0qEFpZ/1wmUHrjjoYdd74u8MsAO@public.gmane.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: TeX on Mac OS X Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: Errors-To: macosx-tex-bounces-yNUTs0qEFpZ/1wmUHrjjoYdd74u8MsAO@public.gmane.org Xref: news.gmane.org gmane.comp.tex.macosx:39758 gmane.comp.tex.context:66062 Archived-At: --===============1827814113== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Am 14.02.2011 um 01:37 schrieb David Arnold: > All, >=20 > I have the following in a Context file: >=20 > \definetyping[XXX] >=20 > \startXXX > If int(N/2) \ne N/2 >=20 > Then > Disp "N MUST BE EVEN" > Stop > End > \stopXXX >=20 > Is there an easy way to replace the \ne with code that will produce = the normal "not equals" symbol produced by amsmath? Use the \startlines environment. MkII: \startlines\tt If int(N/2) $\ne$ N/2 Then Disp "N MUST BE EVEN" Stop End \stoplines MkIV: \definelines[XXX][style=3Dmono] \startXXX If int(N/2) $\ne$ N/2 Then Disp "N MUST BE EVEN" Stop End \stopXXX or \startlines[style=3Dmono] If int(N/2) $\ne$ N/2 Then Disp "N MUST BE EVEN" Stop End \stoplines Wolfgang --===============1827814113== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline ----------- Please Consult the Following Before Posting ----------- TeX FAQ: http://www.tex.ac.uk/faq List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/ List Archive: http://tug.org/pipermail/macostex-archives/ TeX on Mac OS X Website: http://mactex-wiki.tug.org/ List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex --===============1827814113==--