/usr/share/doc/context/README.MarkIV is in context 2014.05.21.20140528-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39  | README.MarkIV
=============
Mark IV is the name of the LuaTeX-aware part of ConTeXt; that is, when you
use ConTeXt over the LuaTeX engine instead of PDFTeX or XeTeX. You run it
with 
	context <filename>
Current tex-common will try to call mtxrun when necessary. Users should
not have the need to run anything, but a call as user of
	mtxrun --generate
might help in certain cases.
Now you can try some simple document like (thanks to Arthur Reutenauer)
	\starttext
	\ctxlua{a = 1.5 ; b = 1.8 ; c = a*b ; tex.print(c) ;}
	or the equivalent:
	\startlua
	a = 1.5
	b = 1.8
	c = a*b
	tex.print(c)
	\stoplua
	You can also do more elaborate calculations with the lua math library:
	\ctxlua{tex.print("$\string\\sqrt{2} = " .. math.sqrt(2) .. "$")}
	\stoptext
and run it with
  	context filename.tex
More needs to be done, but we are happy to get feedback/ideas/suggestions
on the integration, please contact
	debian-tex-maint@lists.debian.org
Norbert Preining
2012-05-24
 |