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

2023-06-10 Thread Henning Hraban Ramm via ntg-context

Am 10.06.23 um 19:46 schrieb Mikael Sundqvist via ntg-context:

Hi,

On Sat, Jun 10, 2023 at 10:06 AM Henning Hraban Ramm via ntg-context
 wrote:


Hi, this is probably for Hans & Mikael, but maybe someone else has a hint:

If I set a fallback for my body font to catch all missing characters,
some math accents get replaced by small bold uppercase characters (I
found hat by K and ring by T so far).

I tried [fallbacks=] for 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.)


I leave the font fallbacks to Hans or somebody else, but for the \bar
one can argue that the "305 glyph in Libertinus Math sits too high.
This is adjusted for in the goodie file in the next upload.


I could fix a few math accents (e.g. widebar) by limiting my 
replacements to necessary glyphs, but many other problems remain (e.g. 
breve, check, dot, widehat). It also affects the sizing of limiters and 
e.g. underbraces.


Why do font fallbacks for non-math fonts affect math at all?

Hraban
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


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

2023-06-10 Thread Mikael Sundqvist via ntg-context
Hi,

On Sat, Jun 10, 2023 at 10:06 AM Henning Hraban Ramm via ntg-context
 wrote:
>
> Hi, this is probably for Hans & Mikael, but maybe someone else has a hint:
>
> If I set a fallback for my body font to catch all missing characters,
> some math accents get replaced by small bold uppercase characters (I
> found hat by K and ring by T so far).
>
> I tried [fallbacks=] for 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.)

I leave the font fallbacks to Hans or somebody else, but for the \bar
one can argue that the "305 glyph in Libertinus Math sits too high.
This is adjusted for in the goodie file in the next upload.

/Mikael
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] setuphead page=right and blank even page.

2023-06-10 Thread Wolfgang Schuster via ntg-context

Alan Braslau via ntg-context schrieb am 10.06.2023 um 12:28:

Hello,

\setuphead
  [part,chapter,title]
  [page=right]

will start a part, chapter, or title on an odd page (right), inserting 
a "blank" even page if necessary. How can I get this blank even page 
to be truely blank, that is with no headers nor footers?


I tried several thinks and must be missing something really simple and 
obvious.


\setuphead [...] [page={yes,header,footer,right}]

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] setuphead page=right and blank even page.

2023-06-10 Thread Alan Braslau via ntg-context

Hello,

\setuphead
  [part,chapter,title]
  [page=right]

will start a part, chapter, or title on an odd page (right), inserting a 
"blank" even page if necessary. How can I get this blank even page to be 
truely blank, that is with no headers nor footers?


I tried several thinks and must be missing something really simple and 
obvious.


Thank you.

--
Alan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


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

2023-06-10 Thread Henning Hraban Ramm via ntg-context

Hi, this is probably for Hans & Mikael, but maybe someone else has a hint:

If I set a fallback for my body font to catch all missing characters, 
some math accents get replaced by small bold uppercase characters (I 
found hat by K and ring by T so far).


I tried [fallbacks=] for 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-0xF]
  [check=no,force=no,rscale=0.85]

\starttypescript [contextstart]
  \definetypeface [contextstart] [rm] [serif] [cambria]
[default][fallbacks=symbolaFB]
  \definetypeface [contextstart] [ss] [sans]  [segoe]
[default][fallbacks=arialFB]
  \definetypeface [contextstart] [tt] [mono]  [modern]
[default][fallbacks=arialFB]
  \definetypeface [contextstart] [mm] [math]  [cambria]
[default]
\stoptypescript

\setupbodyfont[contextstart,12pt]

\starttext

\im{\hat{H} \widehat{HAT} \bar{b} \widebar{bar}}

\im{\mathring{+} \mathring{±} \mathring{x}}

\stoptext

mathtest.tex
Description: TeX document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___