ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Fontfeature: smcp
@ 2011-01-06 22:02 Willi Egger
  2011-01-07 10:22 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Willi Egger @ 2011-01-06 22:02 UTC (permalink / raw)
  To: NTG-Context ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Fontfeature: smcp
  2011-01-06 22:02 Fontfeature: smcp Willi Egger
@ 2011-01-07 10:22 ` Wolfgang Schuster
  2011-01-07 11:23   ` Willi Egger
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2011-01-07 10:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Fontfeature: smcp
  2011-01-07 10:22 ` Wolfgang Schuster
@ 2011-01-07 11:23   ` Willi Egger
  2011-01-07 11:33     ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Willi Egger @ 2011-01-07 11:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Fontfeature: smcp
  2011-01-07 11:23   ` Willi Egger
@ 2011-01-07 11:33     ` Wolfgang Schuster
  2011-01-07 13:18       ` Willi Egger
  2011-01-07 13:23       ` Willi Egger
  0 siblings, 2 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2011-01-07 11:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Fontfeature: smcp
  2011-01-07 11:33     ` Wolfgang Schuster
@ 2011-01-07 13:18       ` Willi Egger
  2011-01-07 13:23       ` Willi Egger
  1 sibling, 0 replies; 6+ messages in thread
From: Willi Egger @ 2011-01-07 13:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Fontfeature: smcp
  2011-01-07 11:33     ` Wolfgang Schuster
  2011-01-07 13:18       ` Willi Egger
@ 2011-01-07 13:23       ` Willi Egger
  1 sibling, 0 replies; 6+ messages in thread
From: Willi Egger @ 2011-01-07 13:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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>)
fontnames       > font 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-01-07 13:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-06 22:02 Fontfeature: smcp Willi Egger
2011-01-07 10:22 ` Wolfgang Schuster
2011-01-07 11:23   ` Willi Egger
2011-01-07 11:33     ` Wolfgang Schuster
2011-01-07 13:18       ` Willi Egger
2011-01-07 13:23       ` Willi Egger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).