ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Commands based on previously defined commands, with fixed values for  arguments
@ 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:33 ` Commands based on previously defined commands, with fixed values for arguments Aditya Mahajan
  0 siblings, 2 replies; 7+ messages in thread
From: Vedran Miletić @ 2010-08-07 16:03 UTC (permalink / raw)
  To: NTG-ConTeXt mailing list

How can I define a command by reusing the already defined command?

\def \HelloTwo #1#2 {Hello, #1 and #2!}
\def \HelloOne #1 {\HelloTwo{#1}{Vedran}}

This gives me a "Runaway argument".

-- 
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-08-07 18:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-07 16:03 Commands based on previously defined commands, with fixed values for arguments 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ć
2010-08-07 17:10     ` Arthur Reutenauer

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).