Re: [NTG-context] Macro to write the euro symbol

2018-04-09 Thread Fabrice Couvreur
Hi Hans,
Thank you for the clarification.
Fabrice

2018-04-08 11:50 GMT+02:00 Hans Hagen :

> On 4/8/2018 9:09 AM, Otared Kavian wrote:
>
>> 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
>>
> most fonts nowadays have a properly matched euro
>
> \usesymbols[mvs] % has your EUR
>
> \starttext
>
> \unexpanded\def\euros#1{#1\,€}
>
> \euros{100}
>
> \unexpanded\def\euros#1{#1\,\symbol[europe][EUR]}
>
> \euros{100}
>
> \stoptext
>
> We don't load these symbol sets by default. Soon the tex gyre fonts will
> contain many more symbols which means that we will also get away from some
> currently traditional symbols taken from math fonts.
>
> Hans
>
> -
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
>
> 
> ___
> 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/list
> info/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@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
___

Re: [NTG-context] Macro to write the euro symbol

2018-04-08 Thread Hans Hagen

On 4/8/2018 9:09 AM, Otared Kavian wrote:

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

most fonts nowadays have a properly matched euro

\usesymbols[mvs] % has your EUR

\starttext

\unexpanded\def\euros#1{#1\,€}

\euros{100}

\unexpanded\def\euros#1{#1\,\symbol[europe][EUR]}

\euros{100}

\stoptext

We don't load these symbol sets by default. Soon the tex gyre fonts will 
contain many more symbols which means that we will also get away from 
some currently traditional symbols taken from math fonts.


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Macro to write the euro symbol

2018-04-08 Thread Fabrice Couvreur
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 :

> 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 
> 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@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@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@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
___

Re: [NTG-context] Macro to write the euro symbol

2018-04-08 Thread Otared Kavian
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  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@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@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
___

[NTG-context] Macro to write the euro symbol

2018-04-07 Thread Fabrice Couvreur
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@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
___