ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* starting out with MKiV -- oversized math fonts
@ 2007-08-19 20:02 George N. White III
  2007-08-19 20:16 ` Peter Münster
  0 siblings, 1 reply; 4+ messages in thread
From: George N. White III @ 2007-08-19 20:02 UTC (permalink / raw)
  To: NTG ConTeXt

When I format the following example, based on the wiki, the math fonts
don't match
the body fonts.  Note that "tex.print(c)" uses the body font and is
small compared
to the output from "tex.print("$...$")".   The last line shows this is
a math-mode issue, not really a problem with output from lua:

% t-mkiv.tex -- test file for luatex and ConTeXt
% see: <http://wiki.contextgarden.net/Mark_IV>

% Compile:
% texmfstart texexec --lua t-mkiv

\starttext

Using lua for a calculation:

\startlua
a = 1.5
b = 1.8
c = a*b
tex.print(c)
\stoplua

\ctxlua{tex.print("$\string\\sqrt{2} = " .. math.sqrt(2) .. "$")}

There is a problem with the size of math fonts: X$X$X or x$x$x.

\stoptext

-- 
George N. White III <aa056@chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2007-08-19 23:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-19 20:02 starting out with MKiV -- oversized math fonts George N. White III
2007-08-19 20:16 ` Peter Münster
2007-08-19 22:53   ` George N. White III
2007-08-19 23:00     ` 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).