On 3/10/2020 11:32 AM, Henri Menke wrote:
There are still people trying to run TikZ on plain TeX with the Knuth
engine: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=920368
hm, so you can't actually use etex goodies unless you emulate them
\newcount\eTeXversion \eTeXversion = 2000
\newcount\eTeXrevision \eTeXrevision = 0020
Hm, I need something that *all* eTeX engines provide that I can check.
And these seem to have met that requirement. I really don't want to
write a huge cascade of if-s to test for different engines.
I'll add dummies then but be aware that you actually should test for the
primitives that you expect because I'm not even sure if luatex bumped
the number. As you mention "all" it means that you expect differences
because "all" implies differences here. What if someone runs a very old
(experimental) etex.
(\scantokens, \readline, \detokenize, \savingvdiscards are likely to be
untouched .. it depends on what primitives you expect to use)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________