Subsection 4.1 of LaTeX2e for class and package writers contains the following passage:
\NeedsTeXFormat {⟨format-name⟩} [⟨release-date⟩]This command tells TeX that this file should be processed using a format with name ⟨format-name⟩. You can use the optional argument ⟨release-date⟩ to further specify the earliest release date of the format that is needed. When the release date of the format is older than the one specified a warning will be generated. The standard ⟨format-name⟩ is LaTeX2e. The date, if present, must be in the form yyyy/mm/dd.
I have two closely related questions about the ⟨release-date⟩ argument of \NeedsTeXFormat:
- How do I, at the command line or in TeX Live Utility, get the release date of the LaTeX kernel currently used by my TeX distro?
- Is it good practice to always specify the date of the latest release? Doing so, if I understand
\NeedsTeXFormatcorrectly, will prompt users who don't have the latest release to update their distribution. Is it fair to expect users to be up to date? Am I likely to "lose" potentials users who may be unable to get an up-to-date distribution?
grep fmtversion $(kpsewhich latex.ltx)(orgrep 'edef\\fmtversion' ...)? Or look insource2e.pdf. However, 'requiring' the latest version seems pretty strict to me... – jon Feb 16 '14 at 23:26