[NTG-context] Macro to write the euro symbol

Fabrice Couvreur fabrice1.couvreur at gmail.com
Sun Apr 8 10:53:27 CEST 2018


Hello Otared,
Thank you for your answer even though I knew we could do like that. In fact
I wanted to understand why a macro that works very well for several years
no works.
Fabrice

2018-04-08 9:09 GMT+02:00 Otared Kavian <otared at gmail.com>:

> Hi Fabrice,
>
> I don't know about the \symbol[EUR], but you can use directly the € symbol
> as in:
>
> \unexpanded\def\euros#1{#1\,€}
> \starttext
>
> \euros{100}
>
> \stoptext
>
> Best regards: OK
>
>
>
> On 7 Apr 2018, at 23:56, Fabrice Couvreur <fabrice1.couvreur at gmail.com>
> wrote:
>
> Hello,
> This macro does not work anymore and I do not understand why.
> Thank you
>
> \unexpanded\def\euros#1{#1\,\symbol[EUR]}
>
> \starttext
>
> \euros{100}
>
> \stoptext
> ____________________________________________________________
> _______________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context at ntg.nl / 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
> ____________________________________________________________
> _______________________
>
>
>
> ____________________________________________________________
> _______________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context at ntg.nl / 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
> ____________________________________________________________
> _______________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180408/04cd38b4/attachment.html>


More information about the ntg-context mailing list