Re: [NTG-context] Small capitals broken in latest beta?

2011-04-04 Thread Wolfgang Schuster

Am 04.04.2011 um 22:54 schrieb John Haltiwanger:

> Completely misunderstood the problem from the beginning. Wiki entry reverted. 
> But I still hope that there is an easier solution to resolving a psuedo 
> smallcaps from available capitals in a font in mkIV.

There is the \cap command.

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] Small capitals broken in latest beta?

2011-04-04 Thread John Haltiwanger
Completely misunderstood the problem from the beginning. Wiki entry
reverted. But I still hope that there is an easier solution to resolving a
psuedo smallcaps from available capitals in a font in mkIV.

On Tue, Apr 5, 2011 at 3:49 AM, C.  wrote:

> Erm, these are no pseudo small caps! It’s a feature that substitutes
> capital letters with their small caps counterpart. So the font has actual
> small caps built into it. I’m using it to generate an “all small caps”
> title. I made this picture to explain:
>
> http://i55.tinypic.com/23tlev7.png
>
>
>
> You might wanna undo this wiki entry.
>
> Cheers!
>
>
>
> *Von:* John Haltiwanger [mailto:john.haltiwan...@gmail.com]
> *Gesendet:* Montag, 4. April 2011 22:29
>
> *An:* mailing list for ConTeXt users
> *Cc:* C.
>
> *Betreff:* Re: [NTG-context] Small capitals broken in latest beta?
>
>
>
> 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.  wrote:
>
> Oh my! So close and yet so far...
>
> It works. Thank you very much!
>
> > -Ursprüngliche Nachricht-
> > Von: Wolfgang Schuster [mailto:schuster.wolfg...@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
>
> ___
>
>
>
___
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] Small capitals broken in latest beta?

2011-04-04 Thread John Haltiwanger
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.  wrote:

> Oh my! So close and yet so far...
>
> It works. Thank you very much!
>
> > -Ursprüngliche Nachricht-
> > Von: Wolfgang Schuster [mailto:schuster.wolfg...@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
>
> ___
>
___
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] Small capitals broken in latest beta?

2011-04-04 Thread C.
Oh my! So close and yet so far...

It works. Thank you very much!

> -Ursprüngliche Nachricht-
> Von: Wolfgang Schuster [mailto:schuster.wolfg...@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
___


Re: [NTG-context] Small capitals broken in latest beta?

2011-04-04 Thread Wolfgang Schuster

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
___


Re: [NTG-context] Small capitals broken in latest beta?

2011-04-04 Thread 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.]
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



___
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] Small capitals broken in latest beta?

2011-04-04 Thread Bernhard Rosensteiner
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:brosenstei...@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:brosenstei...@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
> ___
> 
___
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] Small capitals broken in latest beta?

2011-04-03 Thread C.
Would you mind telling me how you fixed it? (even if your fix does not apply 
here)

> -Ursprüngliche Nachricht-
> Von: Bernhard Rosensteiner [mailto:brosenstei...@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:brosenstei...@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
___

Re: [NTG-context] Small capitals broken in latest beta?

2011-04-03 Thread Wolfgang Schuster

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

___
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] Small capitals broken in latest beta?

2011-04-03 Thread Wolfgang Schuster

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


___
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] Small capitals broken in latest beta?

2011-04-03 Thread 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.

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:brosenstei...@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
___

Re: [NTG-context] Small capitals broken in latest beta?

2011-04-03 Thread 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.

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:brosenstei...@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
___

Re: [NTG-context] Small capitals broken in latest beta?

2011-04-03 Thread Bernhard Rosensteiner
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
> ___
> 


temp.tex
Description: Binary data


temp.log
Description: Binary data
___
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] Small capitals broken in latest beta?

2011-04-01 Thread Wolfgang Schuster

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
___


[NTG-context] Small capitals broken in latest beta?

2011-04-01 Thread 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?

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 :(

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