At 2018-04-22T20:08:34+02:00, Wolfgang Schuster wrote:

> You can use the following example as test.
>
> %%%% begin example
> \starttext
>
> \def\hello-1{Hello \letterhash 1}
>
> \def\hello-2{Hello \letterhash 2}
>
> \hello-1
>
> \hello-2
>
> \stoptext
> %%%% end example
>
> Here I create a command named \hello which has to be followed by “-1"
> and "-2".
>
> When you run TeX on this example you get the following error message:
>
> %%%% begin error message
> tex error       > tex error on line 7 in file /Users/wolf/TeX/test/
> test.tex: ! Use of \hello doesn't match its definition
>
> l.7 \hello-1
> %%%% end error message

Yes, I get that error.  Thanks for the explanation.

Raghu.

--
N. Raghavendra <[email protected]>, http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to