On Sun, May 31, 2026 at 12:05 (+0200), Pablo Rodriguez via ntg-context wrote:

> On 5/28/26 02:39, Jim via ntg-context wrote:
>> Hi all,
>> […] 
>> What do I learn from this?
>> (a) Fractional point font sizes are not a thing, and I shouldn't do that?
>> (b) Fractional point font sizes may work, but are unreliable?
>> (c) \switchtobodyfont[script] doesn't work with fractional point font sizes?
>> (d) Something else entirely?

> Hi Jim,

> just use the source: lines 654-662 from contain the explanation (or I
> just found the fix reading those lines).

> If you use non-predefined font sizes (not just fractional, `50pt` gives
> the same result), it seems that you have to setup the size.

> Your sample compiles fine, even with such an unorthodox approach such as:

>   \definebodyfontenvironment[10.5pt]
>     [script=\cldcontext{10.5*(7/12)}pt]
>   \setupbodyfont[10.5pt]

> I hope it helps,

Hi Pablo,

Thanks for the information, that looks very helpful.

I probably would never have thought of using an irrational font size, but
your formula there makes me wonder about using square roots in a similar
statement. :-)

                                Jim

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

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to