ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* LuaTeX-Plain and Inline Math
@ 2014-05-07 17:56 Aíre Funvake
  2014-05-07 19:32 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Aíre Funvake @ 2014-05-07 17:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

Sorry to be a pain:

%%<tst01.tex
Inline $\sqrt{1.2}$ math. % same for $\root n of x$
\end
%%>


$ luatex --fmt luatex-plain tst01.tex

  This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972)
  (format=luatex-plain 2014.5.7)  7 MAY 2014 11:48
   \write18 enabled.
  **tst01.tex
8<....
  (../tex/generic/context/luatex/luatex mplib.tex)
  ! Missing { inserted.
  <to be read again>
  $
  l.2 Inline $\sqrt{1.2}$
                      math. %-- same for $\root n of x$


Works fine with `luatex` and `pdftex` from MacTeXbasic 2013 (+extras)
   LuaTeX, Version beta-0.76.0-2013061817 (TeX Live 2013) (rev 4627)
   pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013)

Font issue with roots?

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: LuaTeX-Plain and Inline Math
  2014-05-07 17:56 LuaTeX-Plain and Inline Math Aíre Funvake
@ 2014-05-07 19:32 ` Hans Hagen
  2014-05-07 19:38   ` Aíre Funvake
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2014-05-07 19:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 5/7/2014 7:56 PM, Aíre Funvake wrote:
> Inline $\sqrt{1.2}$ math. % same for $\root n of x$
> \end
replace this in luatex-math.tex:

\def\sqrt     {\Uroot "0 "221A{}}
\def\root#1\of{\Uroot "0 "221A{#1}}


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: LuaTeX-Plain and Inline Math
  2014-05-07 19:32 ` Hans Hagen
@ 2014-05-07 19:38   ` Aíre Funvake
  0 siblings, 0 replies; 3+ messages in thread
From: Aíre Funvake @ 2014-05-07 19:38 UTC (permalink / raw)
  To: ntg-context

On 2014-05-07, 21:32 , Hans Hagen wrote:
> On 5/7/2014 7:56 PM, Aíre Funvake wrote:
>> Inline $\sqrt{1.2}$ math. % same for $\root n of x$
>> \end
> replace this in luatex-math.tex:
> 
> \def\sqrt     {\Uroot "0 "221A{}}
> \def\root#1\of{\Uroot "0 "221A{#1}}
> 
> 
Worked like a charm, thank you.
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2014-05-07 19:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-07 17:56 LuaTeX-Plain and Inline Math Aíre Funvake
2014-05-07 19:32 ` Hans Hagen
2014-05-07 19:38   ` Aíre Funvake

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