[tex-k] Patch: engine --version gives uncommon version sequence

Hartmut Henkel hartmut_henkel at gmx.de
Wed Sep 15 23:02:07 CEST 2004


Hi,

tex --version currently gives:
TeX (Web2C 7.5.3) 3.141592

Other engines similar, e. g. pdftex --version:
pdfTeX (Web2C 7.5.3) 3.141592-1.20a

And this looks uncommon, as elsewhere first the version of the engine
itself is stated. With the trivial patch below one gets e. g.:

pdfetex --version
pdfeTeX 3.141592-1.20a-2.2 (Web2C 7.5.3)

I would be glad if this still could be changed.

Best Regards

Hartmut


--- printversion.c.orig	Sat May  8 13:38:21 2004
+++ printversion.c	Wed Sep 15 22:38:25 2004
@@ -34,7 +34,7 @@
   prog_name[len] = 0;

   /* The Web2c version string starts with a space.  */
-  printf ("%s%s %s\n", prog_name, versionstring, prog_version);
+  printf ("%s %s%s\n", prog_name, prog_version, versionstring);
   puts (kpathsea_version_string);

   if (copyright_holder) {



More information about the tex-k mailing list