From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83450 Path: news.gmane.org!not-for-mail From: Andres Conrado Newsgroups: gmane.comp.tex.context Subject: A very simple macro that does not work... Date: Wed, 17 Jul 2013 17:59:30 -0500 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1374102505 14809 80.91.229.3 (17 Jul 2013 23:08:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Jul 2013 23:08:25 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 18 01:08:28 2013 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 1Uzapg-0000dc-1f for gctc-ntg-context-518@m.gmane.org; Thu, 18 Jul 2013 01:08:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3604C101EC; Thu, 18 Jul 2013 01:08:21 +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 TZc9KKpCu1GP; Thu, 18 Jul 2013 01:08:09 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 97DE9101E4; Thu, 18 Jul 2013 01:08:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 09671101E4 for ; Thu, 18 Jul 2013 01:08:08 +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 Q1B1cyMkFb1j for ; Thu, 18 Jul 2013 01:07:48 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id DC9A9101E0 for ; Thu, 18 Jul 2013 01:07:47 +0200 (CEST) Original-Received: from gproxy3-pub.unifiedlayer.com (gproxy3-pub.unifiedlayer.com [69.89.30.42]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with SMTP id r6HN7ouT018852 for ; Thu, 18 Jul 2013 01:07:51 +0200 Original-Received: (qmail 25379 invoked by uid 0); 17 Jul 2013 23:07:42 -0000 Original-Received: from unknown (HELO mailchannelsproxy3.unifiedlayer.com) (66.147.243.72) by gproxy3.unifiedlayer.com with SMTP; 17 Jul 2013 23:07:42 -0000 X-Sender-Id: {1127:just53.justhost.com:chiquit1:chiquitico.org} {sentby:smtp auth 209.85.215.52 authed with elandi@chiquitico.org} Original-Received: from just53.justhost.com (just53.justhost.com [173.254.28.53]) by 0.0.0.0:2500 (trex/4.8.64); Wed, 17 Jul 2013 23:07:42 GMT DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=chiquitico.org; s=default; h=Content-Type:To:Subject:Message-ID:Date:From:MIME-Version; bh=SOKpmvT4H8r5qEVhgNytX/FtP9Q690sm0FI1dcJ86rg=; b=VvSa6Fg8qnY59AJyVHm9KDC63nhs6pH1fUkg1gNiRVuM04P+BjqHSpIvmeqkzpcaFY5ISEYkwYzSWbcJXEPYrmty6S4BqQu9CGDZyoQ0TxOZwu4VOnbbKd9FptbMIX6R; Original-Received: from [209.85.215.52] (port=64606 helo=mail-la0-f52.google.com) by just53.justhost.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.80) (envelope-from ) id 1Uzahi-0007N3-S9 for ntg-context@ntg.nl; Wed, 17 Jul 2013 17:00:15 -0600 Original-Received: by mail-la0-f52.google.com with SMTP id fo12so1967715lab.11 for ; Wed, 17 Jul 2013 16:00:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=SOKpmvT4H8r5qEVhgNytX/FtP9Q690sm0FI1dcJ86rg=; b=JymhI0RnF/5okJCYM7pHB19bpDa2ikk0kjeIdFnDlL0vwYZBvyGY+e2EzA+BuadL6L VnWGwN2kP+Rt3/I+pLk1ZQxfZ81cy+8XCySYEyUG88OflnTWgl+KLBFVJ55nA66sVOjs ioS06oDVGKj5vvWcaetSc4EG21Wc6cjNEmi+LBmeqN1yq91yKkH97D1btJIupfoLQc1n ZORaXmUzA0lLYuIJ2h2+qbG7TIHZvDADbB4o/VK5Oke2pPnyiKkRJ1UqhRBbmqjHFgIT JqvtfoTSwERqc47ynKN1/LPn1/JBBcmggfckKtN39ovg2eGNSck4r4721Ouu+mRH5GQM Wytg== X-Received: by 10.152.115.194 with SMTP id jq2mr3848742lab.53.1374102010699; Wed, 17 Jul 2013 16:00:10 -0700 (PDT) Original-Received: by 10.112.69.194 with HTTP; Wed, 17 Jul 2013 15:59:30 -0700 (PDT) X-Identified-User: {1127:just53.justhost.com:chiquit1:chiquitico.org} {sentby:smtp auth 209.85.215.52 authed with elandi@chiquitico.org} X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=69.89.30.42; country=US; region=UT; city=Provo; postalcode=84606; latitude=40.2181; longitude=-111.6133; metrocode=770; areacode=801; http://maps.google.com/maps?q=40.2181,-111.6133&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07K1z7Ot2 - a6f6c763ea53 - 20130718 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:83450 Archived-At: Hello, list. Also posted this to: http://tex.stackexchange.com/questions/124494/simple-macro-does-not-work-with-context-why ConTeXt version: 2013.06.10 22:51 MWE: %%%%%%%%%%%%%%%%%%%%%%% \define[1]\anios{{\tfx \inmagin{#1}}} \starttext {\tfx \inmargin{2008-2012}}This is what has been done so far in this years. % this works... \anios{2008-2012}This is what has been done so far in this years. % this doesn't work... \stoptext %%%%%%%%%%%%%%%%%%%%%%%% Error message: system > tex > error on line 5 in file [...]/MWE.tex: Undefined control sequence ... Any ideas? Maybe is something stupid, but it doesn't work. I have other `\define` commands in the same file and they work very well. ___________________________________________________________________________________ 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 ___________________________________________________________________________________