Wolfgang Schuster schrieb:
Hi Hans,
can you add command which will print the name (e.g. LuaTeX, pdfTeX ...) and version (e.g. 0.36.0) of the current used TeX engine.
Hi Wolfgang, I think this should better be done by a command in pdftex/luatex. The 'Procucer' key is already set by pdftex/luatex, but sadly there is no access to this value for the user (although the same info is needed for the correspondent XMP entry in most of the PDF/X versions). Anyhow, this is what I currently use % extract /Producer info out of \pdftexbanner \def\pdftexproducer {\ifnum\contextmarkmode=4 LuaTeX\else pdfTeX\fi % starting with luatex version 0.35.0 it's 'LuaTeX' with uppercase 'L' (prior versions: 'luaTeX') \expandafter\dopdftexproducer\pdftexbanner @@@} \long\def\dopdftexproducer#1-#2-#3@@@% {-#2} Not nice, but working (with newer luatex versions). See comment... Best wishes, Peter
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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- "Es ist doch ein Trost, das Geldgier manchmal blöd macht." - Kottan in "Kottan ermittelt", Folge 9: "Die Einteilung" -