[texhax] latex --version = pdfTeX ... ?
d.p.carlisle at gmail.com
Sat Nov 14 00:43:17 CET 2015
in platforms that support symbolic links, latex is just a symbolic
link to pdftex so they are the same executable
web2c tex uses the name of the program to control the behaviour so if
linked (or copied) to newname then calling
is equivalent to running
pdftex &newname file
which runs tex with the format (ie saved pre-loaded macro definitions) loaded.
So what you see is the tex version string, latex's version is in the
so for example
$ latex \\stop
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015)
restricted \write18 enabled.
entering extended mode
(or perhaps more likely
<2015/10/01> patch level 2
LaTeX versions are date-like strings such as 2015/10/01
More information about the texhax