On Feb 26, 2012, at 6:44 AM, Stefan Müller wrote:

> Hi list,
>
> there is possibly an easy explanation for my following problem, but I don't 
> know it.  Why does \Word have no effect in the following example, and how can 
> I make it work?  In my real document I have \Word in a macro inside the 
> title, so I can't just write "Foo" in the title.
>
> \defineenumeration[myenum][title=yes]
>
> \starttext
>
> \startmyenum{\Word{foo}}
>       bar
> \stopmyenum
>
> \stoptext
>
> Any help appreciated, thanks in advance!
> Stefan
> --

Hi,

I'm new to ConTeXt, but I tried your example, adding

  \def\Word#1{#1-#1}

and got

  myenum 1 (foo-foo)

  bar

for output.  It seems right to me, perhaps?  Maybe the problem is with your 
macro \Word?  I'm running:

  ConTeXt  ver: 2011.05.18 18:04 MKIV  fmt: 2012.1.25  int: english/english

Michael


________________________________

This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
___________________________________________________________________________________
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 via email to