I am using LaTeX to typeset my wife's book and was having no problems until recently. I have the file set up to produce a 6x9 page size and was working fine. When I upgraded my computer to the latest version of Ubuntu (17.04) the pages are now coming out as 8.5x11, but only if \include{graphicx}
is used, and only with the memoir document class. It is also happening on my windows box with Miktex, both of which were working fine until the upgrade.
\documentclass{memoir}
\usepackage[paperwidth=6in,paperheight=9in]{geometry}
\usepackage{lipsum}
\begin{document}
\lipsum[1-6]
\end{document}
This code works fine, producing a pdf with a page size of 6x9, but when I add \usepackage{graphicx}
:
\documentclass{memoir}
\usepackage[paperwidth=6in,paperheight=9in]{geometry}
\usepackage{graphicx}
\usepackage{lipsum}
\begin{document}
\lipsum[1-6]
\end{document}
it goes to 8.5 x 11. I have tried adding \pdfpagewidth=6in
\pdfpageheight=9in
and it has no effect. Has there been a change to the memoir class or the graphicx? Is there an alternative to graphicx? Or a different way to set the page size?
ebook
, that sets the stock size to 6x9 in.