[texhax] reading latex version number at compile time
David Carlisle
d.p.carlisle at gmail.com
Sat Nov 14 01:11:27 CET 2015
\fmtversion will have the latex version which you can add via \hypersetup.
xdvipdfmx will add its version to the pdf automatically, if I run
xelatex on anything
pdffinfo reports
Creator: XeTeX output 2015.11.14:0006
Producer: xdvipdfmx (20150315)
David
On 14 November 2015 at 00:02, Daniel Greenhoe <dgreenhoe at gmail.com> wrote:
> Is there any way to read the latex and/or dvipdfmx version numbers at
> compile time and pass the string(s) to the metadata of the final pdf
> file?
>
> For example, if I use the <hyperref> package with this command in the preamble
> \hypersetup{%
> pdfcreator={string1},
> pdfproducer={string2},
> }
> ,can string1 and string2 somehow be written to at compile time to
> contain the version number(s)?
>
> Many many thanks in advance,
> Dan
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
--
http://dpcarlisle.blogspot.com/
More information about the texhax
mailing list