I've done the following:
\documentclass[preview]{article}
\usepackage{pdfpages}
\begin{document}
This is a test
\includepdf[pages=1] {example-image-a4-numbered}
More testing
\end{document}
and I get a 3-page document: "This is a test" on the first page, a picture from my pdf on the second page, and "More testing" on the third page.
When I change to this:
\documentclass[preview]{standalone}
\usepackage{pdfpages}
\begin{document}
This is a test
\includepdf[pages=1] {example-image-a4-numbered}
More testing
\end{document}
I get something that looks like this:
...and the PDF contents don't show up at all. Can someone suggest what's up? (I've tried about 5 different PDFs just to be sure I'm not fighting something weird about one particular PDF.)
I'm on a Mac, using TeXShop.
standalone
is designed for diagrams and other boxed content and changes the internal page definitions for that. When other package are used which do similar things then clashes can occur easily. You could just try to use thepreview
package witharticle
class instead.