Re: [NTG-context] typescript / variants question
2007/7/5, Patrick Gundlach [EMAIL PROTECTED]: I use oldstyle digits with a typescript using variants such as \Var[osf] to get oldstyle digits. How do I get _all_ digits, including the page number in oldstyle? \setuppagenumbering[style={\Var[osf]}] would be a solution, but it looks more like a hack - I'd like to have a complete setup. This is my typescript: this was answered only a few days ago in the thread ,,automatic oldstyle numerals`` http://www.ntg.nl/pipermail/ntg-context/2007/025795.html I guess you refer to the thread started from Alan? (I am currently offline.) My post is actually an attempt to use a slightly different approach, so I am perfectly aware of that thread. My point is, there should be a way to say 'before processing this document, switch to osf with \Var[osf] or something equivalent'. I don't want to deal with typescripts just for that. I have created a typescript already that includes oldstyle figures. IMO it should be possible to say \Var[something] for the whole document. Patrick The only method I know is the one I show in my former message with the termes-os typescipts. It would be nice to have something built-in to choose small caps, old style and tabular figures with \setupbodyfont and \switchtobodyfont like you can do with sans, mono ... fonts. For example: \setupbodyfont[fontname] for lining figures \setupbodyfont[fontname,os] for oldstyle figures ... 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] typescript / variants question
I use oldstyle digits with a typescript using variants such as \Var[osf] to get oldstyle digits. How do I get _all_ digits, including the page number in oldstyle? \setuppagenumbering[style={\Var[osf]}] would be a solution, but it looks more like a hack - I'd like to have a complete setup. This is my typescript: this was answered only a few days ago in the thread ,,automatic oldstyle numerals`` http://www.ntg.nl/pipermail/ntg-context/2007/025795.html I guess you refer to the thread started from Alan? (I am currently offline.) My post is actually an attempt to use a slightly different approach, so I am perfectly aware of that thread. My point is, there should be a way to say 'before processing this document, switch to osf with \Var[osf] or something equivalent'. I don't want to deal with typescripts just for that. I have created a typescript already that includes oldstyle figures. IMO it should be possible to say \Var[something] for the whole document. Patrick ___ 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] typescript / variants question
Hi, I use oldstyle digits with a typescript using variants such as \Var[osf] to get oldstyle digits. How do I get _all_ digits, including the page number in oldstyle? \setuppagenumbering[style={\Var[osf]}] would be a solution, but it looks more like a hack - I'd like to have a complete setup. This is my typescript: -- \starttypescript [map] [termes] [texnansi] \loadmapfile [termes.map] \stoptypescript \starttypescript [serif] [termes] [name] \definefontsynonym [Serif] [TeXGyreTermes-Regular] \definefontsynonym [SerifCaps] [TeXGyreTermes-RegularCaps] \definefontsynonym [SerifBold] [TeXGyreTermes-Bold] \definefontsynonym [SerifBoldCaps] [TeXGyreTermes-BoldCaps] \definefontsynonym [SerifItalic] [TeXGyreTermes-Italic] \definefontsynonym [SerifItalicCaps] [TeXGyreTermes-ItalicCaps] \definefontsynonym [SerifBoldItalic] [TeXGyreTermes-BoldItalic] \definefontsynonym [SerifBoldItalicCaps] [TeXGyreTermes-BoldItalicCaps] \definefontsynonym [SerifRegularOsF] [TeXGyreTermes-RegularOsF] \definefontsynonym [SerifBoldOsF] [TeXGyreTermes-BoldOsF] \definefontsynonym [SerifItalicOsF] [TeXGyreTermes-ItalicOsF] \definefontsynonym [SerifBoldItalicOsF] [TeXGyreTermes-BoldItalicOsF] \definefontvariant [Serif][osf][OsF] \definefontsynonym [SerifRegular] [Serif] \stoptypescript \starttypescript [serif] [termes] [texnansi] \definefontsynonym [TeXGyreTermes-Regular] [TeXGyreTermes-Regular--texnansi--Fkern--Fliga] [encoding=texnansi] \definefontsynonym [TeXGyreTermes-RegularCaps] [TeXGyreTermes-Regular--texnansi--Fkern--Fliga--Fsmcp] [encoding=texnansi] \definefontsynonym [TeXGyreTermes-Bold] [TeXGyreTermes-Bold--texnansi--Fkern--Fliga] [encoding=texnansi] \definefontsynonym [TeXGyreTermes-BoldCaps] [TeXGyreTermes-Bold--texnansi--Fkern--Fliga--Fsmcp] [encoding=texnansi] \definefontsynonym [TeXGyreTermes-Italic] [TeXGyreTermes-Italic--texnansi--Fkern--Fliga] [encoding=texnansi] \definefontsynonym [TeXGyreTermes-ItalicCaps] [TeXGyreTermes-Italic--texnansi--Fkern--Fliga--Fsmcp] [encoding=texnansi] \definefontsynonym [TeXGyreTermes-BoldItalic] [TeXGyreTermes-BoldItalic--texnansi--Fkern--Fliga] [encoding=texnansi] \definefontsynonym [TeXGyreTermes-BoldItalicCaps] [TeXGyreTermes-BoldItalic--texnansi--Fkern--Fliga--Fsmcp] [encoding=texnansi] \definefontsynonym [TeXGyreTermes-RegularOsF] [TeXGyreTermes-Regular--texnansi--Fkern--Fliga--Fonum] [encoding=texnansi] \definefontsynonym [TeXGyreTermes-BoldOsF] [TeXGyreTermes-Bold--texnansi--Fkern--Fliga--Fonum] [encoding=texnansi] \definefontsynonym [TeXGyreTermes-ItalicOsF] [TeXGyreTermes-Italic--texnansi--Fkern--Fliga--Fonum] [encoding=texnansi] \definefontsynonym [TeXGyreTermes-BoldItalicOsF] [TeXGyreTermes-BoldItalic--texnansi--Fkern--Fliga--Fonum] [encoding=texnansi] \stoptypescript \starttypescript [termes] \definetypeface [termes][rm][serif] [termes][default][encoding=texnansi] \stoptypescript -- and this is my example file: -- \preloadtypescripts \setupencoding[default=texnansi] \usetypescriptfile[type-termes] \usetypescript[termes] \definetypeface [sample][rm][serif][termes][default][encoding=texnansi] \definebodyfontenvironment [termes][14pt][interlinespace=20pt] \setupbodyfont[sample,serif,14pt] \enableregime[utf-8] \setuptolerance [tolerant] \starttext \input tufte 0123456789 \Var[osf] \input tufte 0123456789 \stoptext -- Patrick ___ 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] typescript / variants question
2007/7/4, Patrick Gundlach [EMAIL PROTECTED]: Hi, I use oldstyle digits with a typescript using variants such as \Var[osf] to get oldstyle digits. How do I get _all_ digits, including the page number in oldstyle? \setuppagenumbering[style={\Var[osf]}] would be a solution, but it looks more like a hack - I'd like to have a complete setup. This is my typescript: -- \starttypescript [map] [termes] [texnansi] [...] \stoptypescript -- and this is my example file: -- [...] Patrick Hi Patrick, this was answered only a few days ago in the thread ,,automatic oldstyle numerals`` http://www.ntg.nl/pipermail/ntg-context/2007/025795.html 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 ___