Re: [NTG-context] \switchtobodyfont issue

2021-05-22 Thread Pablo Rodriguez
On 5/22/21 1:10 PM, Wolfgang Schuster wrote: > [...] > You can't use x and a with \switchtobodyfont, only small and big are > possible. > > \starttext > a > \switchtobodyfont[small] > a > \switchtobodyfont[big] > a > \stoptext Many thanks for your fast reply, Wolfgang. This works fine with standar

Re: [NTG-context] \switchtobodyfont issue

2021-05-22 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 22.05.2021 um 12:51: Dear list, I have the following sample: \setupbodyfont[11.25pt] \starttext a \switchtobodyfont[x] a \switchtobodyfont[a] a \stoptext How can I get both \switchtobodyfont working in both appearances? You can't use x and

[NTG-context] \switchtobodyfont issue

2021-05-22 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupbodyfont[11.25pt] \starttext a \switchtobodyfont[x] a \switchtobodyfont[a] a \stoptext How can I get both \switchtobodyfont working in both appearances? Many thanks for your help, Pablo -- http://www.ousia.tk ___

Re: [NTG-context] \switchtobodyfont behaves differenctly with splitted parameters

2020-11-08 Thread Sylvain Hubert
On Sun, 8 Nov 2020 at 12:52, Hans Hagen wrote: > On 11/8/2020 12:46 PM, Sylvain Hubert wrote: > > On Sun, 8 Nov 2020 at 12:14, Hans Hagen > > wrote: > > > > when yyou use several bodyfonts you can do this before \starttext: > > > > \usebodyfont[face,24pt] > >

Re: [NTG-context] \switchtobodyfont behaves differenctly with splitted parameters

2020-11-08 Thread Hans Hagen
On 11/8/2020 12:46 PM, Sylvain Hubert wrote: On Sun, 8 Nov 2020 at 12:14, Hans Hagen > wrote: when yyou use several bodyfonts you can do this before \starttext: \usebodyfont[face,24pt] \usebodyfont[deface] \starttext     \stoptext Thank

Re: [NTG-context] \switchtobodyfont behaves differenctly with splitted parameters

2020-11-08 Thread Sylvain Hubert
On Sun, 8 Nov 2020 at 12:14, Hans Hagen wrote: > when yyou use several bodyfonts you can do this before \starttext: > > \usebodyfont[face,24pt] > \usebodyfont[deface] > > \starttext > > \stoptext > Thank you for the information, Hans! Could you please also shed some light on the relatio

Re: [NTG-context] \switchtobodyfont behaves differenctly with splitted parameters

2020-11-08 Thread Hans Hagen
On 11/8/2020 12:02 PM, Sylvain Hubert wrote: On Sun, 8 Nov 2020 at 11:37, Pablo Rodriguez > wrote: On 11/8/20 11:18 AM, Sylvain Hubert wrote: > Hi Pablo, > > thanks for the suggestion. Here's the minimal example which shows the > difference: >

Re: [NTG-context] \switchtobodyfont behaves differenctly with splitted parameters

2020-11-08 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 08.11.2020 um 12:02: On Sun, 8 Nov 2020 at 11:37, Pablo Rodriguez > wrote: On 11/8/20 11:18 AM, Sylvain Hubert wrote: > Hi Pablo, > > thanks for the suggestion. Here's the minimal example which shows the > difference: >

Re: [NTG-context] \switchtobodyfont behaves differenctly with splitted parameters

2020-11-08 Thread Sylvain Hubert
On Sun, 8 Nov 2020 at 11:37, Pablo Rodriguez wrote: > On 11/8/20 11:18 AM, Sylvain Hubert wrote: > > Hi Pablo, > > > > thanks for the suggestion. Here's the minimal example which shows the > > difference: > > > > \definefontfamily[face][rm][dejavuserif] > > \starttext\switchtobodyfont[fac

Re: [NTG-context] \switchtobodyfont behaves differenctly with splitted parameters

2020-11-08 Thread Pablo Rodriguez
On 11/8/20 11:18 AM, Sylvain Hubert wrote: > Hi Pablo, > > thanks for the suggestion. Here's the minimal example which shows the > difference: > >     \definefontfamily[face][rm][dejavuserif] >     \starttext\switchtobodyfont[face, 24pt]ɑ\stoptext > > this should warn: > >     fonts           > che

Re: [NTG-context] \switchtobodyfont behaves differenctly with splitted parameters

2020-11-08 Thread Sylvain Hubert
On Sun, 8 Nov 2020 at 11:18, Sylvain Hubert wrote: > Hi Pablo, > > thanks for the suggestion. Here's the minimal example which shows the > difference: > > \definefontfamily[face][rm][dejavuserif] > \starttext\switchtobodyfont[face, 24pt]ɑ\stoptext > > this should warn: > > fonts

Re: [NTG-context] \switchtobodyfont behaves differenctly with splitted parameters

2020-11-08 Thread Sylvain Hubert
Hi Pablo, thanks for the suggestion. Here's the minimal example which shows the difference: \definefontfamily[face][rm][dejavuserif] \starttext\switchtobodyfont[face, 24pt]ɑ\stoptext this should warn: fonts > checking > char ɑ (U+00251) in font 'LatinModernMath-Regular-4'

Re: [NTG-context] \switchtobodyfont behaves differenctly with splitted parameters

2020-11-08 Thread Pablo Rodriguez
On 11/8/20 2:35 AM, Sylvain Hubert wrote: > Dear List, > > after hours of debugging, I finally found out that > \switchtobodyfont[face, 20pt] does NOT behave the same with > \switchtobodyfont[face]\switchtobodyfont[20pt]. In my case the latter is > the correct one, while the former does nothing but

[NTG-context] \switchtobodyfont behaves differenctly with splitted parameters

2020-11-07 Thread Sylvain Hubert
Dear List, after hours of debugging, I finally found out that \switchtobodyfont[face, 20pt] does NOT behave the same with \switchtobodyfont[face]\switchtobodyfont[20pt]. In my case the latter is the correct one, while the former does nothing but falling back to latinmodern. Does anyone know when

Re: [NTG-context] switchtobodyfont and dejavu

2017-04-01 Thread Henning Hraban Ramm
Am 2017-03-31 um 09:00 schrieb Kostirya : > Hello. > I found error at switchtobodyfont with dejavu font. > > In the below example, switchtobodyfont not correctly worked. > > This is only observed when I switch from 16pt to 14pt. > Switching must be across a different font. > > > The result i

Re: [NTG-context] \switchtobodyfont issue, also with newotf

2015-08-22 Thread Hans Hagen
On 8/21/2015 11:50 PM, Rik Kabel wrote: On 2015-08-21 09:10, Hans Hagen wrote: mostly changed names of the fonts, a missing directive (i'll add a fallback for that) and such ... patched in the next beta Hans, This morning's release fixed the newotf module problem, but not the font face proble

Re: [NTG-context] \switchtobodyfont issue, also with newotf

2015-08-21 Thread Rik Kabel
On 2015-08-21 09:10, Hans Hagen wrote: mostly changed names of the fonts, a missing directive (i'll add a fallback for that) and such ... patched in the next beta Hans, This morning's release fixed the newotf module problem, but not the font face problem. Was that to be expected? -- Rik __

Re: [NTG-context] \switchtobodyfont issue, also with newotf

2015-08-21 Thread Hans Hagen
On 8/20/2015 8:34 PM, Rik Kabel wrote: While working to get italic smallcaps in a secondary font face, I came across an issue with \switchbodyfont. When this is used in a certain way, the \tf font-style is changed, but not the \it, \bf, and so on. The example below compiles cleanly as presented,

[NTG-context] \switchtobodyfont issue, also with newotf

2015-08-20 Thread Rik Kabel
While working to get italic smallcaps in a secondary font face, I came across an issue with \switchbodyfont. When this is used in a certain way, the \tf font-style is changed, but not the \it, \bf, and so on. The example below compiles cleanly as presented, and the problem is not present. Each

Re: [NTG-context] \switchtobodyfont fails to load font with some sizes

2014-02-28 Thread Joshua Krämer
On 2014-02-26, 22:57, Wolfgang Schuster wrote: > Add \definebodyfontenvironment[50pt] before \starttext. Thanks, that does the trick. Kind regards, Joshua ___ If your question is of interest to others as well, pleas

Re: [NTG-context] \switchtobodyfont fails to load font with some sizes

2014-02-26 Thread Wolfgang Schuster
Am 26.02.2014 um 18:10 schrieb Joshua Krämer : > Dear list, > > with some font sizes, \switchtobodyfont loads Latin Modern Roman > instead of the specified typeface: > > > \definefontfamily [firstfamily] [serif] [TeX Gyre Bonum] > \definefontfamily [secondfamily] [serif] [TeX Gyre Termes] > >

[NTG-context] \switchtobodyfont fails to load font with some sizes

2014-02-26 Thread Joshua Krämer
Dear list, with some font sizes, \switchtobodyfont loads Latin Modern Roman instead of the specified typeface: \definefontfamily [firstfamily] [serif] [TeX Gyre Bonum] \definefontfamily [secondfamily] [serif] [TeX Gyre Termes] \setupbodyfont [firstfamily, 60pt] \starttext abc {\switchtobodyfo

Re: [NTG-context] \switchtobodyfont does not work inside of \startsetups layer ?

2011-02-18 Thread Vnpenguin
On Fri, Feb 18, 2011 at 20:11, Wolfgang Schuster wrote: > > Am 18.02.2011 um 19:08 schrieb Vnpenguin: > >> Wow, it works now. > > You can also separate the style and content of a layer with \setlayerframed, > e.g. > > \setlayerframed >  [mylayer] >  [x=..., >   y=..., >   frame=off, >   style={\s

Re: [NTG-context] \switchtobodyfont does not work inside of \startsetups layer ?

2011-02-18 Thread Wolfgang Schuster
Am 18.02.2011 um 19:08 schrieb Vnpenguin: > Wow, it works now. You can also separate the style and content of a layer with \setlayerframed, e.g. \setlayerframed [mylayer] [x=..., y=..., frame=off, style={\switchtobodyfont[10pt]}] {text} Wolfgang ___

Re: [NTG-context] \switchtobodyfont does not work inside of \startsetups layer ?

2011-02-18 Thread Vnpenguin
On Fri, Feb 18, 2011 at 19:03, Wolfgang Schuster wrote: > > Am 18.02.2011 um 18:59 schrieb Vnpenguin: > >> \usetypescript[palatino] >> \switchtobodyfont[palatino,20pt] > > Replace this (both lines) with > > \setupbodyfont[palatino,20pt] > > Wolfgang > Wow, it works now. Thank you so much for your

Re: [NTG-context] \switchtobodyfont does not work inside of \startsetups layer ?

2011-02-18 Thread Wolfgang Schuster
Am 18.02.2011 um 18:59 schrieb Vnpenguin: > \usetypescript[palatino] > \switchtobodyfont[palatino,20pt] Replace this (both lines) with \setupbodyfont[palatino,20pt] Wolfgang ___ If your question is of interest to

[NTG-context] \switchtobodyfont does not work inside of \startsetups layer ?

2011-02-18 Thread Vnpenguin
Hi, I have a following test: = \setuppapersize[S8][S8] \setuplayout [width=fit,height=fit, rightmargin=1.5cm,leftmargin=1.5cm, backspace=15mm,topspace=23mm,top=10mm, header=0mm,footer=0mm,bottom=5mm, margin=0mm]

Re: [NTG-context] \switchtobodyfont

2010-11-09 Thread Hans Hagen
On 9-11-2010 8:49, Herbert Voss wrote: Is this the default behaviour, that \switchtobodyfont works like a \hfill?? | page | \starttext Latin Modern \switchtobodyfont[pagella]Pagella--Palatino \stoptext | Latin ModernPag-| | ella

Re: [NTG-context] \switchtobodyfont

2010-11-09 Thread Hans Hagen
On 9-11-2010 8:49, Herbert Voss wrote: Is this the default behaviour, that \switchtobodyfont works like a \hfill?? | page | \starttext Latin Modern \switchtobodyfont[pagella]Pagella--Palatino \stoptext | Latin ModernPag-| | ella

[NTG-context] \switchtobodyfont

2010-11-09 Thread Herbert Voss
Is this the default behaviour, that \switchtobodyfont works like a \hfill?? | page | \starttext Latin Modern \switchtobodyfont[pagella]Pagella--Palatino \stoptext | Latin ModernPag-| | ella| Latest minimal mkiv Herbert ___