Include PDF pages in LaTeX Doc

202 views
Skip to first unread message

Vishal Vishwas Jadhav

unread,
May 12, 2016, 1:51:57 AM5/12/16
to LaTeX Users Group
How to include pdf file in latex document?

Peter Flynn

unread,
May 12, 2016, 3:41:55 AM5/12/16
to latexusersgroup

Use the pdfpages package

P

On 12 May 2016 06:52, "Vishal Vishwas Jadhav" <vishalja...@gmail.com> wrote:
How to include pdf file in latex document?

--
You received this message because you are subscribed to the Google Groups "LaTeX Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to latexusersgro...@googlegroups.com.
To post to this group, send email to latexus...@googlegroups.com.
Visit this group at https://groups.google.com/group/latexusersgroup.
For more options, visit https://groups.google.com/d/optout.

Vishal Vishwas Jadhav

unread,
May 12, 2016, 4:38:03 AM5/12/16
to LaTeX Users Group
I am currently using xetex.
Therefore pdfpages is not working.

Is there another way to do this ?

Vishal Vishwas Jadhav

unread,
May 12, 2016, 8:18:48 AM5/12/16
to latexus...@googlegroups.com

Thanx peter

But there is one problem.

When I use small module like

\usepackage[final]{pdfpages}

\begin{document}
\includepdf[pages=-]{papaer1.pdf}
\begin{document}

It works

But when it is included in my projrct , it shows \AM@currentdocname in box.

Please help me
to solve this problem.

Werner Grundlingh

unread,
May 12, 2016, 10:15:59 AM5/12/16
to latexus...@googlegroups.com
Please help us understand the problem better by providing something that reproduces it. By that I mean we want to see a minimal working example that we can copy-and-paste-and-compile and see exactly the problem you're experiencing. It should start with \documentclass and end with \end{document}.

You mention "it shows \AM@currentdocname in [a] box". What does that mean?

Peter Flynn

unread,
May 12, 2016, 3:56:30 PM5/12/16
to latexusersgroup
On Thu, May 12, 2016 at 3:15 PM, Werner Grundlingh <wgrun...@gmail.com> wrote:
Please help us understand the problem better by providing something that reproduces it. By that I mean we want to see a minimal working example that we can copy-and-paste-and-compile and see exactly the problem you're experiencing. It should start with \documentclass and end with \end{document}.

You mention "it shows \AM@currentdocname in [a] box". What does that mean?

I assume it means that it shows an empty box (frame) with the name of the macro \AM@currentdocname in it.

\AM@currentdocname is the macro used in pdfpages to hold the name of the PDF document. The documentation (section 2.1 on p.2) says that this appears when you are in draft mode — but it should show the actual name of the file, not the command \AM@currentdocname. And if you are using [final] then it should not do this.

It's possible that something else you are doing is breaking pdfpages. Please make a minimal working example file that we can run to test it (see http://latex/formattinginformation/help.html#mwe)

///Peter

Vishal Vishwas Jadhav

unread,
May 12, 2016, 4:22:43 PM5/12/16
to LaTeX Users Group
Thanks Peter...
It's Working.
Reply all
Reply to author
Forward
0 new messages