From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92564 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: \doifnotmodeelse - undefined control sequence error? Date: Tue, 15 Sep 2015 09:49:16 -0400 (EDT) Message-ID: References: <55F7E55D.1060207@gyza.cz> <55F81E14.5010203@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-5333048-1442324957=:50277" X-Trace: ger.gmane.org 1442325032 21017 80.91.229.3 (15 Sep 2015 13:50:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Sep 2015 13:50:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 15 15:50:18 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zbqcj-0004TN-4P for gctc-ntg-context-518@m.gmane.org; Tue, 15 Sep 2015 15:50:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5B44D10217 for ; Tue, 15 Sep 2015 15:50:11 +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 Crvs76IzA27Q for ; Tue, 15 Sep 2015 15:50:06 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 820B61022E for ; Tue, 15 Sep 2015 15:49:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1CC44101F6 for ; Tue, 15 Sep 2015 15:49:22 +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 BXQtbN77dAiL for ; Tue, 15 Sep 2015 15:49:20 +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 C205B101E8 for ; Tue, 15 Sep 2015 15:49:20 +0200 (CEST) Original-Received: from orford.cim.mcgill.ca (orford.cim.mcgill.ca [132.206.73.2]) by filter2-til.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t8FDnIdE003516 for ; Tue, 15 Sep 2015 15:49:19 +0200 Original-Received: from [192.168.0.12] (unknown [135.0.226.162]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: adityam) by orford.cim.mcgill.ca (Postfix) with ESMTPSA id 06AE2F7AD9; Tue, 15 Sep 2015 09:49:17 -0400 (EDT) In-Reply-To: <55F81E14.5010203@gmail.com> User-Agent: Alpine 2.02 (OSX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=132.206.73.2; country=CA; region=Quebec; city=Montreal; latitude=45.504; longitude=-73.5747; http://maps.google.com/maps?q=45.504,-73.5747&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TPhpNi0k - 98938e4ae577 - 20150915 (trained as not-spam) Received-SPF: neutral (filter2-til.mf.surf.net: 132.206.73.2 is neither permitted nor denied by domain adityam@umich.edu) receiver=filter2-til.mf.surf.net; client-ip=132.206.73.2; envelope-from=; helo=orford.cim.mcgill.ca; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:92564 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-5333048-1442324957=:50277 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Tue, 15 Sep 2015, Wolfgang Schuster wrote: >> Jaroslav Hajtmar >> 15. September 2015 11:31 >> Hello ConTeXist. >>=20 >> I do not know if I'm not mistake somewhere, but it seems to me that the= =20 >> macro \doifnotmodeelse does not work. Can anyone verify this? > There is no command with this name because there is no need for it and it= =20 > won=E2=80=99t be different from \doifmodeelse with the exception that the= second=20 > and third arguments are switched. Below is a short summary of the availab= le=20 > mode tests. > > The \doifmode{}{} command is used when you want to show/enable something= =20 > when the requested mode is enabled. > > The \doifnotmode{}{} command is used when you to show/enable something wh= en=20 > the requested mode is disable or not set. > > With the \doifelsemode{}{}{} (you can also use the alternative name=20 > \doifmodeelse) you can show/enable different things dependent whether the= =20 > requested mode is enabled or disabled. My bad. I thought that I had checked this when writing the article on=20 modes. I'll update the wiki accordingly. Aditya --0-5333048-1442324957=:50277 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --0-5333048-1442324957=:50277--