[NTG-context] latest beta and ancient greek module

Wolfgang Schuster schuster.wolfgang at gmail.com
Wed May 1 22:45:58 CEST 2013


Am 01.05.2013 um 18:03 schrieb Mojca Miklavec <mojca.miklavec.lists at 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


More information about the ntg-context mailing list