Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 have a PDF file with approximatly 300 pages (A4). On each page some text with lines are plotted, which take up only a third of the page size. So I want to get rid of the white space everywhere. I used the burst command to create for every page a single PDF-file which have no white space on it. Now I need to join these PDFs on A4 papersize. When I use PDFTK I get several pages, which have no whitespace, but when I want to print them, they will be printed out on separate pages. Has someone an idea how to handle this problem??

share|improve this question
What commands did you use exactly? Please copy-paste. If possible, upload a sample document that demonstrates the problem. – Gilles Aug 16 '12 at 21:56

Yqou could also try the script "pdfjoin" and "pdfnup" command line programs from the pdfjam packages.

However, I would include the PDFs in a LaTeX document, and let LaTeX worry about how to fit them best on a page.

First, you need to install LaTeX:

sudo apt-get install pdflatex

Next, create a file "joined.tex" like this:


% ...etc, for each of your pdf files

Finally, run (in a terminal)

pdflatex joined.tex

Hopefully, you will get your file in joined.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.