Re: [NTG-context] Oldstyle numbers

2014-05-21 Thread Werner Hintze

Wow! Thank you. Now I unterstand.


On 21 May 2014, at 11:06, Hans Hagen wrote:


On 5/21/2014 10:58 AM, Werner Hintze wrote:
I’m new to ConText and so my question may be a stupid one. But I 
hope

somebody can help me:

How can I activate »old style numbers« (Medievalziffern). I 
thought, it

should work like this:

\setupbodyfont[palatino, 10pt]
\definefontfeature [default] [default] [onum=yes]

But this doesn’t work. What do I have to do?


first redefine the feature, then load the bodyfont, so swap these 
commands


Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | voip: 087 875 68 74 | 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
___

[NTG-context] oldstyle numbers in TeXGyre fonts

2010-03-15 Thread Thomas A. Schmitz
Hi all, Hans,

is there or can we have an easy, fast way of setting up the TeXGyre fonts so 
that they use oldstyle numbers by default? I think this would be attractive at 
least for the serif fonts termes, pagella, schola, which all have this feature. 

All best

Thomas
___
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 numbers in TeXGyre fonts

2010-03-15 Thread Hans Hagen

On 15-3-2010 14:46, Thomas A. Schmitz wrote:

Hi all, Hans,

is there or can we have an easy, fast way of setting up the TeXGyre fonts so 
that they use oldstyle numbers by default? I think this would be attractive at 
least for the serif fonts termes, pagella, schola, which all have this feature.


\definefontfeature[default][default][onum=yes]


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | 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 numbers

2009-09-16 Thread Arno Trautmann
Hi,

I’m new to ConTeXt and try to compile a document using XeTeX. Loading an
otf font works fine, but I don’t get it to use oldstyle numbers. google
and contextgarden did give me some hints, but I didn’t get it working. I
tried:

\starttext
\definetypeface[normalfont][rm][Xserif][Arno Pro]
\stoptext

and several versions of things like [features=oldstyle], [onum=true],
\definefontfeature[mine] with oldstyle etc. but nothing worked.

So what am I doing wrong? Is there a simple way for oldstyle numbers? (I
want them in the whole document, so I prefer a simple, global solution.)

cheers,
Arno



signature.asc
Description: OpenPGP digital signature
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] oldstyle numbers

2009-09-16 Thread Wolfgang Schuster


Am 16.09.2009 um 12:07 schrieb Arno Trautmann:


Hi,

I’m new to ConTeXt and try to compile a document using XeTeX.  
Loading an
otf font works fine, but I don’t get it to use oldstyle numbers.  
google
and contextgarden did give me some hints, but I didn’t get it  
working. I

tried:

\starttext
\definetypeface[normalfont][rm][Xserif][Arno Pro]
\stoptext

and several versions of things like [features=oldstyle], [onum=true],
\definefontfeature[mine] with oldstyle etc. but nothing worked.

So what am I doing wrong? Is there a simple way for oldstyle  
numbers? (I
want them in the whole document, so I prefer a simple, global  
solution.)


\definefontfeature[default][default][onum=yes]

% when this did not work (because your context is too old) use:
% \definefontfeature[default] 
[liga=yes,kern=yes,tlig=yes,trep=yes,onum=yes]


\definetypeface[mainface][rm][Xserif][Arno Pro]

\setupodyfont[mainface]

\starttext
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] oldstyle numbers

2009-09-16 Thread Arno Trautmann
Wolfgang Schuster wrote:
 
 Am 16.09.2009 um 12:07 schrieb Arno Trautmann:
 
 Hi,

 I’m new to ConTeXt and try to compile a document using XeTeX. Loading an
 otf font works fine, but I don’t get it to use oldstyle numbers. google
 and contextgarden did give me some hints, but I didn’t get it working. I
 tried:

 \starttext
 \definetypeface[normalfont][rm][Xserif][Arno Pro]
 \stoptext

 and several versions of things like [features=oldstyle], [onum=true],
 \definefontfeature[mine] with oldstyle etc. but nothing worked.

 So what am I doing wrong? Is there a simple way for oldstyle numbers? (I
 want them in the whole document, so I prefer a simple, global solution.)
 
 \definefontfeature[default][default][onum=yes]

 \definetypeface[mainface][rm][Xserif][Arno Pro]
 
 \setupodyfont[mainface]
 
 \starttext
 0123456789
 \stoptext

Thank you very much, that works fine!
Just for future questions: Where could I have found this? (I prefer
reading documentation than wasting people’s time by asking …)

cheers,
Arno



signature.asc
Description: OpenPGP digital signature
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] oldstyle numbers

2009-09-16 Thread Wolfgang Schuster


Am 16.09.2009 um 12:25 schrieb Arno Trautmann:


Just for future questions: Where could I have found this? (I prefer
reading documentation than wasting people’s time by asking …)


- 
http://context.aanhet.net/svn/contextman/context-reference/en/co-typography.pdf
- http://context.aanhet.net/svn/contextman/context-reference/en/co-fonts.pdf

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] oldstyle numbers

2009-09-16 Thread Arno Trautmann
Wolfgang Schuster wrote:
 
 Am 16.09.2009 um 12:25 schrieb Arno Trautmann:
 
 Just for future questions: Where could I have found this? (I prefer
 reading documentation than wasting people’s time by asking …)
 
 -
 http://context.aanhet.net/svn/contextman/context-reference/en/co-typography.pdf
 
 -
 http://context.aanhet.net/svn/contextman/context-reference/en/co-fonts.pdf

Thanks again, that will help me a lot!

Arno



signature.asc
Description: OpenPGP digital signature
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] oldstyle numbers

2009-09-16 Thread Matthijs Kooijman
Hi,

 \definefontfeature[default][default][onum=yes]
Just for rerefence, this works for me as well using MkIV and luatex.

Gr.

Matthijs


signature.asc
Description: Digital signature
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] oldstyle numbers and copy pasting from pdf

2008-07-28 Thread Aditya Mahajan

Hi,

I cannot copy oldstyle numbers from a pdf. Consider

\usetypescript[palatino]
\setupbodyfont[palatin,12pt]
\setfontfeature{oldstyle}

\starttext

12345

\stoptext


When I copy from pdf (or run pdftotext) I get





How do I correct this?

Aditya___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] oldstyle numbers and copy pasting from pdf

2008-07-28 Thread Taco Hoekwater


Aditya Mahajan wrote:
 
 When I copy from pdf (or run pdftotext) I get
 
 
 
 
 
 How do I correct this?

Mkiv, yes? This is a luatex bug/limitation: it is using the
PUA numbers as ToUnicode value. I'll add a tracker item for
to fix this soon.

Best wishes,
Taco




___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] oldstyle numbers and copy pasting from pdf

2008-07-28 Thread Aditya Mahajan

On Mon, 28 Jul 2008, Taco Hoekwater wrote:




Aditya Mahajan wrote:


When I copy from pdf (or run pdftotext) I get





How do I correct this?


Mkiv, yes?


Yes, of course. Haven't used mkii in a month :-)


This is a luatex bug/limitation: it is using the
PUA numbers as ToUnicode value. I'll add a tracker item for
to fix this soon.


Thanks.

Aditya___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___