[pdftex] merging pdf file

Radhakrishnan C V cvr at river-valley.com
Tue Feb 20 16:06:29 CET 2001


On Tue, 20 Feb 2001, Chandrasekar Chinnathambi wrote:

: Can u please tell me how to merge two pdf files.

Grab the package pdfpages.sty from CTAN. Create a TeX file as given
below:

\documentclass[a4paper]{article}
\usepackage[final]{pdfpages}

\begin{document}

\includepdf[firstpage=<first page number>,
            lastpage=<last page number>]
            {<first pdf file name>}

\includepdf[firstpage=<first page number>,
            lastpage=<last page number>]
            {<second pdf file name>}

\end{document}

Run pdfLaTeX over this document and you will get a composite pdf
document.

Hope this helps.

By the way, what is this `u' in the `Can u please ...'? Only Indians
write this dirty trash, while native English speakers dont do it. It
might be better if you write standard English when you intend to
communicate with others.


-- 
Radhakrishnan
-------------------------------------------------------------------
GPG Fingerprint: 208E F5EB A4B4 2024 AEE9  575D 13DE E3B9 0292 70EF
GPG Public key : http://www.river-valley.com/gpg/cvr.gpg




More information about the pdftex mailing list