Re: [NTG-context] set fallback in \definefont

2021-02-16 Thread Wolfgang Schuster
Mohammad Hossein Bateni schrieb am 15.02.2021 um 22:31: Thanks for the quick response, Pablo.  I already use typescripts (\definetypeface, \definefontsynonym and \definefontfallback): https://github.com/bateni/dabeer/tree/master/texmf-local/tex/context/fonts/mkiv By arbitrary style, I meant

Re: [NTG-context] set fallback in \definefont

2021-02-15 Thread Mohammad Hossein Bateni
gt; >> > >> Is there a way to set the fallback for fonts when we define them not as > >> a typescript but using \definefont? > >> > >> \definefont[MyFont][Font.otf*MyFeatures] > >> > >> Is there a default fallback one can specify? > >> Is

Re: [NTG-context] set fallback in \definefont

2021-02-15 Thread Mohammad Hossein Bateni
Pagella]] https://wiki.contextgarden.net/Font_Switching says fontstyle is rm, ss, tt, mm, hw, cg, ... Because the the three dots at the end, I thought it would be possible to define new fontstyles. But I get an error if I do so. So I usually use \definefont to set up one-off fonts for specific use

Re: [NTG-context] set fallback in \definefont

2021-02-15 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 15.02.2021 um 21:51: On 2/15/21 8:47 PM, Mohammad Hossein Bateni wrote: Hi, Is there a way to set the fallback for fonts when we define them not as a typescript but using \definefont? \definefont[MyFont][Font.otf*MyFeatures] Is there a default fallback one can

Re: [NTG-context] set fallback in \definefont

2021-02-15 Thread Pablo Rodriguez
On 2/15/21 8:47 PM, Mohammad Hossein Bateni wrote: > Hi, > > Is there a way to set the fallback for fonts when we define them not as > a typescript but using \definefont? > > \definefont[MyFont][Font.otf*MyFeatures] > > Is there a default fallback one can specify?

[NTG-context] set fallback in \definefont

2021-02-15 Thread Mohammad Hossein Bateni
Hi, Is there a way to set the fallback for fonts when we define them not as a typescript but using \definefont? \definefont[MyFont][Font.otf*MyFeatures] Is there a default fallback one can specify? Is simplefonts module deprecated or discouraged now? When we define a font via typescript

Re: [NTG-context] How to define a font with an effect as a font with \definefont

2020-05-23 Thread Gerben Wierda
> On 23 May 2020, at 20:06, Wolfgang Schuster > wrote: > > Pablo Rodriguez schrieb am 23.05.2020 um 20:02: >> On 5/23/20 11:52 AM, Gerben Wierda wrote: >>> [] >>> Actually, my setup is Optima with Helvetica used for Cyrillic: >>> >>> \definefallbackfamily >>> [archimate] >>> [ss] >>>

Re: [NTG-context] How to define a font with an effect as a font with \definefont

2020-05-23 Thread Pablo Rodriguez
On 5/23/20 9:50 PM, Gerben Wierda wrote: > [...] >>> \definefontfeature >>>   [effect-widen] >>>   [effect={width=.2,delta=0.3}] >>> >>> \definefallbackfamily >>>   [archimate] >>>   [ss] >>>   [Helvetica] >>>   [preset=range:cyrillic, >>>    tf=style:light,

Re: [NTG-context] How to define a font with an effect as a font with \definefont

2020-05-23 Thread Rik Kabel
On 5/23/2020 15:50, Gerben Wierda wrote: On 23 May 2020, at 20:06, Wolfgang Schuster > wrote: Pablo Rodriguez schrieb am 23.05.2020 um 20:02: On 5/23/20 11:52 AM, Gerben Wierda wrote: [] Actually, my setup is Optima with Helvetica used for

Re: [NTG-context] How to define a font with an effect as a font with \definefont

2020-05-23 Thread Pablo Rodriguez
On 5/23/20 8:06 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 23.05.2020 um 20:02: >> On 5/23/20 11:52 AM, Gerben Wierda wrote: >>> [] >>> Actually, my setup is Optima with Helvetica used for Cyrillic: >>> >>> \definefallbackfamily >>>   [archimate] >>>   [ss] >>>   [Helvetica] >>>

Re: [NTG-context] How to define a font with an effect as a font with \definefont

2020-05-23 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 23.05.2020 um 20:02: On 5/23/20 11:52 AM, Gerben Wierda wrote: [] Actually, my setup is Optima with Helvetica used for Cyrillic: \definefallbackfamily   [archimate]   [ss]   [Helvetica]   [preset=range:cyrillic,    tf=style:light,    it=style:lightoblique,    

Re: [NTG-context] How to define a font with an effect as a font with \definefont

2020-05-23 Thread Pablo Rodriguez
On 5/23/20 11:52 AM, Gerben Wierda wrote: > [] > Actually, my setup is Optima with Helvetica used for Cyrillic: > > \definefallbackfamily >   [archimate] >   [ss] >   [Helvetica] >   [preset=range:cyrillic, >    tf=style:light, >    it=style:lightoblique, >    bf=style:regular, >    

[NTG-context] How to define a font with an effect as a font with \definefont

2020-05-23 Thread Gerben Wierda
into a \definefont so I can use that instead. Actually, my setup is Optima with Helvetica used for Cyrillic: \definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style:regular, bi=style:oblique, force=yes, rscale

Re: [NTG-context] definefont

2019-01-23 Thread Alan Braslau
is just one of many predefined feature sets: > > \definefontfeature >   [default] >   [always] >   [liga=yes, >    tlig=yes, >    trep=yes] Sure, and I guess that it is not activated by default by \definefont. In this case, "standard" might be a be

Re: [NTG-context] definefont

2019-01-23 Thread Wolfgang Schuster
Alan Braslau schrieb am 23.01.19 um 17:49: On Wed, 23 Jan 2019 17:32:41 +0100 Henning Hraban Ramm wrote: What are the roles of "*default" and "sa 3" as these appear to be unnecessary? *default activates the default set of OpenType features. Are not the default set of OpenType features

Re: [NTG-context] definefont (was: definefontfamily use)

2019-01-23 Thread Alan Braslau
On Wed, 23 Jan 2019 17:32:41 +0100 Henning Hraban Ramm wrote: > > What are the roles of "*default" and "sa 3" as these appear to be > > unnecessary? > > *default activates the default set of OpenType features. Are not the default set of OpenType features activated by default? (as the name

Re: [NTG-context] definefont

2019-01-23 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 23.01.19 um 17:32: And how can I \definefont so that \em or \emph works the same as in bodyfont? You can’t. Or, the other way round, how must I \definehighlight[emph][style=italic] so that it works in all sizes? - \setupbodyfont[rm,12pt] \definefont

Re: [NTG-context] definefont (was: definefontfamily use)

2019-01-23 Thread Henning Hraban Ramm
And how can I \definefont so that \em or \emph works the same as in bodyfont? Or, the other way round, how must I \definehighlight[emph][style=italic] so that it works in all sizes? - \setupbodyfont[rm,12pt] \definefont[TitleFont][SansBold*default sa 3] \setuphead[chapter][style

[NTG-context] Dimension in mkiv definefont

2014-07-02 Thread Uwe Koloska
Dear list, the following runs fine in mkii (i.e. if compiled with 'texexec') but gives an error with mkiv (compiled with 'context'): \showframe \newdimen\Ssize \Ssize=18pt %\definefont[MyFont][Serif at 18pt] \definefont[MyFont][Serif at \Ssize] \starttext \MyFont \input knuth \stoptext I have

Re: [NTG-context] Dimension in mkiv definefont

2014-07-02 Thread Wolfgang Schuster
Am 02.07.2014 um 23:43 schrieb Uwe Koloska m...@koloro.de: Dear list, the following runs fine in mkii (i.e. if compiled with 'texexec') but gives an error with mkiv (compiled with 'context'): \showframe \newdimen\Ssize \Ssize=18pt %\definefont[MyFont][Serif at 18pt] \definefont

[NTG-context] Missing number, treated as zero error when using \definefont with \define'd dimension

2013-03-21 Thread Lars Huttar
\largefontsize{13pt} % Works fine: \definefont[SerifL][Arial at 13pt] % Leads to error: \definefont[SerifL][Arial at \largefontsize] % Missing number, treated as zero error thrown on the following line: \starttext \SerifL{Hello} \stoptext Note that the SerifL font definition works fine

Re: [NTG-context] Missing number, treated as zero error when using \definefont with \define'd dimension

2013-03-21 Thread Wolfgang Schuster
Number error, and I have a short example that reproduces it: \define\largefontsize{13pt} % Works fine: \definefont[SerifL][Arial at 13pt] % Leads to error: \definefont[SerifL][Arial at \largefontsize] % Missing number, treated as zero error thrown on the following line: \starttext

Re: [NTG-context] default parameter in \definefont

2013-02-27 Thread Wolfgang Schuster
Am 26.02.2013 um 16:04 schrieb john Culleton j...@wexfordpress.com: I hesitate to trouble you with a string of questions, one by one. Right now the two critical files are: \input formatting.tex --- \usemodule [simplefonts] \definefont

Re: [NTG-context] default parameter in \definefont

2013-02-26 Thread john Culleton
On Tue, 26 Feb 2013 08:18:25 +0100 Wolfgang Schuster wolfgang.schus...@gmail.com wrote: Am 26.02.2013 um 00:00 schrieb john Culleton j...@wexfordpress.com: Some time back Wolfgang advised me to use statements like this: \definefont [titlefont][MyriadPro-Bold*default at 70bp] I

Re: [NTG-context] default parameter in \definefont

2013-02-26 Thread john Culleton
find those otf files but they exist in /usr/share/fonts/OTF. The run completes but other fonts and sizes are used for the title page. Solved my problem the ugly way. I moved the fonts to the directory where I was compiling the document. Added otf suffix to the \definefont file names. Now MKIV can

Re: [NTG-context] default parameter in \definefont

2013-02-26 Thread Marco Patzer
to the \definefont file names. Now MKIV can find the fonts. A better solution is of course welcome. ∙ Did you set OSFONTDIR? ∙ Does OSFONTDIR include /usr/share/fonts/OTF? ∙ Did you run mtxrun -script fonts -reload? ∙ Do these commands return the fonts? mtxrun -script fonts -list -all minion mtxrun

Re: [NTG-context] default parameter in \definefont

2013-02-26 Thread john Culleton
to the directory where I was compiling the document. Added otf suffix to the \definefont file names. Now MKIV can find the fonts. A better solution is of course welcome. ___ Did you set OSFONTDIR? ___ Does OSFONTDIR include /usr/share/fonts/OTF? ___ Did you run mtxrun -script fonts

[NTG-context] default parameter in \definefont

2013-02-25 Thread john Culleton
Some time back Wolfgang advised me to use statements like this: \definefont [titlefont][MyriadPro-Bold*default at 70bp] I cannot find what the *default parameter does. Can someone educate me? -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net

Re: [NTG-context] default parameter in \definefont

2013-02-25 Thread Wolfgang Schuster
Am 26.02.2013 um 00:00 schrieb john Culleton j...@wexfordpress.com: Some time back Wolfgang advised me to use statements like this: \definefont [titlefont][MyriadPro-Bold*default at 70bp] I cannot find what the *default parameter does. Can someone educate me? When you use a font in MkIV

Re: [NTG-context] \definefont problem with latest beta (mkiv)

2008-11-14 Thread Peter Rolf
this problem by screwing on my new computer (sorry, I couldn't resist). Anyhow I need to rethink my font concept. If I have to setup all these parameters, the simple \definefont isn't sufficient anymore. Probably an external defined \setup will do best. Thanks to all of you who helped me

Re: [NTG-context] \definefont problem with latest beta (mkiv)

2008-11-13 Thread Wolfgang Schuster
Am 13.11.2008 um 16:22 schrieb Peter Rolf: Peter Rolf schrieb: Taco Hoekwater schrieb: Peter Rolf wrote: I followed that one. But my problem is more the *wrong strut height*, e.g. using a \totalstrut value of 12pt with a 8pt font. The strut height is simply not adapted to the actual

Re: [NTG-context] \definefont problem with latest beta (mkiv)

2008-11-13 Thread Peter Rolf
Peter Rolf schrieb: Taco Hoekwater schrieb: Peter Rolf wrote: I followed that one. But my problem is more the *wrong strut height*, e.g. using a \totalstrut value of 12pt with a 8pt font. The strut height is simply not adapted to the actual font size anymore (even if I use \setstrut). I can

Re: [NTG-context] \definefont problem with latest beta (mkiv)

2008-11-13 Thread Peter Rolf
Wolfgang Schuster schrieb: Am 13.11.2008 um 16:22 schrieb Peter Rolf: Peter Rolf schrieb: Taco Hoekwater schrieb: Peter Rolf wrote: I followed that one. But my problem is more the *wrong strut height*, e.g. using a \totalstrut value of 12pt with a 8pt font. The strut height is

Re: [NTG-context] \definefont problem with latest beta (mkiv)

2008-11-12 Thread Hans Hagen
Peter Rolf wrote: Taco Hoekwater schrieb: Peter Rolf wrote: I followed that one. But my problem is more the *wrong strut height*, e.g. using a \totalstrut value of 12pt with a 8pt font. The strut height is simply not adapted to the actual font size anymore (even if I use \setstrut). I can

Re: [NTG-context] \definefont problem with latest beta (mkiv)

2008-11-12 Thread Taco Hoekwater
Peter Rolf wrote: I followed that one. But my problem is more the *wrong strut height*, e.g. using a \totalstrut value of 12pt with a 8pt font. The strut height is simply not adapted to the actual font size anymore (even if I use \setstrut). I can understand why you think this is a

Re: [NTG-context] \definefont problem with latest beta (mkiv)

2008-11-12 Thread Peter Rolf
Taco Hoekwater schrieb: Peter Rolf wrote: I followed that one. But my problem is more the *wrong strut height*, e.g. using a \totalstrut value of 12pt with a 8pt font. The strut height is simply not adapted to the actual font size anymore (even if I use \setstrut). I can understand why

Re: [NTG-context] \definefont problem with latest beta (mkiv)

2008-11-12 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Taco Hoekwater schrieb: Peter Rolf wrote: I followed that one. But my problem is more the *wrong strut height*, e.g. using a \totalstrut value of 12pt with a 8pt font. The strut height is simply not adapted to the actual font size anymore (even if I use

Re: [NTG-context] \definefont problem with latest beta (mkiv)

2008-11-11 Thread Wolfgang Schuster
Am 11.11.2008 um 17:40 schrieb Peter Rolf: You should write new typescripts/files for MkIV because you could use Truetype fonts without map and tfm files. Yes, this works and is also faster. But now I have a different positioning (text baseline is too low, plus bigger interline spacing),

Re: [NTG-context] \definefont problem with latest beta (mkiv)

2008-11-11 Thread Peter Rolf
Wolfgang Schuster schrieb: Am 11.11.2008 um 17:40 schrieb Peter Rolf: You should write new typescripts/files for MkIV because you could use Truetype fonts without map and tfm files. Yes, this works and is also faster. But now I have a different positioning (text baseline is too low, plus

Re: [NTG-context] \definefont problem with latest beta (mkiv)

2008-11-11 Thread Peter Rolf
Wolfgang Schuster schrieb: On Tue, Nov 11, 2008 at 2:37 PM, Peter Rolf [EMAIL PROTECTED] wrote: Hi. First of all: mkii format generation still fails here because of [context.mkii] \loadmkiifile{core-swd} I added the mkii suffix here to make it run. Back to the subject. When

Re: [NTG-context] \definefont problem with latest beta (mkiv)

2008-11-11 Thread Peter Rolf
Wolfgang Schuster schrieb: On Tue, Nov 11, 2008 at 2:37 PM, Peter Rolf [EMAIL PROTECTED] wrote: Hi. First of all: mkii format generation still fails here because of [context.mkii] \loadmkiifile{core-swd} I added the mkii suffix here to make it run. Back to the subject. When

[NTG-context] \definefont problem with latest beta (mkiv)

2008-11-11 Thread Peter Rolf
] \usetypescript[all][cow][default] \usetypescript[cow][default] \definefont [TestFont] [Cows at 40pt] \starttext {\TestFont Just a test.} \stoptext ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] \definefont problem with latest beta (mkiv)

2008-11-11 Thread Wolfgang Schuster
On Tue, Nov 11, 2008 at 2:37 PM, Peter Rolf [EMAIL PROTECTED] wrote: Hi. First of all: mkii format generation still fails here because of [context.mkii] \loadmkiifile{core-swd} I added the mkii suffix here to make it run. Back to the subject. When using mkiv there is a problem in

Re: [NTG-context] How to use text Calligraphic font using \definefont

2006-12-06 Thread luigi scarso
do ut des ( it.wikipedia.org/wiki/Do_ut_des in the first sense «io do affinché tu dia») luigi ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] How to use text Calligraphic font using \definefont

2006-12-06 Thread Aditya Mahajan
On Wed, 6 Dec 2006, John R. Culleton wrote: On Tuesday 05 December 2006 17:27, Aditya Mahajan wrote: Hi, \definefont[BigText] [Calligarphic sa 2] \BigText test which gives me the math calligraphic fonts. How do I get the text calligraphic fonts, using \definefont? The virtue

[NTG-context] How to use text Calligraphic font using \definefont

2006-12-05 Thread Aditya Mahajan
] [encoding=texnansi] \definetypeface [boldface] [mm] [boldmath][euler] [euler] [encoding=texnansi,rscale=1.03] \setupbodyfont[mainface,11pt] I want to use the Calligraphic font font for headers etc, so I tried \definefont[BigText] [Calligarphic sa 2] \BigText test