Re: [NTG-context] oldstyle numerals in mathmode

2016-03-04 Thread Alan Bowen
This works perfectly, Wolfgang. Many thanks. You are a lifesaver!

Alan

On Fri, Mar 4, 2016 at 9:02 AM, Wolfgang Schuster <
schuster.wolfg...@gmail.com> wrote:

> Alan Bowen 
> 4. März 2016 um 14:49
> As I feared, Hans. But thanks. I must re-code the math for the publisher,
> then.
>
> You can use the font fallback mechanism:
>
> \definefontfamily[mainface][rm][TeX Gyre
> Pagella][features={f:oldstyle,default}]
>
> \definefallbackfamily[mainface][mm][TeX Gyre
> Pagella][preset=math:digitsnormal,features=f:oldstyle]
> \definefontfamily[mainface][mm][Latin Modern Math]
>
> \setupbodyfont[mainface]
>
> \starttext
>
> 0123456789
>
> \m{0123456789}
>
> \stoptext
>
> Wolfgang
>
>
> ___
> 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
>
> ___
>
___
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
___

Re: [NTG-context] oldstyle numerals in mathmode

2016-03-04 Thread Wolfgang Schuster

Alan Bowen 
4. März 2016 um 14:49
As I feared, Hans. But thanks. I must re-code the math for the 
publisher, then.

You can use the font fallback mechanism:

\definefontfamily[mainface][rm][TeX Gyre 
Pagella][features={f:oldstyle,default}]


\definefallbackfamily[mainface][mm][TeX Gyre 
Pagella][preset=math:digitsnormal,features=f:oldstyle]

\definefontfamily[mainface][mm][Latin Modern Math]

\setupbodyfont[mainface]

\starttext

0123456789

\m{0123456789}

\stoptext

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

Re: [NTG-context] oldstyle numerals in mathmode

2016-03-04 Thread Alan Bowen
As I feared, Hans. But thanks. I must re-code the math for the publisher,
then.

Alan

On Thu, Mar 3, 2016 at 6:18 PM, Hans Hagen  wrote:

> On 3/3/2016 11:11 PM, Alan Bowen wrote:
>
>> I am am using for my mainface, a font that has only oldstyle numerals.
>> For math, I am using Latin Modern for math. How do I get output in
>> oldstyle numbers starting with
>> \definefontfamily[mainface][math][Latin Modern Math]?
>>
>
> there is no oldstyle in math
>
> -
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>   tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] oldstyle numerals in mathmode

2016-03-03 Thread Hans Hagen

On 3/3/2016 11:11 PM, Alan Bowen wrote:

I am am using for my mainface, a font that has only oldstyle numerals.
For math, I am using Latin Modern for math. How do I get output in
oldstyle numbers starting with
\definefontfamily[mainface][math][Latin Modern Math]?


there is no oldstyle in math

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] oldstyle numerals in mathmode

2016-03-03 Thread Alan Bowen
I am am using for my mainface, a font that has only oldstyle numerals. For
math, I am using Latin Modern for math. How do I get output in oldstyle
numbers starting with
\definefontfamily[mainface][math][Latin Modern Math]?


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