[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-22 Thread Hans Hagen via ntg-context
ould visualize them but one never knows for sure if one sees them) nbsp are spaces and become glue that we can trace reliable in the node list Many thanks. Ok, here is another MWE featuring a workaround using fallbacks: == \definefontfallback[nosymbols] [file:lmmono10-regular] [200C

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-21 Thread Hamid,Idris
nows for sure if one sees them) nbsp are spaces and become glue that we can trace reliable in the node list Many thanks. Ok, here is another MWE featuring a workaround using fallbacks: == \definefontfallback[nosymbols] [file:lmmono10-regular] [200C,200D] [force=yes] \starttypescript [s

[NTG-context] Fallbacks in text font interfere with math accents

2023-06-10 Thread Henning Hraban Ramm via ntg-context
math to no avail. My example uses Cambria, but it’s the same with other fonts. (BTW, in \bar{b} with Libertinus, the bar looks too high.) Hraban \definefontfallback[symbolaFB] [file:symbola.otf] [0x0-0xF] [check=no,force=no] \definefontfallback[arialFB] [name:arialunicodems] [0x0

Re: [NTG-context] problem with Segoe Ui Symbol as fallback font

2023-01-04 Thread Jacob Kauffmann via ntg-context
The problem is that now that \bf, \it and so on stopped working outside math mode. A workaround is to add \rm after \starttext. Maybe the developers can shed some light :) Please find MWE below. Cheers, Jacob \definefontfallback[cal-fallback][name:modern][uppercasescript,lowercasescript

Re: [NTG-context] problem with Segoe Ui Symbol as fallback font

2023-01-04 Thread Jacob Kauffmann via ntg-context
\setupbodyfont[mainface,rm]. Cheers, Jacob \definefontfallback[cal-fallback][name:modern][uppercasescript,lowercasescript] \starttypescript[mainface] \definetypeface[mainface][rm][serif][palatino][default] \definetypeface[mainface][ss][sans] [modern] [default][rscale=1.075] \definetypeface

[NTG-context] problem with Segoe Ui Symbol as fallback font

2022-11-07 Thread Henning Hraban Ramm via ntg-context
if there’s no fallback enabled for the math font. \definefontfallback[segoeFB] [name:segoeuisymbol] [0x00300-0x003FF,0x02100-0x02800] [check=yes,force=no] That used to work, at least until version 2022-09-18. It’s completely irregular which ranges throw an error: 0x03000-0x2 runs 0x02000

Re: [NTG-context] something’s wrong with \definefontfallback

2022-10-30 Thread Henning Hraban Ramm via ntg-context
Am 30.10.22 um 16:54 schrieb Hans Hagen via ntg-context: On 10/30/2022 4:43 PM, Henning Hraban Ramm via ntg-context wrote: This used to work: \definefontfallback[seguiFB]    [file:seguisym.ttf]    [0x0-0xF]    [check=yes,force=no] \definetypeface [contextstart] [ss] [sans]  [segoe

Re: [NTG-context] something’s wrong with \definefontfallback

2022-10-30 Thread Hans Hagen via ntg-context
On 10/30/2022 4:43 PM, Henning Hraban Ramm via ntg-context wrote: This used to work: \definefontfallback[seguiFB]   [file:seguisym.ttf]   [0x0-0xF]   [check=yes,force=no] \definetypeface [contextstart] [ss] [sans]  [segoe] [default][fallbacks=seguiFB] (Intention is to take all

[NTG-context] something’s wrong with \definefontfallback

2022-10-30 Thread Henning Hraban Ramm via ntg-context
This used to work: \definefontfallback[seguiFB] [file:seguisym.ttf] [0x0-0xF] [check=yes,force=no] \definetypeface [contextstart] [ss] [sans] [segoe] [default][fallbacks=seguiFB] (Intention is to take all missing characters from this symbol font.) But with current LMTX, I

Re: [NTG-context] font fallbacks

2022-08-01 Thread Henning Hraban Ramm via ntg-context
Am 01.08.22 um 20:43 schrieb denis.ma...@unibe.ch: Hi, I have used more than one fallback, but each fallback is for a different character range Thank you. I tried: \definefontfallback[seguiFB] [file:seguisym.ttf] % [0x0-0xF] [0x0007F-0xF] [check=yes,force

Re: [NTG-context] font fallbacks

2022-08-01 Thread Denis Maier via ntg-context
ce the tilde ~ of LM Modern: > > """ > \definefontfallback[seguiFB] >[file:seguisym.ttf] >[0x0-0xF] >[check=yes,force=no] > > \definefontfallback[emoneFB] >[name:EmojiOneColor] >[0x0-0xF] >[check=yes,force=no] >

Re: [NTG-context] font fallbacks

2022-08-01 Thread Henning Hraban Ramm via ntg-context
, I’d like to take all missing glyphs from Segoe UI Symbols, and what’s still missing (emojis) from EmojiOneColor, preferably without specifying the exact range. Additionally, I want to replace the tilde ~ of LM Modern: """ \definefontfallback[seguiFB]   [file:seguisym.ttf]   [

[NTG-context] font fallbacks

2022-07-30 Thread Henning Hraban Ramm via ntg-context
. Additionally, I want to replace the tilde ~ of LM Modern: """ \definefontfallback[seguiFB] [file:seguisym.ttf] [0x0-0xF] [check=yes,force=no] \definefontfallback[emoneFB] [name:EmojiOneColor] [0x0-0xF] [check=yes,force=no] % replace tilde in LM \definefontf

Re: [NTG-context] Using alegreya typescript

2022-07-06 Thread Hans Hagen via ntg-context
tium] \definefontfallback [alegreyagentium-fallback] [name:gentium] [greekandcoptic,greekextended] \starttypescript [serif] [alegreya-serif,alegreya-light-serif,alegreya-medium-serif] [name] \setups[font:fallback:serif] \definefontsynonym[Serif] [name:alegreyaregular] [features=def

Re: [NTG-context] Typesetting modern Greek (UTF8) with ConTeXt

2022-06-05 Thread Thangalin via ntg-context
Not sure, but have you tried: \definefallbackfamily [mainface] [serif] [Gentium Plus] [range=greekandcoptic] The wiki has a page on fallback fonts: https://wiki.contextgarden.net/Command/definefontfallback Searching for "greek" has numerous hits, including greekextended. Have yo

Re: [NTG-context] font question re U+00336

2022-05-24 Thread Henning Hraban Ramm via ntg-context
tion: is there good fallback solution one can use? Do I need to \definefontfallback something or is there an automatic one already happening? I've started to examine the log files a bit more carefully for various items and it is showing up my ignorance!! I wouldn’t call that ignorance – y

[NTG-context] font question re U+00336

2022-05-23 Thread jbf via ntg-context
question: is there good fallback solution one can use? Do I need to \definefontfallback something or is there an automatic one already happening? I've started to examine the log files a bit more carefully for various items and it is showing up my ignorance!!

Re: [NTG-context] Fallback fails for Linux Libertine O to Junicode over private area, debugging?

2022-01-07 Thread Hans Hagen via ntg-context
with a Junicode fallback, lib-fb-jun \definefontfallback[junicodefallback][name:Junicode][privateusearea][check=yes,force=no] \starttypescript [serif] [lib-fb-jun] \definefontsynonym [Libertine-Roman] [file:linlibertiner] \definefontsynonym [Libertine-Slanted] [file:linlibertineri] % works fine

Re: [NTG-context] Fallback fails for Linux Libertine O to Junicode over private area, debugging?

2022-01-07 Thread J .  P . Ascher via ntg-context
t; > Does anyone have a suggestion as to another place to look? Or something > I'm overlooking? > > Minimal example (attached too, if it comes through): > > ``` > \definefontfeature[default][default][script=latn] > > % Libertine with a Junicode fallback

Re: [NTG-context] Fallback fails for Linux Libertine O to Junicode over private area, debugging?

2022-01-07 Thread Youssef Cherem via ntg-context
nyone have a suggestion as to another place to look? Or something > I'm overlooking? > > Minimal example (attached too, if it comes through): > > ``` > \definefontfeature[default][default][script=latn] > > > % Libertine with a Junicode fallback, lib-fb-jun > > > \definef

[NTG-context] Fallback fails for Linux Libertine O to Junicode over private area, debugging?

2022-01-07 Thread J .  P . Ascher via ntg-context
spot anything. Does anyone have a suggestion as to another place to look? Or something I'm overlooking? Minimal example (attached too, if it comes through): ``` \definefontfeature[default][default][script=latn] % Libertine with a Junicode fallback, lib-fb-jun \definefontfallback

Re: [NTG-context] Math font tips and tricks

2021-11-07 Thread Wolfgang Schuster via ntg-context
typesetting. I've referred myself to this page of the Wiki https://wiki.contextgarden.net/Command/definefontfallback <https://wiki.contextgarden.net/Command/definefontfallback>. I have tried the following, but it fails for greek letters in math mode. \definefallbackfamily       [mainface]

Re: [NTG-context] Math font tips and tricks

2021-11-07 Thread Hans Hagen via ntg-context
https://wiki.contextgarden.net/Command/definefontfallback <https://wiki.contextgarden.net/Command/definefontfallback>. I have tried the following, but it fails for greek letters in math mode. \definefallbackfamily      [mainface] [math] [Minion Pro]  [range={math:lowercase

[NTG-context] Math font tips and tricks

2021-11-06 Thread Alexandre Christe via ntg-context
Dear all, I'd like to know how best to work with font features regarding adaptations of math fonts. For example, let's assume I'd like to use Minion Pro also for math typesetting. I've referred myself to this page of the Wiki https://wiki.contextgarden.net/Command/definefontfallback. I have

Re: [NTG-context] features of fallback font

2021-09-07 Thread Wolfgang Schuster via ntg-context
}] \definefontfallback [sunfallback] [name:simsun] [cjkunifiedideographs] \definefontfallback [sunbffallback] [name:simsun] [cjkunifiedideographs][features=fakebold] \definefontsynonym [Serif] [modern] [fallbacks=sunfallback] \definefontsynonym [SerifBold] [modern] [fallbacks=sunbffallback] \starttext 人 foo

[NTG-context] features of fallback font

2021-09-07 Thread Sylvain Hubert via ntg-context
Dear List, I'm using the chinese simsun font that has no builtin SerifBold. I'm trying to define a fakebold feature for it, but the following code does not work: \definefontfeature[fakebold][effect={width=0.3, delta=0}] \definefontfallback [sunfallback] [name:simsun] [cjkunifiedideographs

Re: [NTG-context] tlig feature sometimes does not work

2021-03-13 Thread Mohammad Hossein Bateni
> work when the character is not in the font itself. Is that the case? > > Is this a bug or a feature? > > > > \starttext > > > > > \definefontfallback[fall][dejavusansmono][0-0xf][check=yes,force=no] > > \definefontsynonym[Test][file:Mikhak-Medium.ttf][f

Re: [NTG-context] tlig feature sometimes does not work

2021-03-13 Thread Hans Hagen
On 3/13/2021 2:01 AM, Mohammad Hossein Bateni wrote: Umm... the fallbacks are correct.  My conclusion is that tlig does not work when the character is not in the font itself.  Is that the case? Is this a bug or a feature? \starttext  \definefontfallback[fall][dejavusansmono][0-0xf

Re: [NTG-context] tlig feature sometimes does not work

2021-03-12 Thread Mohammad Hossein Bateni
Umm... the fallbacks are correct. My conclusion is that tlig does not work when the character is not in the font itself. Is that the case? Is this a bug or a feature? \starttext \definefontfallback[fall][dejavusansmono][0-0xf][check=yes,force=no] \definefontsynonym[Test][file:Mikhak

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
simplefonts module deprecated or discouraged now? > > > > Hi Mohammad, > > > > the simplefonts module has been deprecated, since it has been > > implemented in the ConTeXt core (see below). > > > > \definefontfallback might be the command you

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

2021-02-15 Thread Mohammad Hossein Bateni
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 something like: \definefontfamily[myface][CUSTOM][TeX Gyre

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

2021-02-15 Thread Wolfgang Schuster
specify? Is simplefonts module deprecated or discouraged now? Hi Mohammad, the simplefonts module has been deprecated, since it has been implemented in the ConTeXt core (see below). \definefontfallback might be the command you are looking for. You need also \definefontsynonym but it's easier

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

2021-02-15 Thread Pablo Rodriguez
> Is simplefonts module deprecated or discouraged now? Hi Mohammad, the simplefonts module has been deprecated, since it has been implemented in the ConTeXt core (see below). \definefontfallback might be the command you are looking for. > When we define a font via typescript commands, we can speci

[NTG-context] font fallback hook (alphabet suspects)

2021-01-29 Thread Jano Kula
for font fallbacks with distribution fonts. Not critical, just looking for ideas. Thank you, Jano \definefontfallback[Fallback] [file:DejaVuSerif-Bold.ttf] [0x0370-0x03FF] [force=yes,rscale=1] \definefontfallback[Fallback] [file:DejaVuSerif-Bold.ttf] [0x01F40,0x01FD6] [force=yes

Re: [NTG-context] How do I specify a fallback to Symbola for the playing card range?

2020-09-11 Thread T. Kurt Bond
My apologies for my confusion, and my thanks! That did it! On Fri, Sep 11, 2020 at 10:15 AM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > T. Kurt Bond schrieb am 11.09.2020 um 16:12: > > I tried using > > > "\definefontfallback[mainface][rm][Symb

Re: [NTG-context] How do I specify a fallback to Symbola for the playing card range?

2020-09-11 Thread Wolfgang Schuster
T. Kurt Bond schrieb am 11.09.2020 um 16:12: I tried using "\definefontfallback[mainface][rm][Symbola][range=playingcards,force=yes]" and the PLAYING CARD ACE OF SPADES still didn't show up in the output. It's the wrong command, you need \definefallbackfamily wh

Re: [NTG-context] How do I specify a fallback to Symbola for the playing card range?

2020-09-11 Thread T. Kurt Bond
I tried using "\definefontfallback[mainface][rm][Symbola][range=playingcards,force=yes]" and the PLAYING CARD ACE OF SPADES still didn't show up in the output. I'm using " ConTeXt ver: 2020.09.03 20:03 LMTX fmt: 2020.9.3 int: english/english", On Thu, Sep 10, 2020

Re: [NTG-context] How do I specify a fallback to Symbola for the playing card range?

2020-09-10 Thread Wolfgang Schuster
in a specific font. Here's what I've tried, but it doesn't work: \definefontfallback[mainface][rm][Symbola][preset=range:playingcards,force=yes] Try \definefontfallback[mainface][rm][Symbola][range=playingcards,force=yes] The "range:..." presets are just a comma separated list of name which

[NTG-context] How do I specify a fallback to Symbola for the playing card range?

2020-09-09 Thread T. Kurt Bond
work: \definefontfallback[mainface][rm][Symbola][preset=range:playingcards,force=yes] \definefontfamily[mainface][rm][LibertinusSerif] \enabletrackers[fonts.missing] \setupbodyfont[mainface] \starttext  Testing! \stoptext The PLAYING CARD ACE OF SPADES character does not show up in the output PDF

Re: [NTG-context] How do I add cyrillic to my typescript/document?

2020-05-03 Thread Vladimir Lomov
nguage[russian] >>\starttext >>\hyphenatedword{% >>Николаевич >>typography >>\en typography} >>\stoptext >> >> Since you set the main language to Russian in the document, you would >> have to mark all Englis

Re: [NTG-context] How do I add cyrillic to my typescript/document?

2020-05-03 Thread Gerben Wierda
;\stoptext > > Since you set the main language to Russian in the document, you would > have to mark all English texts properly. I doubt this may be what you > intend. > > The way to get a fallback font would be (depending on which approach you > use) \definefontfallback o

Re: [NTG-context] How do I add cyrillic to my typescript/document?

2020-05-03 Thread Pablo Rodriguez
be what you intend. The way to get a fallback font would be (depending on which approach you use) \definefontfallback or \definefallbackfamily. A sample of the second option would read: \definefallbackfamily [mainface] [ss] [FreeSans] [preset=range:cyrillic, force=yes] In an

[NTG-context] Fontfallbacks using typescripts

2020-04-04 Thread Tim Steenvoorden
. Can somebody give me a hint? Cheers, Tim \startproduct test \definefontfallback[pagellaarrows][texgyrepagella-math][arrows][check=yes,force=yes] \definefontfallback[pagellaarrows][texgyrepagella-math][0x021AF][check=yes,force=yes] \starttypescript[math][main] \loadfontgoodies[lucida-typeone

[NTG-context] suggestions for \definefontfamily and \definefallbackfamily

2020-02-07 Thread Pablo Rodriguez
be to allow "method=uppercase" with \definefallbackfamily to be able to fake smallcaps (as used with \definefontfallback in https://mailman.ntg.nl/pipermail/ntg-context/2018/092878.html). Many thanks for your help, Pablo -- http://ww

Re: [NTG-context] Monospace fallback kerning

2018-12-19 Thread Hans Hagen
below math mode. But actually, there may be a semantic difference between the order (though not in the case below), and that is used in tensor notation. In TeX, the original suggestion is to use {} in such a case. — \definefontfallback [Mono] [stixtwotext] [range={0100-10},factor=1] [force

Re: [NTG-context] Monospace fallback kerning

2018-12-19 Thread Hans Åberg
below math mode. But actually, there may be a semantic difference >> between the order (though not in the case below), and that is used in tensor >> notation. In TeX, the original suggestion is to use {} in such a case. >> — >> \definefontfallback >> [Mono]

Re: [NTG-context] Monospace fallback kerning

2018-12-19 Thread Hans Hagen
(though not in the case below), and that is used in tensor notation. In TeX, the original suggestion is to use {} in such a case. — \definefontfallback [Mono] [stixtwotext] [range={0100-10},factor=1] [force=yes] \setupbodyfont [dejavu,10pt] \showglyphs \starttyping 푷₂₀(0), ∀²푥⁰⁺²₂₀: 푷

Re: [NTG-context] Monospace fallback kerning

2018-12-19 Thread Hans Åberg
> \definefallbackfamily [mainface][mono][stix][range={0100-10},force=yes] >> \definefontfamily [mainface][mono][courier] > You can force a monospaced by inheriting from a paremnt font, as in: > > \definefontfallback > [Mono] [almfixed*none] > [arabic] [force=yes] &

Re: [NTG-context] Monospace fallback kerning

2018-12-19 Thread Hans Hagen
a monospaced by inheriting from a paremnt font, as in: \definefontfallback [Mono] [almfixed*none] [arabic] [force=yes] \definefontfallback [Mono] [sileot*none] [hebrew] [force=yes,factor=1] % factor forces a monospace \setupbodyfont [dejavu,10pt] \showglyphs \starttext \starttyping {لَيْسَ

Re: [NTG-context] Spurious missing character reports

2018-12-10 Thread Hans Hagen
trates the problem. I do not understand now all the features interact to cause this, but the reports disappear upon removing any (such as the seemingly-redundant \definebodyfontenvironment or the \switchtobodyfont[small]). \enabletrackers [fonts.missing] \definebodyfontenviron

[NTG-context] Spurious missing character reports

2018-12-09 Thread Rik Kabel
interact to cause this, but the reports disappear upon removing any (such as the seemingly-redundant \definebodyfontenvironment or the \switchtobodyfont[small]). \enabletrackers [fonts.missing] \definebodyfontenvironment [11pt] [a=1] \definefontfallback [fb:eb

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-06 Thread Wolfgang Schuster
come from the same font as on the command \definefontfallback. This command would otherwise be good to pick replacements for certain glyphs. \definefallbackfamily [mainface] [serif] [stixtwotext] [range={00B2-00B3,00B9,02070-0208F}] The force key is valid for the \definefallbackfamily command

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-06 Thread Hans Åberg
ll come from the same font as on the command \definefontfallback. This command would otherwise be good to pick replacements for certain glyphs. \definefallbackfamily [mainface] [serif] [stixtwotext] [range={00B2-00B3,00B9,02070-0208F}] \definefallbackfamily [mainface] [mono] [stixtwotext] [range=

Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-04 Thread Taco Hoekwater
Hi, > On 4 Oct 2018, at 15:46, Hans Hagen wrote: > > On 10/4/2018 3:19 PM, Taco Hoekwater wrote: >>> On 4 Oct 2018, at 14:11, Hans Hagen wrote: >>> >>> On 10/4/2018 1:44 PM, Taco Hoekwater wrote: >>>> Hi, >>>>> ok, e

Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-04 Thread Hans Hagen
On 10/4/2018 3:19 PM, Taco Hoekwater wrote: On 4 Oct 2018, at 14:11, Hans Hagen wrote: On 10/4/2018 1:44 PM, Taco Hoekwater wrote: Hi, ok, even nicer: \definefontfallback[FakeSansCaps] [SansEmboldened] [0x-0x] [rscale=.8,method=uppercase] which will remap all

Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-04 Thread Hans Hagen
On 10/4/2018 3:35 PM, mf wrote: Il 04/10/18 14:11, Hans Hagen ha scritto: On 10/4/2018 1:44 PM, Taco Hoekwater wrote: Hi, ok, even nicer:     \definefontfallback[FakeSansCaps]   [SansEmboldened] [0x-0x] [rscale=.8,method=uppercase] which will remap all lowercase in the font

Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-04 Thread mf
Il 04/10/18 14:11, Hans Hagen ha scritto: On 10/4/2018 1:44 PM, Taco Hoekwater wrote: Hi, ok, even nicer:     \definefontfallback[FakeSansCaps]   [SansEmboldened] [0x-0x] [rscale=.8,method=uppercase] which will remap all lowercase in the font so that you also get accented

Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-04 Thread Taco Hoekwater
> On 4 Oct 2018, at 14:11, Hans Hagen wrote: > > On 10/4/2018 1:44 PM, Taco Hoekwater wrote: >> Hi, >>> ok, even nicer: >>> >>>\definefontfallback[FakeSansCaps] [SansEmboldened] [0x-0x] >>> [rscale=.8,method=uppercase] >

Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-04 Thread Hans Hagen
On 10/4/2018 1:44 PM, Taco Hoekwater wrote: Hi, ok, even nicer: \definefontfallback[FakeSansCaps] [SansEmboldened] [0x-0x] [rscale=.8,method=uppercase] which will remap all lowercase in the font so that you also get accented characters I do not like ‘emboldened

Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-04 Thread Taco Hoekwater
Hi, > ok, even nicer: > >\definefontfallback[FakeSansCaps] [SansEmboldened] [0x-0x] > [rscale=.8,method=uppercase] > > which will remap all lowercase in the font so that you also get accented > characters I do not like ‘emboldened’ as it results

Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-03 Thread Hans Hagen
=default]     \definefontsynonym [SansEmboldened] [Sans] [features={default,emboldened}]     \definefontfallback[FakeSansCaps]   [SansEmboldened] [0x-0x] [rscale=.8,method=uppercase]     \definefontsynonym [SansCaps]   [file:MyriadPro-Regular.otf] [fallbacks=FakeSansCaps

Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-03 Thread mf
] [features=default] \definefontsynonym [SansBoldSlanted][file:MyriadPro-BoldIt.otf] [features=default] \definefontsynonym [SansEmboldened] [Sans] [features={default,emboldened}] \definefontfallback[FakeSansCaps] [SansEmboldened] [0x-0x] [rscale=.8,method

Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-03 Thread Hans Hagen
On 10/3/2018 4:20 PM, mf wrote: Il 03/10/18 16:02, Hans Hagen ha scritto: ok, even nicer: \definefontfallback[FakeSansCaps]   [SansEmboldened] [0x-0x] [rscale=.8,method=uppercase] which will remap all lowercase in the font so that you also get accented characters Yes

Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-03 Thread mf
Il 03/10/18 16:02, Hans Hagen ha scritto: ok, even nicer:     \definefontfallback[FakeSansCaps]   [SansEmboldened] [0x-0x] [rscale=.8,method=uppercase] which will remap all lowercase in the font so that you also get accented characters Yes, for this case it makes more sense

Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-03 Thread Hans Hagen
them consistent with the "real" uppercase letters What is not working: i don't know how to map the uppercase letters to the lowercase range; i tried to specify an offset of -32 in \definefontfallback[FakeSansCaps][SansEmboldened][0x61-0x7a][rscale=.8,force=yes,offset=-32] b

Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-03 Thread Hans Hagen
uppercase letters What is not working: i don't know how to map the uppercase letters to the lowercase range; i tried to specify an offset of -32 in \definefontfallback[FakeSansCaps][SansEmboldened][0x61-0x7a][rscale=.8,force=yes,offset=-32] but it does not work.

[NTG-context] faking smallcaps font with font features and fallbacks

2018-10-03 Thread mf
is not working: i don't know how to map the uppercase letters to the lowercase range; i tried to specify an offset of -32 in \definefontfallback[FakeSansCaps][SansEmboldened][0x61-0x7a][rscale=.8,force=yes,offset=-32] but it does not work. Here's the minimal (not) working example: \starttypescriptcoll

Re: [NTG-context] unable to define 'texgyrepagella-regula' error etc.

2018-07-25 Thread Otared Kavian
ult] > [default] > > \definefontfeature > [kr-latin-slanted] > [krlatindefault] > [slant=.2] > > \definefontfeature > [kr-latin-slanted-mono] > [slant=.2] > > \definefontfeature > [kr-latin-smallcaps] > [krlatindefault] > [smcp=yes] > > \de

[NTG-context] unable to define 'texgyrepagella-regula' error etc.

2018-07-24 Thread Jeong Dal
\definefontfeature [kr-latin-default] [default] \definefontfeature [kr-latin-slanted] [krlatindefault] [slant=.2] \definefontfeature [kr-latin-slanted-mono] [slant=.2] \definefontfeature [kr-latin-smallcaps] [krlatindefault] [smcp=yes] \definefontfeature [kr-latin-smallcaps-mono]

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-06 Thread Wim Neimeijer
cern with all these beta releases, > ConText is great and for the most part easy to use, I am more worried that > my existing ConText environment (setup) becomes broken, and/or resulting > in complete different PDF output. > I have no way of knowing, apart from visually inspecting a lot

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-06 Thread Wim Neimeijer
including some code examples via \typefile (with a bit of text in either Cyrillic, Chinese, Japanese or Korean) could be achieved with a simple local font switch, or setting a regime or via \setuptyping but not on a global level with \definefontsynonym, definefontfallback etc. My fix is to change

Re: [NTG-context] substituting characters in math font

2017-10-29 Thread Alan Bowen
OK—that makes sense, since Brill is the family name. But then changing “BrillItalic” to “Brill” will not get the italic math characters (Roman or Greek). So, is there a way to get these italics using \definefallbackfamily or must one use \definefontfallback (as Hraban and I eventually did)? I

Re: [NTG-context] substituting characters in math font

2017-10-27 Thread Henning Hraban Ramm
amily[mainface][mm][TeX Gyre Termes Math][scale=0.94] \definefontfallback [brillmath] [RomanItalic] [mathematicalalphanumericsymbols] [force=yes] \definefontfallback [brillmath] [Roman] [{0x30-0x39}] [force=yes] \definefontfallback [brillmath] [RomanItalic] [{0x41-0x5A, 0x61-0x7A}] [force=yes] \

Re: [NTG-context] Typescript/fallbacks problem

2017-05-27 Thread Hans Hagen
t » (and not « dejavudef ») in: \definefontfallback[dejavudefault][dejavusans] [range=generalpunctuation,check=yes,force=no] indeed. but on top of that, the font reports itself as a math font so that confuses the fallback mechanism (we have fundamental different approaches f

Re: [NTG-context] Typescript/fallbacks problem

2017-05-27 Thread Mohammad Hossein Bateni
ask you a >> question about the setup of fallback fonts: why are you referring to « >> dejavudef » in the commands such as >> >> \definefontsynonym [SahelBd] [SahelBold][features={arabic, >> tlig},fallbacks=dejavudef] >> >> while you ha

Re: [NTG-context] Typescript/fallbacks problem

2017-05-27 Thread Hans Hagen
][features={arabic,tlig},fallbacks=dejavudef] while you have defined before « dejavudefault » (and not « dejavudef ») in: \definefontfallback[dejavudefault][dejavusans] [range=generalpunctuation,check=yes,force=no] indeed. but on top of that, the font reports itself as a math font so that confuses

Re: [NTG-context] Typescript/fallbacks problem

2017-05-27 Thread Otared Kavian
] while you have defined before « dejavudefault » (and not « dejavudef ») in: \definefontfallback[dejavudefault][dejavusans] [range=generalpunctuation,check=yes,force=no] Best regards: Otared K. > On 26 May 2017, at 05:52, Mohammad Hossein Bateni <bat...@gmail.com > &l

Re: [NTG-context] Typescript/fallbacks problem

2017-05-25 Thread Mohammad Hossein Bateni
ly. Here is a sort-of-minimal > non-working example. > > > % > > \definefontfeature[slanted][slant=.4] > > > \starttypescript [serif][sahel][name] > > \resetfontfallback [dejavudefault] > > \definefontfallback[d

[NTG-context] Font Fallbacks

2017-04-03 Thread Mathias Schickel
for mathematical symbols. I was able to figure out the following commands that nearly achieve what I want to get: \definefontfallback[MathFallback][file:STIX2Math.otf][lowercasescript,uppercasescript,lowercasefraktur,uppercasefraktur][force=yes] % \starttypescriptcollection[stix2own

Re: [NTG-context] \definefallbackfamily for math fonts, again

2016-11-02 Thread Csikos Bela
pipermail/ntg-context/2013/075481.html I also looked at context wiki pages for Command/definefontfamily and Command/definefontfallback. All in all I am very confused how to use the command. It is not clear for me how to know if an option in \definefallbackfamily applies to the font to be replaced or t

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Hans Hagen
after = { digits }, before = { digits }, lookups = { 1 }, } } } } \stopluacode \definefontfeature[mathperiod][mpf=yes] \resetfontfallback [mathdigits] %\definefontfallback[mathdigits][dejavusansmono][digitsextended

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Mohammad Hossein Bateni
s, >> } }, >> data = { >> rules = { >> { >> current = { { 0x002E } }, >> after = { digits }, >> before = { digits }, >> lookups = { 1 }, >> } >>

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Hans Hagen
before = { digits }, lookups = { 1 }, } } } } \stopluacode \definefontfeature[mathperiod][mpf=yes] \resetfontfallback [mathdigits] %\definefontfallback[mathdigits][dejavusansmono][digitsextendedarabicindic][check=yes,force=yes,offset=digitsnormal] \defi

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Hans Hagen
= { digits }, before = { digits }, lookups = { 1 }, } } } } \stopluacode \definefontfeature[mathperiod][mpf=yes] \resetfontfallback [mathdigits] %\definefontfallback[mathdigits][dejavusansmono][digitsextendedarabicindic][check=yes,force=yes,offset=digitsnormal] \definefontsynonym

[NTG-context] OTF feature for a math font

2016-08-05 Thread Mohammad Hossein Bateni
>> name = "mpf", >> type = "chainsubstitution", >> lookups = { { >> type = "multiple", >> data = replacements, >> } }, >> data = { >> rules = { >> { >> current = { { 0x

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-02 Thread Mohammad Hossein Bateni
> { > current = { { 0x002E } }, > after = { digits }, > before = { digits }, > lookups = { 1 }, > } > } > } > } > \stopluacode > > \definefontfeature[mathperiod][mpf=yes] > > \resetfontfallback [mathdigits] > %\definefontfallba

[NTG-context] Changing decimals points to Persian ones via font features

2016-08-01 Thread Mohammad Hossein Bateni
{ 1 }, } } } } \stopluacode \definefontfeature[mathperiod][mpf=yes] \resetfontfallback [mathdigits] %\definefontfallback[mathdigits][dejavusansmono][digitsextendedarabicindic][check=yes,force=yes,offset=digitsnormal] \definefontsynonym [MathRoman][name:modern][features={math\mathsizesuff

Re: [NTG-context] bug in \definefallbackfamily?

2016-05-22 Thread Pablo Rodriguez
heck should be the same > as the default values (no for both) for \definefontfallback. Wolfgang, would it be possible that the default values were yes in both cases? Otherwise, the default would break compatibility with many already existing documents. Many thanks for

Re: [NTG-context] bug in \definefallbackfamily?

2016-05-21 Thread Wolfgang Schuster
ὰ καλά \stoptext From what I read in i-context.pdf, "force=yes" is the default setting for \definefallbackfamily. The document is wrong, the values for force and check should be the same as the default values (no for both) for \definefontfal

Re: [NTG-context] what does rscale=auto achieve?

2016-05-15 Thread Pablo Rodriguez
any scaling, could anyone explain me what I’m missing? > 1. Only \definetypeface supports rscale=auto, the \definefontfallback > accepts only number values for the rscale key. > > 2. You have to use scale instead of rscale for the \definefontfamily and > \definefallbackfamily co

Re: [NTG-context] what does rscale=auto achieve?

2016-05-15 Thread Wolfgang Schuster
ng, could anyone explain me what I’m missing? 1. Only \definetypeface supports rscale=auto, the \definefontfallback accepts only number values for the rscale key. 2. You have to use scale instead of rscale for the \definefontfamily and \definefallbackfamily commands for the moment but I will chan

Re: [NTG-context] glyph substitution

2016-05-06 Thread Thomas Fehige
of this? Like: "How to make my own otf feature at home" -- the script "extensions-001.tex" seems to try something like that, but it shows no effect on my machine. Or a bit of text that explains the properties and functionalities of \definefontfallback in whole sentences? Po

Re: [NTG-context] glyph substitution

2016-04-27 Thread Hans Hagen
own otf feature at home" -- the script "extensions-001.tex" seems to try something like that, but it shows no effect on my machine. Or a bit of text that explains the properties and functionalities of \definefontfallback in whole sentences? Pointers like that would be very welcome. a lot

Re: [NTG-context] glyph substitution

2016-04-27 Thread Thomas Fehige
of this? Like: "How to make my own otf feature at home" -- the script "extensions-001.tex" seems to try something like that, but it shows no effect on my machine. Or a bit of text that explains the properties and functionalities of \definefontfallback in whole sentences? Po

[NTG-context] How to do font fallback for math?

2014-04-29 Thread Darksair
Hi all, Basically I’m trying to use the Neo Euler font for math. It’s missing some symbols, and I would like to fallback to some other fonts. But I’m having trouble setting up this fallback. For example, % Use lmr to type numbers? \definefontfallback[somefbk][name:lmroman12][0x30-0x39

[NTG-context] Baskervald ADF Virtual Math Fonts

2014-04-18 Thread joasyannick
of ConTeXt to get that command. Ok. You may also answer my question: Let us consider the statememt: \definefontfallback [BaskervaldOverPagella] [file:BaskervaldADFStd-Italic] [0x1D44E-0x1D467] [\check=yes,force=yes] I understand it as: “Replace the glyphs 0x1D44E-0x1D467 (mathematical a-z

Re: [NTG-context] Baskervald ADF Virtual Math Fonts

2014-04-18 Thread Mikael P. Sundqvist
not to be a typescript-level command. You need a newer version of ConTeXt to get that command. Ok. You may also answer my question: Let us consider the statememt: \definefontfallback [BaskervaldOverPagella] [file:BaskervaldADFStd-Italic] [0x1D44E-0x1D467] [\check=yes,force=yes] I

Re: [NTG-context] Baskervald ADF Virtual Math Fonts

2014-04-18 Thread Wolfgang Schuster
Am 18.04.2014 um 08:20 schrieb joasyann...@gmail.com: Ok. You may also answer my question: Let us consider the statememt: \definefontfallback [BaskervaldOverPagella] [file:BaskervaldADFStd-Italic] [0x1D44E-0x1D467] [\check=yes,force=yes] I understand it as: “Replace the glyphs

[NTG-context] Baskervald ADF Virtual Math Fonts

2014-04-17 Thread joasyannick
. Let us try \definefontfallback. Let us consider the statememt: \definefontfallback [BaskervaldOverPagella] [file:BaskervaldADFStd-Italic] [0x1D44E-0x1D467] [\check=yes,force=yes] I understand it as: “Replace the glyphs 0x1D44E-0x1D467 (mathematical a-z) of the source font

  1   2   >