ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* lmtx and \prime ?
@ 2022-08-04 18:52 Michael Urban via ntg-context
  2022-08-04 19:57 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Urban via ntg-context @ 2022-08-04 18:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Michael Urban

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?

	Mike

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: lmtx and \prime ?
  2022-08-04 18:52 lmtx and \prime ? Michael Urban via ntg-context
@ 2022-08-04 19:57 ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen via ntg-context @ 2022-08-04 19:57 UTC (permalink / raw)
  To: ntg-context; +Cc: Hans Hagen

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-04 19:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-04 18:52 lmtx and \prime ? Michael Urban via ntg-context
2022-08-04 19:57 ` Hans Hagen via ntg-context

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).