TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I got 5 pdf files with their original dvi and ps, but i don't have the tex files which created them.

Now I would like to combine them to a single pdf. I know I can easily do it using Adobe acrobat. But it seems pdf mergers differ in efficiencies and qualities. e.g. the total size of my 5 pdf is 800kb, without any graphs. The Mac OS preview produces a combination file of size 10mb.. ridiculous. Acrobat gives 750kb which is a decent result.

So I think since I got the dvi and ps available maybe I could get better solution?

share|improve this question

I use pdftk:

pdftk 1.pdf 2.pdf cat output result.pdf

Some more complex cases:

pdftk A=1.pdf B=2.pdf cat A1-12 B3-5 A13-end output result.pdf
pdftk 1.pdf cat 2-30even output result.pdf

pdftk can do other stuff as well (split attachments (images) from document, fill in forms, ...)

share|improve this answer

Using pdflatex with the pdfpages package comes to mind. You create a small tex file and use


Or you can use texexec from context, then you can do it on the command line with:

 texexec --pdfcopy --result=result.pdf 1.pdf 2.pdf
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.