Small capitals broken in latest beta?
Hello, could it be that in the latest beta (ConTeXt ver: 2011.03.30 11:21 MKIV) the font feature 'small capitals' is broken? Can someone who has Minion Pro test this, please? I'm using \usemodule[simplefonts] \definefontfeature[smcp][default][smcp=yes] \def\sc{\addff{smcp}} \definefontfeature[allc][default][smcp=yes,c2sc=yes] \def\allc{\addff{allc}} \setmainfont[Minion Pro][expansion=quality, protrusion=quality] \starttext {\sc Test} {\allc Test} \stoptext No small capitals :(
Am 02.04.2011 um 00:40 schrieb C.:
Hello, could it be that in the latest beta (ConTeXt ver: 2011.03.30 11:21 MKIV) the font feature 'small capitals' is broken?
It works but you need “script=latn”. \usemodule[simplefonts] \setmainfont[Minion Pro][expansion=quality,protrusion=quality,script=latn] \starttext {\sc Smallcaps} \stoptext Wolfgang
Hello all, i don´t use simplefonts but something is not working (see attachment). Before the latest beta the commads \addff and \addfs worked. best regards Bernhard On Samstag, 02. April 2011 at 08:09, Wolfgang Schuster wrote:
Am 02.04.2011 um 00:40 schrieb C.:
Hello, could it be that in the latest beta (ConTeXt ver: 2011.03.30 11:21 MKIV) the font feature 'small capitals' is broken?
It works but you need “script=latn”.
\usemodule[simplefonts]
\setmainfont[Minion Pro][expansion=quality,protrusion=quality,script=latn]
\starttext {\sc Smallcaps} \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Wolfgang, your solution works for the small caps, even without defining the font feature. I guess it's because \sc is a standard (la)tex style switch like \it. BUT: Defining (or at least using) the other font feature (c2sc) does not work, and since (to my knowledge) there is no style like \sc for that in tex, we have to define it using the font feature. If , like Bernhard wrote, \addff is broken, that would affect also features like 'sups', 'dlig' and so on.
-----Ursprüngliche Nachricht----- Von: Bernhard Rosensteiner [mailto:brosensteiner@gmail.com] Gesendet: Sonntag, 3. April 2011 09:41 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Small capitals broken in latest beta?
Hello all,
i don´t use simplefonts but something is not working (see attachment). Before the latest beta the commads \addff and \addfs worked.
best regards Bernhard
On Samstag, 02. April 2011 at 08:09, Wolfgang Schuster wrote:
Am 02.04.2011 um 00:40 schrieb C.:
Hello, could it be that in the latest beta (ConTeXt ver: 2011.03.30 11:21 MKIV) the font feature 'small capitals' is broken?
It works but you need “script=latn”.
\usemodule[simplefonts]
\setmainfont[Minion Pro][expansion=quality,protrusion=quality,script=latn]
\starttext {\sc Smallcaps} \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ____________________________________________________ _______________________________
Hi all, sorry for the noise, indeed cmr have no smallcaps, but initially i used a adobe font for testing and here it didn´t work. It seems oldstyle and smallcaps fontfeature is not defined in the source anymore, so i had to define it myself and now all is ok. best regards Bernhard lg Bernhard On Sonntag, 03. April 2011 at 15:35, C. wrote:
Wolfgang, your solution works for the small caps, even without defining the font feature. I guess it's because \sc is a standard (la)tex style switch like \it.
BUT: Defining (or at least using) the other font feature (c2sc) does not work, and since (to my knowledge) there is no style like \sc for that in tex, we have to define it using the font feature. If , like Bernhard wrote, \addff is broken, that would affect also features like 'sups', 'dlig' and so on.
-----Ursprüngliche Nachricht----- Von: Bernhard Rosensteiner [mailto:brosensteiner@gmail.com] Gesendet: Sonntag, 3. April 2011 09:41 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Small capitals broken in latest beta?
Hello all,
i don´t use simplefonts but something is not working (see attachment). Before the latest beta the commads \addff and \addfs worked.
best regards Bernhard
On Samstag, 02. April 2011 at 08:09, Wolfgang Schuster wrote:
Am 02.04.2011 um 00:40 schrieb C.:
Hello, could it be that in the latest beta (ConTeXt ver: 2011.03.30 11:21 MKIV) the font feature 'small capitals' is broken?
It works but you need “script=latn”.
\usemodule[simplefonts]
\setmainfont[Minion Pro][expansion=quality,protrusion=quality,script=latn]
\starttext {\sc Smallcaps} \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 : 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 ___________________________________________________________________________________
Am 03.04.2011 um 18:30 schrieb Bernhard Rosensteiner:
Hi all,
sorry for the noise, indeed cmr have no smallcaps, but initially i used a adobe font for testing and here it didn´t work. It seems oldstyle and smallcaps fontfeature is not defined in the source anymore, so i had to define it myself and now all is ok.
“oldstyle” and “smallcaps” are defined in the core but they use “mode=auto” and in your example it doesn’t switch to node mode but use base mode and you don’t get smallcaps. Insetad of defining your own smallcaps feature you can enable node mode with \definefontfeature[oldstyle] [oldstyle] [mode=node] \definefontfeature[smallcaps][smallcaps][mode=node] Wolfgang
Would you mind telling me how you fixed it? (even if your fix does not apply here)
-----Ursprüngliche Nachricht----- Von: Bernhard Rosensteiner [mailto:brosensteiner@gmail.com] Gesendet: Sonntag, 3. April 2011 18:31 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Small capitals broken in latest beta?
Hi all,
sorry for the noise, indeed cmr have no smallcaps, but initially i used a adobe font for testing and here it didn´t work. It seems oldstyle and smallcaps fontfeature is not defined in the source anymore, so i had to define it myself and now all is ok.
best regards Bernhard
lg Bernhard
On Sonntag, 03. April 2011 at 15:35, C. wrote:
Wolfgang, your solution works for the small caps, even without defining the font feature. I guess it's because \sc is a standard (la)tex style switch like \it.
BUT: Defining (or at least using) the other font feature (c2sc) does not work, and since (to my knowledge) there is no style like \sc for that in tex, we have to define it using the font feature. If , like Bernhard wrote, \addff is broken, that would affect also features like 'sups', 'dlig' and so on.
-----Ursprüngliche Nachricht----- Von: Bernhard Rosensteiner [mailto:brosensteiner@gmail.com] Gesendet: Sonntag, 3. April 2011 09:41 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Small capitals broken in latest beta?
Hello all,
i don´t use simplefonts but something is not working (see attachment). Before the latest beta the commads \addff and \addfs worked.
best regards Bernhard
On Samstag, 02. April 2011 at 08:09, Wolfgang Schuster wrote:
Am 02.04.2011 um 00:40 schrieb C.:
Hello, could it be that in the latest beta (ConTeXt ver: 2011.03.30 11:21 MKIV) the font feature 'small capitals' is broken?
It works but you need “script=latn”.
\usemodule[simplefonts]
\setmainfont[Minion Pro][expansion=quality,protrusion=quality,script=latn]
\starttext {\sc Smallcaps} \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 : 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 ____________________________________________________ _______________________________
thanks, Wolfgang. @ C.: Wolfgang posted the solution already. best regards Bernhard lg Bernhard On Sonntag, 03. April 2011 at 19:02, C. wrote:
Would you mind telling me how you fixed it? (even if your fix does not apply here)
-----Ursprüngliche Nachricht----- Von: Bernhard Rosensteiner [mailto:brosensteiner@gmail.com] Gesendet: Sonntag, 3. April 2011 18:31 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Small capitals broken in latest beta?
Hi all,
sorry for the noise, indeed cmr have no smallcaps, but initially i used a adobe font for testing and here it didn´t work. It seems oldstyle and smallcaps fontfeature is not defined in the source anymore, so i had to define it myself and now all is ok.
best regards Bernhard
lg Bernhard
On Sonntag, 03. April 2011 at 15:35, C. wrote:
Wolfgang, your solution works for the small caps, even without defining the font feature. I guess it's because \sc is a standard (la)tex style switch like \it.
BUT: Defining (or at least using) the other font feature (c2sc) does not work, and since (to my knowledge) there is no style like \sc for that in tex, we have to define it using the font feature. If , like Bernhard wrote, \addff is broken, that would affect also features like 'sups', 'dlig' and so on.
-----Ursprüngliche Nachricht----- Von: Bernhard Rosensteiner [mailto:brosensteiner@gmail.com] Gesendet: Sonntag, 3. April 2011 09:41 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Small capitals broken in latest beta?
Hello all,
i don´t use simplefonts but something is not working (see attachment). Before the latest beta the commads \addff and \addfs worked.
best regards Bernhard
On Samstag, 02. April 2011 at 08:09, Wolfgang Schuster wrote:
Am 02.04.2011 um 00:40 schrieb C.:
Hello, could it be that in the latest beta (ConTeXt ver: 2011.03.30 11:21 MKIV) the font feature 'small capitals' is broken?
It works but you need “script=latn”.
\usemodule[simplefonts]
\setmainfont[Minion Pro][expansion=quality,protrusion=quality,script=latn]
\starttext {\sc Smallcaps} \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 : 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 ____________________________________________________ _______________________________
___________________________________________________________________________________ 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 ___________________________________________________________________________________
Am 03.04.2011 um 15:35 schrieb C.:
Wolfgang, your solution works for the small caps, even without defining the font feature. I guess it's because \sc is a standard (la)tex style switch like \it.
No, context doesn’t provide latex style switches but you can define them with \definealternativestyle [bfseries] [\bf] \definealternativestyle [itseries] [\it]
Defining (or at least using) the other font feature (c2sc) does not work, and since (to my knowledge) there is no style like \sc for that in tex, we have to define it using the font feature.
In MKII \sc switch to a different font but MKIV can just enable the “smcp” feature. Adding “smcp=yes” doesn’t work as option for \setmainfont because you can use \definfontfeature and overload the “default” set, the only valid options from \definefontfeature are “script”, “expansion” and “protrusion”. Wolfgang
In MKII \sc switch to a different font but MKIV can just enable the "smcp" feature.
Adding "smcp=yes" doesn't work as option for \setmainfont because you can use \definfontfeature and overload the "default" set, the only valid options from \definefontfeature are "script", "expansion" and "protrusion".
[I'm using MKiV.] Ok, let's leave the small capitals with \sc alone, they work when I specify script=latin in setmainfont. Now, how would I activate the feature c2sc (small capitals from capitals)? It worked like this in the past, but does not anymore: \usemodule[simplefonts] \definefontfeature[c2sc][default][c2sc=yes] \setmainfont[Minion Pro][expansion=quality, protrusion=quality, script=latin] \starttext {\addff{c2sc} THIS TEXT SHOULD BE CONVERTED TO SMALL CAPS.} % does not result in small caps, what's wrong??? Compare: {\sc small caps} % does give small caps (therefore, not part of my question) \stoptext
Am 04.04.2011 um 12:50 schrieb C.:
In MKII \sc switch to a different font but MKIV can just enable the "smcp" feature.
Adding "smcp=yes" doesn't work as option for \setmainfont because you can use \definfontfeature and overload the "default" set, the only valid options from \definefontfeature are "script", "expansion" and "protrusion".
[I'm using MKiV.]
MkIV ;)
Ok, let's leave the small capitals with \sc alone, they work when I specify script=latin in setmainfont. Now, how would I activate the feature c2sc (small capitals from capitals)? It worked like this in the past, but does not anymore:
\usemodule[simplefonts] \definefontfeature[c2sc][default][c2sc=yes]
\definefontfeature[c2sc][c2sc=yes] Wolfgang
Oh my! So close and yet so far... It works. Thank you very much!
-----Ursprüngliche Nachricht----- Von: Wolfgang Schuster [mailto:schuster.wolfgang@googlemail.com] Gesendet: Montag, 4. April 2011 12:56 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Small capitals broken in latest beta?
Am 04.04.2011 um 12:50 schrieb C.:
In MKII \sc switch to a different font but MKIV can just enable the "smcp" feature.
Adding "smcp=yes" doesn't work as option for \setmainfont because you can use \definfontfeature and overload the "default" set, the only valid options from \definefontfeature are "script", "expansion" and "protrusion".
[I'm using MKiV.]
MkIV ;)
Ok, let's leave the small capitals with \sc alone, they work when I specify script=latin in setmainfont. Now, how would I activate the feature c2sc (small capitals from capitals)? It worked like this in the past, but does not anymore:
\usemodule[simplefonts] \definefontfeature[c2sc][default][c2sc=yes]
\definefontfeature[c2sc][c2sc=yes]
Wolfgang
I've putthis on the psuedo-smallcaps wiki page as a more appropriate
solution going into the future.
On Mon, Apr 4, 2011 at 10:38 PM, C.
Oh my! So close and yet so far...
It works. Thank you very much!
-----Ursprüngliche Nachricht----- Von: Wolfgang Schuster [mailto:schuster.wolfgang@googlemail.com] Gesendet: Montag, 4. April 2011 12:56 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Small capitals broken in latest beta?
Am 04.04.2011 um 12:50 schrieb C.:
In MKII \sc switch to a different font but MKIV can just enable the "smcp" feature.
Adding "smcp=yes" doesn't work as option for \setmainfont because you can use \definfontfeature and overload the "default" set, the only valid options from \definefontfeature are "script", "expansion" and "protrusion".
[I'm using MKiV.]
MkIV ;)
Ok, let's leave the small capitals with \sc alone, they work when I specify script=latin in setmainfont. Now, how would I activate the feature c2sc (small capitals from capitals)? It worked like this in the past, but does not anymore:
\usemodule[simplefonts] \definefontfeature[c2sc][default][c2sc=yes]
\definefontfeature[c2sc][c2sc=yes]
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
___________________________________________________________________________________
participants (4)
-
Bernhard Rosensteiner
-
C.
-
John Haltiwanger
-
Wolfgang Schuster