[NTG-context] Keep struggling with old style numerals!

2011-12-08 Thread Verhaag, G.C.H.M.

Hi ConTeXt user's,

A few days ago I installed the latest ConTeXt version but now my 
oldstyle settings don't seem to work any more!


I use the following settings in my preamble:

\usetypescript[schola]
\setupbodyfont[schola,10pt]

\definefontfeature [oldstyle] [default] [onum=yes]
\addff{oldstyle}

Perhaps something changed that I missed! Thanks in advance!

Regards
Gerard Verhaag

P.S. I use ConTeXt  ver: 2011.11.29 23:11 MKIV  fmt: 2011.12.5  int: 
english/english!

___
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] Keep struggling with old style numerals!

2011-12-08 Thread Paul Menzel
Dear Gerard,


Am Donnerstag, den 08.12.2011, 10:56 +0100 schrieb Verhaag, G.C.H.M.:

 A few days ago I installed the latest ConTeXt version but now my 
 oldstyle settings don't seem to work any more!

what version did you use before?

 I use the following settings in my preamble:
 
 \usetypescript[schola]
 \setupbodyfont[schola,10pt]
 
 \definefontfeature [oldstyle] [default] [onum=yes]
 \addff{oldstyle}
 
 Perhaps something changed that I missed! Thanks in advance!

Do you get an error message or are the settings just not applied? An
output file from a working ConTeXt version and one from the current one
would be nice too.


Thanks,

Paul


signature.asc
Description: This is a digitally signed message part
___
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] Keep struggling with old style numerals!

2011-12-08 Thread Andreas Harder

On 08.12.2011, at 10:56, Verhaag, G.C.H.M. wrote:

 Hi ConTeXt user's,
 
 A few days ago I installed the latest ConTeXt version but now my oldstyle 
 settings don't seem to work any more!
 
 I use the following settings in my preamble:
 
 \usetypescript[schola]
 \setupbodyfont[schola,10pt]
 
 \definefontfeature [oldstyle] [default] [onum=yes]
 \addff{oldstyle}

Hi,

you can play with my example. It seems script=auto (default) is not that 
robust. Setting it to latn or dflt should help.

\definefontfeature [default] [default] [script=latin]
\definefontfeature [osf]   [onum=yes]
\definefontfeature [oldstyle][default] [onum=yes]

\definealternativestyle [osf] [\addff{osf}] [\addff{osf}]

\setuphead[section][style=osf]

\setupbodyfont[schola]

\starttext
  \section{0123456789 -- ---}
  {\addff{osf}0123456789 -- ---} \par
  {\osf 0123456789 -- ---} \par
  {\setff{oldstyle}0123456789 -- ---} \par
  {\os 0123456789 -- ---}
\stoptext


Regards
Andreas
___
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] Keep struggling with old style numerals! SOLVED!

2011-12-08 Thread Verhaag, G.C.H.M.

On 12/08/2011 11:27 AM, Andreas Harder wrote:

On 08.12.2011, at 10:56, Verhaag, G.C.H.M. wrote:

   

Hi ConTeXt user's,

A few days ago I installed the latest ConTeXt version but now my oldstyle 
settings don't seem to work any more!

I use the following settings in my preamble:

\usetypescript[schola]
\setupbodyfont[schola,10pt]

\definefontfeature [oldstyle] [default] [onum=yes]
\addff{oldstyle}
 

Hi,

you can play with my example. It seems script=auto (default) is not that robust. Setting it to 
latn or dflt should help.

\definefontfeature [default] [default] [script=latin]
\definefontfeature [osf]   [onum=yes]
\definefontfeature [oldstyle][default] [onum=yes]

\definealternativestyle [osf] [\addff{osf}] [\addff{osf}]

\setuphead[section][style=osf]

\setupbodyfont[schola]


   


Hi,

Thanks for the tips! I changed [default] into [latn], which brought back 
the oldstyle numerals!


By the way, I think I used a version from last August before upgrading.

Regards,
Gerard Verhaag
___
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
___