ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Hans Hagen <j.hagen@freedom.nl>
Subject: [NTG-context] Re: Adjusting Font Based Math Parameters
Date: Sat, 12 Oct 2024 19:56:00 +0200	[thread overview]
Message-ID: <a7aa9778-220d-4076-8885-982500eb4432@freedom.nl> (raw)
In-Reply-To: <CAM=nX_5hVk=YB88oH8QaU-P+PXBBqvqwRnLSR1yP+VPzrVJgXA@mail.gmail.com>

On 10/12/2024 7:27 PM, Julius Ross wrote:
> Sorry that is not really what I want.  I am looking to adjust (in 
> context) all of the 
> primitives \Umathfractiondenomdown, \Umathfractionnumup etc described on 
> p138 of the LuaMetaTeX reference manual.
> 
> Ideally it would be nice to be able to do this once from the start.
> 
> The reason is simply it would be much faster than having to export the 
> font each time I make a small change to the font (which is slow and so 
> harder to see the effect of the change).
> 
> If this is not possible/hard I can live without it.

You can make a so called font goodie file and tweak all parameters in 
there (just look at the shipped files) but ... only very few of these 
parameters actually make sense and are often set kind of bad (we're 
still considering just ditching all but a few of them).

If you change them per formula you have to set them at the right moment 
and if needed prefix them with \frozen in order to make them persistent 
for the multiple runs (two in traditional tex, many more in luametatex) 
over a math list (kind of like math style). There are lots of ways to 
control the math rendering as basically everything can be configured in 
the engine, but only a fraction makese sense and many relate to each 
other.

So the question is: what do you want to change? Maybe there are ways 
without messing with these parameters in the document.

Hans



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / 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	other threads:[~2024-10-12 18:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-12 14:10 [NTG-context] " juliusross
2024-10-12 16:25 ` [NTG-context] " Mikael Sundqvist
2024-10-12 17:27   ` Julius Ross
2024-10-12 17:56     ` Hans Hagen via ntg-context [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a7aa9778-220d-4076-8885-982500eb4432@freedom.nl \
    --to=ntg-context@ntg.nl \
    --cc=j.hagen@freedom.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).