Re: [NTG-context] Fontfeature: smcp

2011-01-07 Thread Wolfgang Schuster

Am 06.01.2011 um 23:02 schrieb Willi Egger:

 Hm, has something change in the way a font feature should be implemented?
 
 \definefontsynonym [SansRegularCaps]   [Sans]  [ 
 features=smallcaps]

\definefontsynonym [SansCaps] [Sans] [features=smallcaps]

 
 If I add \def\sc{\addff{smcp} I get still no smallcaps.

You need \definefonfeature[smcp][smcp=yes] to enable a feature with \addff or 
\addfs.

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] Fontfeature: smcp

2011-01-07 Thread Willi Egger
Hi Wolfgang,

thanks for your help!. Still no avail...
My script looks now like

\definefontfeature[smcp][default][smcp=yes]

\starttypescript [sans] [seravek] [name]
   \definefontsynonym [Seravek-Roman]  [file:Seravek-Regular]  
[features=default]
\stoptypescript

\starttypescript [sans] [seravek]
   \definefontsynonym [Sans]  [Seravek-Roman]  
[features=default]
\definefontsynonym [SansCaps]  [Seravek-Roman]  [features=smcp]
\stoptypescript

\starttypescript [Seravek]
   \definetypeface [Seravek] [ss] [sans][seravek][default]
   \definetypeface [Seravek] [mm] [math][palatino][default]
\stoptypescript

%\def\sc{\addff{smcp}}

\starttext
{\sc Smallcaps: \fontname\font. Amsterdam, 1234567890}
\stoptext

This gives no smallcaps wether the \def is active or not.

Strange thing is, that is works with lm and pagella (tested).

Willi

On 7 Jan 2011, at 11:22, Wolfgang Schuster wrote:

 
 Am 06.01.2011 um 23:02 schrieb Willi Egger:
 
 Hm, has something change in the way a font feature should be implemented?
 
\definefontsynonym [SansRegularCaps]   [Sans]  [ 
 features=smallcaps]
 
 \definefontsynonym [SansCaps] [Sans] [features=smallcaps]
 
 
 If I add \def\sc{\addff{smcp} I get still no smallcaps.
 
 You need \definefonfeature[smcp][smcp=yes] to enable a feature with \addff or 
 \addfs.
 
 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] Fontfeature: smcp

2011-01-07 Thread Wolfgang Schuster

Am 07.01.2011 um 12:23 schrieb Willi Egger:

 Hi Wolfgang,
 
 thanks for your help!. Still no avail...
 My script looks now like
 
 \definefontfeature[smcp][default][smcp=yes]

Does it help when you add 'script=latn' to the feature setting.

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] Fontfeature: smcp

2011-01-07 Thread Willi Egger
Hi Wolfgang,

unfortunately that does not change the outcome: no smallcaps. - It does also 
not help to change the statement into

\definefontfeature[smcp][sript=latn,smcp=yes]

Gruss
Willi
On 7 Jan 2011, at 12:33, Wolfgang Schuster wrote:

 
 Am 07.01.2011 um 12:23 schrieb Willi Egger:
 
 Hi Wolfgang,
 
 thanks for your help!. Still no avail...
 My script looks now like
 
 \definefontfeature[smcp][default][smcp=yes]
 
 Does it help when you add 'script=latn' to the feature setting.
 
 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] Fontfeature: smcp

2011-01-07 Thread Willi Egger
Hi Wolgang,

coming back to my previous mail.

When using the simple-fonts module I get teh following warnings:

system  : module simplefonts loaded
(/Applications/lua65/tex/texmf-context/tex/context/third/simplefonts/t-simplefonts.tex
loading : ConTeXt User Module / Simplefonts
+ 
/Applications/lua65/tex/texmf-context/tex/context/third/simplefonts/t-simplefonts.lua)
fontnamesfont database does not match configuration and file hashes

After checking the compilation completes. The file does not have smallcaps then.

Willi
On 7 Jan 2011, at 12:33, Wolfgang Schuster wrote:

 
 Am 07.01.2011 um 12:23 schrieb Willi Egger:
 
 Hi Wolfgang,
 
 thanks for your help!. Still no avail...
 My script looks now like
 
 \definefontfeature[smcp][default][smcp=yes]
 
 Does it help when you add 'script=latn' to the feature setting.
 
 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
___


[NTG-context] Fontfeature: smcp

2011-01-06 Thread Willi Egger
Hm, has something change in the way a font feature should be implemented?

This used to work:


\definefontfeature[smallcaps][default][script=latn,smcp=yes]

\starttypescript [sans] [seravek] [name]
   \definefontsynonym [Seravek-Roman]  [file:Seravek-Regular]  
[features=default]
\stoptypescript

\starttypescript [sans] [seravek]
   \definefontsynonym [Sans] [Seravek-Roman]  
[features=default]
 \definefontsynonym [SansRegularCaps]   [Sans]  [ 
features=smallcaps]
  \stoptypescript


\starttypescript [Seravek]
   \definetypeface [Seravek] [ss] [sans][seravek][default]
   \definetypeface [Seravek] [mm] [math][palatino][default]
\stoptypescript

\usetypescript[Seravek]
\setupbodyfont[Seravek,ss,12pt]

\starttext
This is \fontname\font.

{\sc This is \fontname\font.}

\stoptext

I get no smallcaps.

If I add \def\sc{\addff{smcp} I get still no smallcaps.

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