ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Funny radicals in LMTX
@ 2020-06-11 11:52 Jairo A. del Rio
  2020-06-11 12:50 ` Mikael Sundqvist
  0 siblings, 1 reply; 3+ messages in thread
From: Jairo A. del Rio @ 2020-06-11 11:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 294 bytes --]

Hi list! Nesting radicals in LMTX give a funny font size compared with
LuaTeX, which gives the correct output. I cleaned the cache, just in case.
I attach code and outputs. Thank you in advance.

\startTEXpage
\startformula
a_{2n} = \sqrt{2-\sqrt{4-a_{2n}}}
\stopformula
\stopTEXpage

Jairo :D

[-- Attachment #1.2: Type: text/html, Size: 410 bytes --]

[-- Attachment #2: luametatextest.pdf --]
[-- Type: application/pdf, Size: 5528 bytes --]

[-- Attachment #3: luatextest.pdf --]
[-- Type: application/pdf, Size: 7447 bytes --]

[-- Attachment #4: Type: text/plain, Size: 493 bytes --]

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

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

* Re: Funny radicals in LMTX
  2020-06-11 11:52 Funny radicals in LMTX Jairo A. del Rio
@ 2020-06-11 12:50 ` Mikael Sundqvist
  2020-06-11 17:50   ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Mikael Sundqvist @ 2020-06-11 12:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 994 bytes --]

Hi,

I can confirm. The same problem goes with $\sqrt{\frac{2}{3}}$.

/Mikael

On Thu, Jun 11, 2020 at 1:53 PM Jairo A. del Rio <jairoadelrio6@gmail.com>
wrote:

> Hi list! Nesting radicals in LMTX give a funny font size compared with
> LuaTeX, which gives the correct output. I cleaned the cache, just in case.
> I attach code and outputs. Thank you in advance.
>
> \startTEXpage
> \startformula
> a_{2n} = \sqrt{2-\sqrt{4-a_{2n}}}
> \stopformula
> \stopTEXpage
>
> Jairo :D
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 1905 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

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

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

* Re: Funny radicals in LMTX
  2020-06-11 12:50 ` Mikael Sundqvist
@ 2020-06-11 17:50   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2020-06-11 17:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Mikael Sundqvist

On 6/11/2020 2:50 PM, Mikael Sundqvist wrote:
> Hi,
> 
> I can confirm. The same problem goes with $\sqrt{\frac{2}{3}}$.

put this in cont-new.mkiv:

     \unexpanded\def\styledrootradical#1#2%
       {\normalexpanded{\rootradical
          {\normalunexpanded{#1}}%
          {\noexpand\triggermathstyle{\number\normalmathstyle}%
           \normalunexpanded{#2}}}}

but next upload test again (as i'm experimenting with it a bit just for 
the sake of cleaner code).

Hans

> /Mikael
> 
> On Thu, Jun 11, 2020 at 1:53 PM Jairo A. del Rio 
> <jairoadelrio6@gmail.com <mailto:jairoadelrio6@gmail.com>> wrote:
> 
>     Hi list! Nesting radicals in LMTX give a funny font size compared
>     with LuaTeX, which gives the correct output. I cleaned the cache,
>     just in case. I attach code and outputs. Thank you in advance.
> 
>     \startTEXpage
>     \startformula
>     a_{2n} = \sqrt{2-\sqrt{4-a_{2n}}}
>     \stopformula
>     \stopTEXpage
> 
>     Jairo :D
>     ___________________________________________________________________________________
>     If your question is of interest to others as well, please add an
>     entry to the Wiki!
> 
>     maillist : ntg-context@ntg.nl <mailto: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
>     ___________________________________________________________________________________
> 
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
> 


-- 

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

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

end of thread, other threads:[~2020-06-11 17:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-11 11:52 Funny radicals in LMTX Jairo A. del Rio
2020-06-11 12:50 ` Mikael Sundqvist
2020-06-11 17:50   ` Hans Hagen

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