ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen via ntg-context <ntg-context@ntg.nl>
To: "Christoph Hintermüller via ntg-context" <ntg-context@ntg.nl>
Cc: Hans Hagen <j.hagen@xs4all.nl>
Subject: Re: Need some hints to fix my standalon installation
Date: Wed, 20 Apr 2022 19:18:51 +0200	[thread overview]
Message-ID: <6f013905-eab6-1692-215b-df6fb6156e40@xs4all.nl> (raw)
In-Reply-To: <2db6df3caec5a29687a791979c52fab7f414debc.camel@out-world.com>

On 4/20/2022 7:07 PM, Christoph Hintermüller via ntg-context wrote:
> Hi Michael
> 
> [Inline Response to message by Mikael Sundqvist via ntg-context, Mi,
> 2022-04-20 17:12 +0200: Answers and comments below corresponding cited
> paragraphs.]
> 
>> The strange thing with fractions seems to be due to the parameter
>> FractionNumeratorDisplayStyleShiftUp in lm.lfg. If you always set it
>> to 600, it seems to work also for luatex. (This will be fixed.)
>>
>> Another thing: Instead of using \over, I suggest that you use \frac
>> (less surprises). Something like:
>>
>> \starttext
>> \startformula
>>          a=b + 1
>> \stopformula
>>
>> \startformula
>>          a = \frac{ b + \mu }{ c }
>> \stopformula
>>
>> \startformula
>>          a = \frac{\frac{ b + \mu }{ c } + e}{ d + i }
>> \stopformula
>> \stoptext
> 
> Thank you very much for the hints. \frac didn't help either even after
> moving broken installation aside and doing a fresh install with
>   
> sh ./first-setup.sh --modules=all --context=latest
> 
> 
> Results still similar see attached.
We had to adapt the lfg file for lm (other fonts are ok) so i'll make an 
update.

If you're in a hurry, in lm.lfg:

         parameters = {
             FractionNumeratorDisplayStyleShiftUp = 600, -- used to be a 
function
             NoLimitSupFactor                     =   0,
             NoLimitSubFactor                     = 900,
          -- AccentBaseHeight                     =   0,
             AccentBaseDepth                      =  50,
         },

can be adapted.

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 / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2022-04-20 17:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-20 10:34 Christoph Hintermüller via ntg-context
2022-04-20 15:03 ` Pablo Rodriguez via ntg-context
2022-04-20 15:12   ` Mikael Sundqvist via ntg-context
2022-04-20 17:07     ` Christoph Hintermüller via ntg-context
2022-04-20 17:18       ` Hans Hagen via ntg-context [this message]
2022-04-20 17:22         ` Christoph Hintermüller via ntg-context
2022-04-20 17:41           ` Pablo Rodriguez via ntg-context
2022-04-20 18:50             ` Taco Hoekwater via ntg-context
2022-04-20 19:17               ` J. Hagen via ntg-context
  -- strict thread matches above, loose matches on Subject: below --
2022-04-20 10:33 Christoph Hintermüller via ntg-context

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=6f013905-eab6-1692-215b-df6fb6156e40@xs4all.nl \
    --to=ntg-context@ntg.nl \
    --cc=j.hagen@xs4all.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).