ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* the difference between \def and \define
@ 2013-04-15 13:47 Tim Li
  2013-04-15 14:04 ` Wolfgang Schuster
  2013-04-15 14:07 ` Marco Patzer
  0 siblings, 2 replies; 14+ messages in thread
From: Tim Li @ 2013-04-15 13:47 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 370 bytes --]

In plain TeX, we always use \def for creating a new macro, but in ConTeXt, sometimes it won't work, especially when making own chapter titles. The \def can produce the error message like this : "Argument of \... has an extra }". \define in ConTeXt can solve this problem. What's the difference between \def and \define? Can I use \define to replace all \def? 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 604 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 14+ messages in thread

end of thread, other threads:[~2013-04-16 16:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-15 13:47 the difference between \def and \define Tim Li
2013-04-15 14:04 ` Wolfgang Schuster
2013-04-15 14:07 ` Marco Patzer
2013-04-15 14:12   ` Hans Hagen
2013-04-15 14:21     ` Wolfgang Schuster
2013-04-16  8:42       ` Hans Hagen
2013-04-16  9:05         ` Marco Patzer
2013-04-16  9:10           ` Thomas A. Schmitz
2013-04-16 10:11             ` Marco Patzer
2013-04-16 16:03               ` Hans Hagen
2013-04-16 10:34             ` Hans Hagen
2013-04-16 11:14               ` Alan BRASLAU
2013-04-16 12:01                 ` Hans Hagen
2013-04-15 14:26     ` Marco Patzer

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