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@xs4all.nl>
Subject: Re: lmtx and \prime ?
Date: Thu, 4 Aug 2022 21:57:09 +0200	[thread overview]
Message-ID: <f281960c-53f2-6e24-93a9-7448d1ca04df@xs4all.nl> (raw)
In-Reply-To: <7D950977-9105-4ACC-BC4D-DBFDF02DCC87@ca.rr.com>

On 8/4/2022 8:52 PM, Michael Urban via ntg-context wrote:
> I get a different result for mkiv and lmtx for the following input:
> 
> \starttext
>   Even now, a six footer is two
> standard deviations from the mean. Remember, 5\prime{}7\prime\prime{} is 50th percentile today
> for a 15 year old.
> \stoptext
> 
> 
> With mkiv, the prime marks for inches and feet are where I expect them; in lmtx, they are placed almost to the baseline.
> 
> Wrong lmtx, or user error?

% you can add this to cont-new.mkxl

\immutable\Umathchardef\minute\zerocount\zerocount\privatecharactercode{prime 
0x2032 1}
\immutable\Umathchardef\second\zerocount\zerocount\privatecharactercode{prime 
0x2033 1}

\starttext

Even now, a six footer is two standard deviations from the mean. Remember,
5\minute7\second\ is 50\high{th} percentile today for a 15 year old.

\stoptext

I need to discuss this with Mikael as it assumes that all math fonts are 
set up that way). In lmtx (luametatex) primes are native features and 
assume dimensions that we can work with (primes and minutes are a 
typical example of messed up math unicode).

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://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
___________________________________________________________________________________

      reply	other threads:[~2022-08-04 19:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-04 18:52 Michael Urban via ntg-context
2022-08-04 19:57 ` 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=f281960c-53f2-6e24-93a9-7448d1ca04df@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).