My first post here, I apologize in advance for typos, misused code scripts or for anything. (First post, however, I have been using and digging this great site for long years and always found answers to my actual latex problems -- until today.)
I have a xelatex document, memoir class, I created back in 2013 and that time it worked, compiled, pdf-ed (... stamped, signed and delivered...)
The other day I had to recompile it, TL2016 running on Arch linux 64, and at a given image setting point after a \resizebox command it got stubborn, saying "!Dimensions too large."
The updates I had to do in the document are only pure text changes, no commands, no package invocations, no latex specific stuff were changed, even the image is the very same I used three years ago...
Affected lines:
\begin{picture}(0,0)(0,0)
\put(270,530){\resizebox{5.5cm}{!}{\includegraphics{USZT}}}
\end{picture}
I can't find a reason why a 5.5 cm logo would be kind of a too large dimension. Is it possible that memoir class has got some new features recently which can produce such a failure now and not back in 2013? Or xelatex, or graphicx package? Or have I been staring the source too long to be able to pick an obvious mistake?
Thanks for your concern!
A dummy code:
\documentclass[11pt, a4paper, oneside]{memoir}
\usepackage{fontspec}
\usepackage{geometry}
\usepackage{graphicx}
\usepackage{xfrac}
\usepackage{calc}
\usepackage{multirow}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{lipsum}
\usepackage{xunicode}
\usepackage{xltxtra}
\defaultfontfeatures{Mapping=tex-text, Numbers=OldStyle}
\setromanfont [Ligatures={Discretionary}, BoldFont={WarnockPro-Semibold}, ItalicFont={WarnockPro-LightIt}]{WarnockPro-Light}
\setsansfont [Ligatures={Common}, BoldFont={MyriadPro-Semibold}, ItalicFont={MyriadPro-It}]{MyriadPro-Regular}
\usepackage[xetex, bookmarks, colorlinks, breaklinks, pdftitle={bla},pdfauthor={BLA}]{hyperref}
\usepackage{memhfixc}
\hypersetup{linkcolor=black,citecolor=blue,filecolor=black,urlcolor=blue}
\begin{document}
\pagestyle{empty}
\lipsum[1-3]
\begin{picture}(0,0)(0,0)
\put(270,530){\resizebox{5.5cm}{!}{\includegraphics{USZT}}}
\end{picture}
\begin{picture}(0,0)(0,0)
\put(270,-100){\resizebox{5.5cm}{!}{\includegraphics{ESZA_egyes3}}}
\end{picture}
\end{document}

.logfile? Can you post that part of the.log? – Andrew Swann Aug 30 '16 at 15:21resizeboxreally necessary? Tra with\begin{picture}(0,0)(0,0) \put(270,530){\includegraphics[width=5.5cm]{USZT}}} \end{picture}. However, to be more defined, please provide small but cmolete document (with dummy text), which we ca compile and see, what is the problem. It seems, that is not particular related tomemoirpackage ... – Zarko Aug 30 '16 at 15:26\resizeboxseems superfluous, as was already said. But the real issue is that would-be helpers would be helped by having a real MWE to work with.... – jon Aug 30 '16 at 15:47\rule{8cm} {8cm}just to rule out very strange gfx – daleif Aug 30 '16 at 16:51