Wolfgang Schuster wrote:
On Fri, Mar 20, 2009 at 1:13 PM, Taco Hoekwater <t...@elvenkind.com> wrote:
Peter Rolf wrote:
Hi Wolfgang,

I think this should better be done by a command in pdftex/luatex.
No. All engines have multiple version commands already, I see
absolutely no need for yet another version-related primitive.

I mean a command in ConTeXt, no primitive, something like this.

\def\currentenginename
  {\ifcase\texengine
   \or pdfTex%
   \or XeTeX%
   \or LuaTeX%
   \fi}

This document was produced with \currentenginename.

ok, i added

\def\currenttexenginename
  {\ifcase\texengine\or pdf\or Xe\or Lua\else no\fi\TeX}


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to