# Creating a PDF of version 1.5 and using the etexcmds-package

When I compile this MWE:

\documentclass{report}
\pdfminorversion=5
\usepackage{etexcmds}
\begin{document}
Hi!
\end{document}


with pdflatex from TeXlive 2011, then I get in the log-file:

(.../etexcmds.sty
Package: etexcmds 2011/02/16 v1.5 Prefix for e-TeX command names (HO)

(.../infwarerr.sty
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/message (HO)
)
(.../ifluatex.sty
Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
Package etexcmds Info: Could not find \expanded.
(etexcmds)             That can mean that you are not using pdfTeX 1.50 or
(etexcmds)             that some package has redefined \expanded.
(etexcmds)             In the latter case, load this package earlier.
)


but Adobe Reader states at document properties: "PDF-Version: 1.5 (Acrobat 6.x)". Is that some bug in [etexcmds][1], or did I make some mistake?

-
You get a PDF1.5 file out: where is the issue? –  Joseph Wright Jan 22 '12 at 16:46
Are you perhaps confusing pdfTeX v1.5 (a TeX binary: not released) with PDF1.5 (a PDF specification)? –  Joseph Wright Jan 22 '12 at 16:48
@JosephWright: Uups! Yes. Well, shall I delete the question or leave it for other people making the same mistake? –  Stephen Jan 22 '12 at 16:51
You're confusing the version of PDF (1.5) and pdfTeX (1.40.12). –  Martin Schröder Jan 23 '12 at 11:26

The current version of pdftex is 1.40 (it's independent of the PDF version); as far as I know an \expanded primitive was planned for pdftex version 1.50, but I don't know if it will ever see the light.
The package etexcmds checks for the existence of \expanded and doesn't find it as a primitive, so it tells you.
As of version 1.40, pdftex can output PDF 1.5 and setting \pdfminorversion=5 does just that. However, this is the default as of TeX Live 2011 and, I believe, also MiKTeX 2.9.