Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating 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'm trying to merge eps files into a pdf file using GS, however, I cannot get it to put multiple eps files without page breaks in between even if original files are small. The command I'm using is:

gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=out_file [list of eps files...]
share|improve this question

I decided to write a simple script to generate a tex file that includes eps file arguments (using \includegraphics[width=\columnwidth]{arg1.eps} ...). Then using latex, and dvipdf I can get a pdf file with multiple eps files on a page.

share|improve this answer

I merged a handful of pdf's into a single document using pdftk *.pdf output all.pdf. So that leaves you with a converting EPS documents to PDF: How to convert PDF to EPS?

share|improve this answer
Does it merge multiple pdf's into a single page? – perreal Apr 18 '12 at 16:08
@perreal No, pdftk does not merge multiple pages into one single page - except the background and stamp operation, but they are for other purposes. – jofel Apr 19 '12 at 8:08

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.