1

I have an image saved as a pdf file, and I would like to include this image in one of my latex documents. In the preamble of m document, I included \usepackage{pdfpages}; and here is the formatting I used to inser the pdf file:

\begin{figure}[h]
\centering 
\includepdf{figure_1.pdf}
\end{figure}

And this is the error I receive, 'File `pdfpages.sty' not found." What have I done wrong?

Mack
  • 1,981
  • 5
  • 19
  • 18
  • What is your TeX distro (e.g. TeX Live)? – karlkoeller Dec 10 '13 at 14:29
  • That would be TeXstudio. – Mack Dec 10 '13 at 14:30
  • 1
    Use the package manager of yoour distribution (miktex package manager or tlmgr). Nevertheless, i think \includegraphics{figure_1} should be sufficient for your needs. – Johannes_B Dec 10 '13 at 14:30
  • TeXstudio is the Editor. TexLive or MikTeX? What did you install before texstudio? – Johannes_B Dec 10 '13 at 14:31
  • @Mack: TeXstudio is an editor, not a distribution. However, I think you should remove the ; in case you added it to the package call. – Claudio Fiandrino Dec 10 '13 at 14:31
  • Oh, I am terribly sorry, I thought TeXstudio was the the distribution. I am using MikTex. – Mack Dec 10 '13 at 14:32
  • @Johannes_B I tried doing as you said, but it tried to download a package, and ended up not working. – Mack Dec 10 '13 at 14:34
  • Basic Miktex installation? You can check something called »Install missing packages on the fly« somewhere in your preferences. Well, you need a working internet connection. – Johannes_B Dec 10 '13 at 14:36
  • @Johannes_B If you are referring to installing the graphicx package, it is already installed, as I have used it several times. – Mack Dec 10 '13 at 14:37
  • At the top of the page, press on »stackexchange« and then chat. The problem will be solved there much faster. – Johannes_B Dec 10 '13 at 14:43
  • I actually just figured it out: seeing as I wasn't going to use the pdfpages package, but the graphicx package, I removed it from the preamble, and the error messages vanished. – Mack Dec 10 '13 at 14:45
  • This question appears to be off-topic because it is about a non-issue. – Werner Dec 10 '13 at 15:28

0 Answers0