Already asked, it's possible to include the version of LaTeX in a PDF using \pdftexbanner. However, this is only one command. Is there a similar selection of commands as those presented for ConteXt to allow more customization of the version information used in the document?
On my machine, \pdftexbanner produces:
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/MacPorts 2015_9) kpathsea version 6.2.1
which is too verbose for my desired use.
Edit: it appears to be possible to programmatically extract substrings of \pdftexbanner, but this doesn't seem to be the most straightforward or portable solution to building a custom version string.
\pdftexbannerby techniques described in How can I programmatically populate a PDF's pdfcreator field? – Werner Apr 25 '16 at 17:03\fmtnameand\fmtversionfor plain/LaTeX but I'm unclear from the question exactly what it is you want to know the data for (the engine, the system or the format). – Joseph Wright Apr 29 '16 at 06:37snapshotpackage extracts version numbers and revision dates from somewhere for all of the packages used. – user2943160 May 01 '16 at 15:38