From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83456 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: A very simple macro that does not work... Date: Thu, 18 Jul 2013 06:48:51 -0400 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1041372481==" X-Trace: ger.gmane.org 1374144563 29332 80.91.229.3 (18 Jul 2013 10:49:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Jul 2013 10:49:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 18 12:49:26 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 1Uzlm1-00088G-Pe for gctc-ntg-context-518@m.gmane.org; Thu, 18 Jul 2013 12:49:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 714A2101EC; Thu, 18 Jul 2013 12:49:18 +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 Za+v6Kt846xV; Thu, 18 Jul 2013 12:49:07 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7619B101E4; Thu, 18 Jul 2013 12:49:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5FBF5101E4 for ; Thu, 18 Jul 2013 12:49:06 +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 trsXJH15HzST for ; Thu, 18 Jul 2013 12:48:46 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 64137101E0 for ; Thu, 18 Jul 2013 12:48:46 +0200 (CEST) Original-Received: from mail-vb0-x22e.google.com (mail-vb0-x22e.google.com [IPv6:2607:f8b0:400c:c02::22e]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r6IAmp6s016787 for ; Thu, 18 Jul 2013 12:48:52 +0200 Original-Received: by mail-vb0-f46.google.com with SMTP id 10so2215468vbe.19 for ; Thu, 18 Jul 2013 03:48:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=t8RvrBXaXgFaULZ1ij3TVZVeTw0s5cHsrcN4ijmj2JE=; b=q28rYn5CCTfg8BhUnS8dEdxP6X2ESMlOltRSqgSn3W4bN6QiMMYCdyrzaUnBLO/JpR Q7XtNy8mWvhxzzoJzL8RrXfr2BRtt5O7YL5wgFZBUFCgVJ6IaM/jQXy3YNWkV7WPVVMw XEXTvZOhyO0WyBeoe9PDzZ6yznLCi+1zTjl9g1P0zjmQ17IClNQPfn71nwC96W51yLHE uyHz0zPNjsP673Xash9aoQDl9BjxymRxBwZHX6tOHYU0ueLJtiZtxfn9agEUDCfWdZmt LmAwDDNyncObroKrjKe8K9iilCZ9x0P/hv3wkrrwEVxFddZ4eaYxCRXOBSyS1k8NOQ8G 2RyA== X-Received: by 10.58.168.202 with SMTP id zy10mr3847057veb.23.1374144531525; Thu, 18 Jul 2013 03:48:51 -0700 (PDT) Original-Received: by 10.220.217.12 with HTTP; Thu, 18 Jul 2013 03:48:51 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400c:c02::22e; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01K1KMQhm - 29d608d34706 - 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:83456 Archived-At: --===============1041372481== Content-Type: multipart/alternative; boundary=047d7b673434abf84604e1c6f49e --047d7b673434abf84604e1c6f49e Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Should the definition not be \define[1]\anios{{\tfx \inmagin{#1}}} =85=85=85=85=85=85=85=85=85=85\inmargin=85.? Alan On Wed, Jul 17, 2013 at 6:59 PM, Andres Conrado wrot= e: > 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 > > _________________________________________________________________________= __________ > --047d7b673434abf84604e1c6f49e Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
Should the definition not be
=A0 \define[1]\anios{{\tfx \inmagin{#1}}= }
=85=85=85=85= =85=85=85=85=85=85\inmargin=85.?

Alan


On Wed, Jul 17, 2013 at 6:59 PM, An= dres Conrado <elandi@chiquitico.org> wrote:
Hello, list. Also posted this to:
http://tex.stackexchange.com/q= uestions/124494/simple-macro-does-not-work-with-context-why

ConTeXt version: 201= 3.06.10 22:51

MWE:

%%%%%%%%%%%%%%%%%%%%%%%
=A0 =A0 \define[1]\anios{{\tfx \inmagin{#1}}}

=A0 =A0 \starttext
=A0 =A0 {\tfx \inmargin{2008-2012}}This is what has been done so far in
this years. % this works...
=A0 =A0 \anios{2008-2012}This is what has been done so far in this years. % this doesn't work...
=A0 =A0 \stoptext
%%%%%%%%%%%%%%%%%%%%%%%%

Error message: =A0 =A0system =A0 =A0 =A0 =A0 =A0> 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 t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________

--047d7b673434abf84604e1c6f49e-- --===============1041372481== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1041372481==--