[NTG-context] Re: Applying \sc for smallcaps across styles

2023-08-19 Thread Hamid,Idris
Dear gang, The following two wiki pages have been edited/added: https://wiki.contextgarden.net/Small_caps_across_styles_(bold,_italics,_etc.) https://wiki.contextgarden.net/Small_caps_and_other_styles Best wishes Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State

[NTG-context] Re: Applying \sc for smallcaps across styles

2023-08-19 Thread Hamid,Idris
On Aug 19, 2023, 1:01 PM -0600, Wolfgang Schuster , wrote: ** Caution: EXTERNAL Sender ** Hamid,Idris schrieb am 19.08.2023 um 20:36: Many thanks. From font-pre.mkiv: \definealternativestyle [\v!smallcaps] [\setsmallcaps] [\setsmallcaps] :

[NTG-context] Re: Applying \sc for smallcaps across styles

2023-08-19 Thread Wolfgang Schuster
Hamid,Idris schrieb am 19.08.2023 um 20:36: Many thanks. From font-pre.mkiv: \definealternativestyle [\v!smallcaps] [\setsmallcaps] [\setsmallcaps] : \unexpanded\def\setsmallcaps{\doaddfeature{f:smallcaps}} So on the wiki we should say that \sc is a deprecated/legacy command that no longer

[NTG-context] Re: Applying \sc for smallcaps across styles

2023-08-19 Thread Hamid,Idris
Many thanks, Pablo. Yes, you are right. As mentioned in the reply to Wolfgang, will edit the wiki to reflect the legacy\deprecated status of \sc. As for grep: Normally I use the nice "find in files" feature of Notepad++ -) Am editing the wiki and have moved the original link to the more general

[NTG-context] Re: Applying \sc for smallcaps across styles

2023-08-19 Thread Hamid,Idris
Many thanks. From font-pre.mkiv: \definealternativestyle [\v!smallcaps] [\setsmallcaps] [\setsmallcaps] : \unexpanded\def\setsmallcaps{\doaddfeature{f:smallcaps}} So on the wiki we should say that \sc is a deprecated/legacy command that no longer makes sense in an opentype-features world. New

[NTG-context] Re: Applying \sc for smallcaps across styles

2023-08-19 Thread Pablo Rodriguez
On 8/19/23 16:03, Hamid,Idris wrote: > [...] > Yes, there is an easy workaround: > > \definefontfeature[smallcaps][smcp=yes] Hi Idris, just a minor comment. This is already defined in lines 96-99 of font-pre.mkxl: \definefontfeature [smallcaps] [always] [smcp=yes] And also in lines

[NTG-context] Re: Applying \sc for smallcaps across styles

2023-08-19 Thread Wolfgang Schuster
Hamid,Idris schrieb am 19.08.2023 um 16:03: Dear gang, Consider the following typescript template: \definefontfeature   [myfont-tf-sc]   [mode=node,script=latn,language=dflt,trep=no,    protrusion=quality,expansion=quality,    compose=yes,combine=yes,tlig=yes,