ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Vedran Miletić" <rivanvx@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Commands based on previously defined commands, with fixed values for arguments
Date: Sat, 7 Aug 2010 18:54:35 +0200	[thread overview]
Message-ID: <AANLkTikUzf2+Bn-gWVnnpN4khraQoXhvve=7w5EfmYkJ@mail.gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.00.1008071233060.8743@ybpnyubfg.ybpnyqbznva>

2010/8/7 Aditya Mahajan <adityam@umich.edu>:
> Can you post a complete example? This works for me
>
> \def\HelloTwo#1#2{Hello, #1 and #2!}
> \def\HelloOne#1{\HelloTwo{#1}{Vedran}}
>
> \starttext
> \HelloOne {One}
> \stoptext

Same here, it works. From what I see, you removed the spacing, and if
I add it back it doesn't work again.

Are there any rules where the space should be and where it should not?

-- 
Vedran Miletić
___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2010-08-07 16:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-07 16:03 Vedran Miletić
2010-08-07 16:10 ` Commands based on previously defined commands, =D=A with fixed values for �rguments R. Bastian
2010-08-07 16:21   ` Commands based on previously defined commands, DA with fixed values for šrguments Vedran Miletić
2010-08-07 18:01     ` Arthur Reutenauer
2010-08-07 16:33 ` Commands based on previously defined commands, with fixed values for arguments Aditya Mahajan
2010-08-07 16:54   ` Vedran Miletić [this message]
2010-08-07 17:10     ` Arthur Reutenauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTikUzf2+Bn-gWVnnpN4khraQoXhvve=7w5EfmYkJ@mail.gmail.com' \
    --to=rivanvx@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).