[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:software:how_to_merge_pdf-files [2013/03/14 20:30 (UTC)] – [pdfjam] added a note markush | howtos:software:how_to_merge_pdf-files [2013/04/02 14:29 (UTC)] (current) – Added pdfconcat, additional info for convert, altered to one source link allend | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
====== How to merge PDF-files ====== | ====== How to merge PDF-files ====== | ||
+ | |||
===== Introduction ===== | ===== Introduction ===== | ||
- | PDF (Portable-Document-Format) is a file format invented by Adobe. PDF is useful to present documents independent of hardware, operating system and application software. Each PDF-file has a fixed layout, including page-size, fonts, graphics and other information. It is also possible to encrypt a PDF file for security, or create a digital signature for authentication. | + | |
+ | PDF (Portable Document Format) is a file format invented by Adobe. PDF is useful to present documents independent of hardware, operating system and application software. Each PDF file has a fixed layout, including page size, fonts, graphics and other information. It is also possible to encrypt a PDF file for security, or create a digital signature for authentication. | ||
<note important> | <note important> | ||
- | PDF-documents are created from traditional text-documents via a printer-driver, or as with LaTeX created directly from a source-code. One important consequence is, that one cannot convert a PDF-document " | + | PDF documents are created from traditional text documents via a printer driver, or as with LaTeX, created directly from source-code. One important consequence is that one cannot convert a PDF-document " |
- | This Article | + | This article |
- | ===== The Tools ===== | + | ===== Default |
- | At first I will describe the tools which are already available on your Slackware-computer if you have a complete installation. | + | |
- | ==== gs (Ghostscript) ==== | + | Tools which are already available on your Slackware computer if you have a complete installation. |
- | With Ghostscript | + | |
+ | ==== imagemagick | ||
+ | |||
+ | The convert tool comes in Slackware' | ||
+ | |||
+ | The convert tool uses the -adjoin option to achieve this. | ||
+ | < | ||
+ | Thanks to jlinkels for the contribution. | ||
+ | |||
+ | To increase the quality of the output, it is better to read the input PDF files with a higher density (in dots per inch (DPI)) and then resize the output density back to common DPI, 96 for example. I usually use an input density of 600 (after many trial and errors), and then resize with 93.75% (if you dont resize you will get a huge output file). | ||
+ | < | ||
+ | Thanks to eXpander_ for the contribution. | ||
+ | |||
+ | ==== ghostscript (gs) ==== | ||
+ | |||
+ | The ghostscript package resides in Slackware' | ||
+ | |||
+ | With GhostScript | ||
< | < | ||
- | Thanks to mrclisdue | + | Thanks to mrclisdue for the contribution. |
- | ==== ImageMagick (convert) | + | ==== pdfconcat |
- | People say that it is also possible, | + | |
+ | The pdfconcat tool comes in Slackware' | ||
+ | |||
+ | < | ||
+ | Thanks | ||
+ | |||
+ | ==== pdfunite ==== | ||
+ | |||
+ | The pdfunite tool comes in Slackware' | ||
+ | |||
+ | < | ||
+ | Thanks to nivieru for the contribution. | ||
+ | |||
+ | ===== Additional tools ===== | ||
+ | |||
+ | Additional tools that can be easily installed. | ||
==== pdftk ==== | ==== pdftk ==== | ||
- | pdftk is available at [url=http:// | + | |
+ | pdftk is available at [[http:// | ||
< | < | ||
- | pdftk can do more things than joining PDF-files, for example rotating a document by 180 degrees is done this way: | + | pdftk can do more things than joining PDF files, for example rotating a document by 180 degrees is done this way: |
< | < | ||
+ | Thanks to brianL and michaelk for pointing me to pdftk. | ||
==== pdfshuffler ==== | ==== pdfshuffler ==== | ||
- | pdfshuffler is also available at [url=http:// | + | |
+ | pdfshuffler is also available at [[http:// | ||
==== pdfjam ==== | ==== pdfjam ==== | ||
- | pdfjam is a LaTeX-package which is unfortunately **not** included in tetex. But those of us who have instead texlive | + | |
+ | pdfjam is a LaTeX-package which is unfortunately **not** included in tetex. But those of us who have installed | ||
< | < | ||
+ | Thanks to joghi for pointing me to pdfjam. | ||
< | < | ||
- | |||
====== Sources ====== | ====== Sources ====== | ||
Line 40: | Line 77: | ||
<!-- * Original source: [[http:// | <!-- * Original source: [[http:// | ||
<!-- Authors are allowed to give credit to themselves! --> | <!-- Authors are allowed to give credit to themselves! --> | ||
- | * Originally written by [[wiki: | + | |
<!-- * Contributions by [[wiki: | <!-- * Contributions by [[wiki: | ||
+ | http:// | ||
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> | ||
- | <!-- You must remove the tag-word " | + | {{tag> |
- | {{tag> | + | |