Changes

Jump to navigation Jump to search
522 bytes added ,  05:40, 13 February 2020
m
== Introducing Mark IV (and MkVI) ==
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
In the distribution the MkIV files have suffix 'mkiv'. There are also files with suffix 'mkvi' and more will follow. The most significant difference is that these files use a different (and still somewhat experimental) syntax.
 
=== Mark VI ===
 
Mark VI is ''identical to Mark IV'' in every respect, except that when you define a new macro you can give parameters names instead of numbers. This make programming a great deal more pleasant. For example, instead of
 
<texcode>
\def\colortext[#1]#2%
{\color[#1]{#2}}
</texcode>
 
you can write
 
<texcode>
\def\colortext[#color]#text%
{\color[#color]{#text}}
</texcode>
 
To use Mark VI, add the comment {{code|1=% macros=mkvi}} as the first line of your file, or save the file with a <tt>.mkvi</tt> extension.
== Installation and maintenance ==
35

edits

Navigation menu