[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: hyphenation inside quotation

2023-08-19 Thread Thomas A. Schmitz
On 8/19/23 17:51, Wolfgang Schuster wrote: You can use the font method to have hyphenated words back. The culprit which prevents hyphenation are the penalty settings which are added by ConTeXt when the default method is used. \mainlanguage [de] \setuppapersize [A6]

[NTG-context] Re: hyphenation inside quotation

2023-08-19 Thread Wolfgang Schuster
Thomas A. Schmitz schrieb am 19.08.2023 um 16:01: Hi, is this a limitation or a bug? Text inside \quotation{} is not hyphenated. It appears to be like this for a couple of versions, but I'm not sure if it has always been the case. Silly example to test: You can use the font method to have

[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,    

[NTG-context] Re: [ export to svg ]

2023-08-19 Thread vm via ntg-context
On 19/08/2023 15:05, Hans Hagen via ntg-context wrote: mutool can do that indeed. context test.tex mutool convert -F svg test.pdf thank you! .F ___ If your question is of interest to others as well, please

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-19 Thread Mikael Sundqvist
Hi, On Sat, Aug 19, 2023 at 3:36 PM Carlos wrote: > > On Fri, Aug 18, 2023 at 08:58:58PM +0200, Wolfgang Schuster wrote: > > Hi, > > > > 1. Learn to two provide a working minimal example which shows the problem. > > > > Did the minimal example I provided earlier wasn't enough for you? > >

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

2023-08-19 Thread Hamid,Idris
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, kern=yes,liga=yes,onum=yes,cpsp=yes,smcp=yes, % smcp activie trnsl=force]

[NTG-context] hyphenation inside quotation

2023-08-19 Thread Thomas A. Schmitz
Hi, is this a limitation or a bug? Text inside \quotation{} is not hyphenated. It appears to be like this for a couple of versions, but I'm not sure if it has always been the case. Silly example to test: \mainlanguage [de] \setuppapersize [A6] \setupbodyfont [14pt] \starttext

[NTG-context] Enable interaction on custom apa cite variant

2023-08-19 Thread Jethro Djan
Hi, I would like a variant of cite per the APA specification that removes the bracket when quoted in mathematical definitions, theorems, etc. I could of course do it manually for reach using right= and left= but I didn't want to do it every time. I have come up with this MWE: \startbuffer[ref]

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-19 Thread Carlos
On Fri, Aug 18, 2023 at 08:58:58PM +0200, Wolfgang Schuster wrote: > Hi, > > 1. Learn to two provide a working minimal example which shows the problem. > Did the minimal example I provided earlier wasn't enough for you? Besides, You know perfectly well that \stoptext is not even necessary,

[NTG-context] Re: [ export to svg ]

2023-08-19 Thread Hans Hagen via ntg-context
On 8/19/2023 1:12 PM, vm via ntg-context wrote: Is there a (simple) way to export the results of a \startMPpage ... \stopMPpage directly to a svg file? My current route is to import the pdf into inkscape, group path objects by stroke color, then save the result as svg and translate that into a

[NTG-context] [ export to svg ]

2023-08-19 Thread vm via ntg-context
Is there a (simple) way to export the results of a \startMPpage ... \stopMPpage directly to a svg file? My current route is to import the pdf into inkscape, group path objects by stroke color, then save the result as svg and translate that into a hpgl format for the pen plotter. I guess/hope

[NTG-context] Re: An error which is not in .log file

2023-08-19 Thread Xavier B.
Thanks to all to help me through migration from MKIV to LMTX version. Now my document compiles perfectly. Xavier On Wed, 16 Aug 2023 17:02:53 +0200 Wolfgang Schuster ha escrit: > Xavier B. schrieb am 16.08.2023 um 09:15: > > Mmmm thanks. > > How can I pass so [scale=0.9] to