Am 01.05.2013 um 18:03 schrieb Mojca Miklavec <mojca.miklavec.li...@gmail.com>:
> 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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________