ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Small capitals broken in latest beta?
@ 2011-04-01 22:40 C.
  2011-04-02  6:09 ` Wolfgang Schuster
  0 siblings, 1 reply; 15+ messages in thread
From: C. @ 2011-04-01 22:40 UTC (permalink / raw)
  To: Context-Mailinglist

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
___________________________________________________________________________________


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

* Re: Small capitals broken in latest beta?
  2011-04-01 22:40 Small capitals broken in latest beta? C.
@ 2011-04-02  6:09 ` Wolfgang Schuster
  2011-04-03  7:41   ` Bernhard Rosensteiner
  0 siblings, 1 reply; 15+ messages in thread
From: Wolfgang Schuster @ 2011-04-02  6:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


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

* Re: Small capitals broken in latest beta?
  2011-04-02  6:09 ` Wolfgang Schuster
@ 2011-04-03  7:41   ` Bernhard Rosensteiner
  2011-04-03 13:35     ` C.
  0 siblings, 1 reply; 15+ messages in thread
From: Bernhard Rosensteiner @ 2011-04-03  7:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1165 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 2186 bytes --]

[-- Attachment #2: temp.tex --]
[-- Type: application/octet-stream, Size: 312 bytes --]

\definefontfeature[smallcaps][mode=node,smcp=yes,script=latn]

\definealternativestyle[TitleFontStyle][{\switchtobodyfont[50pt]\addff{smallcaps}}]



\setuphead[title][style=TitleFontStyle]

%\tracingall
\starttext


\title{A Title Test}

Hello there {\setff{smallcaps}capped 123 \setff{oldstyle}123!}

\stoptext

[-- Attachment #3: temp.log --]
[-- Type: application/octet-stream, Size: 5183 bytes --]

(/Users/brosensteiner/Documents/ConTeXt_Experimente/Temp/temp.tex

ConTeXt  ver: 2011.03.30 11:21 MKIV  fmt: 2011.3.30  int: english/english

system          > cont-new.mkiv loaded
(/Applications/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv
system          > beware: some patches loaded from cont-new.mkiv
)
system          > temp.top loaded
system          > options > begin of optionfile
system          > options >
system          > options > % runtime options files (command line driven)
system          > options > \unprotect
system          > options > % feedback and basic job control
system          > options > % handy for special styles
system          > options > \startluacode
system          > options > document = document or { }
system          > options > document.arguments={
system          > options > }
system          > options > document.files={
system          > options >  "/Users/brosensteiner/Documents/ConTeXt_Experimente/Temp/temp.tex",
system          > options > }
system          > options > \stopluacode
system          > options > % process info
system          > options > \setupsystem[inputfile=/Users/brosensteiner/Documents/ConTeXt_Experimente/Temp/temp.tex]
system          > options > \setupsystem[\c!n=1,\c!m=1]
system          > options > % modes
system          > options > % options (not that important)
system          > options > \startsetups *runtime:options
system          > options > \stopsetups
system          > options > % styles and modules
system          > options > \startsetups *runtime:modules
system          > options > \stopsetups
system          > options > % done
system          > options > \protect \endinput
system          > options >
system          > options > end of optionfile
(temp.top)
fonts           > latin modern fonts are not preloaded
languages       > language en is active
{/Applications/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fonts           > preloading latin modern fonts (second stage)
(/Applications/ConTeXt/tex/texmf-context/tex/context/base/type-siz.mkiv) (/Applications/ConTeXt/tex/texmf-context/tex/context/base/type-otf.mkiv){/Applications/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/Applications/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts           > virtual math > unable to resolve name mapsfromchar
fonts           > fallback modern rm 12pt is loaded
system          > begin file /Users/brosensteiner/Documents/ConTeXt_Experimente/Temp/temp.tex at line 10
structure       > sectioning > title @ level 2 : 0.0 -> A Title Test
fonts           > processing > no processors associated with dynamic 3
backend         > xmp > using file '/Applications/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
system          > end file /Users/brosensteiner/Documents/ConTeXt_Experimente/Temp/temp.tex at line 17
 )</Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman10-regular.otf></Applications/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf>
mkiv lua stats  > used config file          - selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path           - /Applications/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > input load time           - 0.005 seconds
mkiv lua stats  > stored bytecode data      - 282 modules, 57 tables, 339 chunks
mkiv lua stats  > cleaned up reserved nodes - 33 nodes, 9 lists of 423
mkiv lua stats  > node memory usage         - 19 glue_spec
mkiv lua stats  > node list callback tasks  - 6 unique task lists, 5 instances (re)created, 2378 calls
mkiv lua stats  > used backend              - pdf (backend for directly generating pdf output)
mkiv lua stats  > loaded patterns           - en::2
mkiv lua stats  > callbacks                 - 2574 direct, 2978 indirect, 5552 total
mkiv lua stats  > randomizer                - resumed with value 0.22899183455342
mkiv lua stats  > lxml preparation time     - 0.000 seconds, 0 nodes, 15 lpath calls, 0 cached calls
mkiv lua stats  > result saved in file      - temp.pdf
mkiv lua stats  > loaded fonts              - 39 files: stmary10.afm lmmono10-regular.otf lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman10-bold.otf lmroman10-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans10-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr10.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm
mkiv lua stats  > fonts load time           - 0.316 seconds 
mkiv lua stats  > luatex banner             - this is luatex, version beta-0.65.0-2010121316
mkiv lua stats  > control sequences         - 30682 of 165536
mkiv lua stats  > current memory usage      - 51 MB (ctx: 52 MB)
mkiv lua stats  > runtime                   - 0.731 seconds, 1 processed pages, 1 shipped pages, 1.368 pages/second


[-- Attachment #4: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 15+ messages in thread

* Re: Small capitals broken in latest beta?
  2011-04-03  7:41   ` Bernhard Rosensteiner
@ 2011-04-03 13:35     ` C.
  2011-04-03 16:30       ` Bernhard Rosensteiner
  2011-04-03 16:43       ` Wolfgang Schuster
  0 siblings, 2 replies; 15+ messages in thread
From: C. @ 2011-04-03 13:35 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

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
___________________________________________________________________________________

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

* Re: Small capitals broken in latest beta?
  2011-04-03 13:35     ` C.
@ 2011-04-03 16:30       ` Bernhard Rosensteiner
  2011-04-03 16:38         ` Wolfgang Schuster
  2011-04-03 17:02         ` C.
  2011-04-03 16:43       ` Wolfgang Schuster
  1 sibling, 2 replies; 15+ messages in thread
From: Bernhard Rosensteiner @ 2011-04-03 16:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2982 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 4204 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 15+ messages in thread

* Re: Small capitals broken in latest beta?
  2011-04-03 16:30       ` Bernhard Rosensteiner
@ 2011-04-03 16:38         ` Wolfgang Schuster
  2011-04-03 17:02         ` C.
  1 sibling, 0 replies; 15+ messages in thread
From: Wolfgang Schuster @ 2011-04-03 16:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


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

* Re: Small capitals broken in latest beta?
  2011-04-03 13:35     ` C.
  2011-04-03 16:30       ` Bernhard Rosensteiner
@ 2011-04-03 16:43       ` Wolfgang Schuster
  2011-04-04 10:50         ` C.
  1 sibling, 1 reply; 15+ messages in thread
From: Wolfgang Schuster @ 2011-04-03 16:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


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

* Re: Small capitals broken in latest beta?
  2011-04-03 16:30       ` Bernhard Rosensteiner
  2011-04-03 16:38         ` Wolfgang Schuster
@ 2011-04-03 17:02         ` C.
  2011-04-04  8:14           ` Bernhard Rosensteiner
  1 sibling, 1 reply; 15+ messages in thread
From: C. @ 2011-04-03 17:02 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

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
___________________________________________________________________________________

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

* Re: Small capitals broken in latest beta?
  2011-04-03 17:02         ` C.
@ 2011-04-04  8:14           ` Bernhard Rosensteiner
  0 siblings, 0 replies; 15+ messages in thread
From: Bernhard Rosensteiner @ 2011-04-04  8:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 4262 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 5697 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 15+ messages in thread

* Re: Small capitals broken in latest beta?
  2011-04-03 16:43       ` Wolfgang Schuster
@ 2011-04-04 10:50         ` C.
  2011-04-04 10:56           ` Wolfgang Schuster
  0 siblings, 1 reply; 15+ messages in thread
From: C. @ 2011-04-04 10:50 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

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


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

* Re: Small capitals broken in latest beta?
  2011-04-04 10:50         ` C.
@ 2011-04-04 10:56           ` Wolfgang Schuster
  2011-04-04 15:38             ` C.
  0 siblings, 1 reply; 15+ messages in thread
From: Wolfgang Schuster @ 2011-04-04 10:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


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

* Re: Small capitals broken in latest beta?
  2011-04-04 10:56           ` Wolfgang Schuster
@ 2011-04-04 15:38             ` C.
  2011-04-04 20:29               ` John Haltiwanger
  0 siblings, 1 reply; 15+ messages in thread
From: C. @ 2011-04-04 15:38 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

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
___________________________________________________________________________________


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

* Re: Small capitals broken in latest beta?
  2011-04-04 15:38             ` C.
@ 2011-04-04 20:29               ` John Haltiwanger
       [not found]                 ` <003401cbf309$cd8baf50$68a30df0$@gmx.de>
  0 siblings, 1 reply; 15+ messages in thread
From: John Haltiwanger @ 2011-04-04 20:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: C.


[-- Attachment #1.1: Type: text/plain, Size: 1933 bytes --]

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. <metan0r@gmx.de> wrote:

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

[-- Attachment #1.2: Type: text/html, Size: 2961 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 15+ messages in thread

* Re: Small capitals broken in latest beta?
       [not found]                 ` <003401cbf309$cd8baf50$68a30df0$@gmx.de>
@ 2011-04-04 20:54                   ` John Haltiwanger
  2011-04-04 21:02                     ` Wolfgang Schuster
  0 siblings, 1 reply; 15+ messages in thread
From: John Haltiwanger @ 2011-04-04 20:54 UTC (permalink / raw)
  To: C., mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2845 bytes --]

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. <metan0r@gmx.de> 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.haltiwanger@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. <metan0r@gmx.de> wrote:
>
> 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
>
> ___________________________________________________________________________________
>
>
>

[-- Attachment #1.2: Type: text/html, Size: 5134 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 15+ messages in thread

* Re: Small capitals broken in latest beta?
  2011-04-04 20:54                   ` John Haltiwanger
@ 2011-04-04 21:02                     ` Wolfgang Schuster
  0 siblings, 0 replies; 15+ messages in thread
From: Wolfgang Schuster @ 2011-04-04 21:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


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

end of thread, other threads:[~2011-04-04 21:02 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-01 22:40 Small capitals broken in latest beta? C.
2011-04-02  6:09 ` Wolfgang Schuster
2011-04-03  7:41   ` Bernhard Rosensteiner
2011-04-03 13:35     ` C.
2011-04-03 16:30       ` Bernhard Rosensteiner
2011-04-03 16:38         ` Wolfgang Schuster
2011-04-03 17:02         ` C.
2011-04-04  8:14           ` Bernhard Rosensteiner
2011-04-03 16:43       ` Wolfgang Schuster
2011-04-04 10:50         ` C.
2011-04-04 10:56           ` Wolfgang Schuster
2011-04-04 15:38             ` C.
2011-04-04 20:29               ` John Haltiwanger
     [not found]                 ` <003401cbf309$cd8baf50$68a30df0$@gmx.de>
2011-04-04 20:54                   ` John Haltiwanger
2011-04-04 21:02                     ` Wolfgang Schuster

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).