GeneralAppending pdf file in latex

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
elhamahm
Posts: 3
Joined: Mon Mar 14, 2016 6:36 pm

Appending pdf file in latex

Post by elhamahm »

Hello,
I need to insert some pdf documents to my latex file. For that I use the package
\usepackage{pdfpages}. But the problem is that after adding this command I have this type of error message as

Code: Select all

!LaTex Error: Missing \begin{document}
By the way, this is my simple latex source:

Code: Select all

\documentclass[12pt,letterpaper]{article}
\usepackage{pdfpages}
\begin{document}
\includepdf{testpdf}
\end{document}
If there is anyone who can help me to solve this question. Thank you
Last edited by cgnieder on Fri Mar 18, 2016 7:35 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Appending pdf file in latex

Post by cgnieder »

This is a duplicate of Appending pdf file in latex.
site moderator & package author
Post Reply