![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
1 May
2013
1 May
'13
2:45 p.m.
Am 01.05.2013 um 18:03 schrieb Mojca Miklavec
I agree with that one. But apart from the modules that can easily be fixed, I use it in many of my (non-mkiv-specific) documents to setup the typescripts. I don't mind changing the keyword, but it would be nice to have a simple command available for making small snippets of code dependent on the engine. (LaTeX has \ifXeTeX, \ifLuaTeX for example.)
You can use \startmode[*mkii] or \startmode[*mkiv] to write different code for MkII and MkIV. With the counter \texengine you can also check for the engine, one is pdfTeX, two is XeTeX and three is LuaTeX. Wolfgang