[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.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
howtos:software:how_to_merge_pdf-files [2013/03/15 09:25 (UTC)] – [ImageMagick (convert)] markushhowtos:software:how_to_merge_pdf-files [2013/03/15 09:58 (UTC)] – [ghostscript (gs)] markush
Line 15: Line 15:
 At first I will describe the tools which are already available on your Slackware computer if you have a complete installation. At first I will describe the tools which are already available on your Slackware computer if you have a complete installation.
  
-==== gs (GhostScript) ====+==== ghostscript (gs) ==== 
 + 
 +The ghostscript package resides in Slackware's ap-series.
  
 With GhostScript you can merge PDF files on the commandline With GhostScript you can merge PDF files on the commandline
Line 21: Line 23:
 Thanks to mrclisdue from [[http://www.linuxquestions.org/questions/slackware-14/|linuxquestions.org]] for the contribution. Thanks to mrclisdue from [[http://www.linuxquestions.org/questions/slackware-14/|linuxquestions.org]] for the contribution.
  
-==== ImageMagick (convert) ====+==== imagemagick (convert) ==== 
 + 
 +The imagemagick package comes in Slackware's xap-series.
  
 convert uses the -adjoin option to achieve this. convert uses the -adjoin option to achieve this.
 <code>convert -adjoin file1.pdf file2.pdf merged.pdf</code> <code>convert -adjoin file1.pdf file2.pdf merged.pdf</code>
-Thanks to jlinkels at linuxquestions.org for the contribution.+Thanks to jlinkels at [[http://www.linuxquestions.org/questions/slackware-14/|linuxquestions.org]]  for the contribution.
 ==== pdftk ==== ==== pdftk ====
  
Line 32: Line 36:
 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:
 <code>pdftk upsidedown.pdf cat 1-endsouth output rotated.pdf</code> <code>pdftk upsidedown.pdf cat 1-endsouth output rotated.pdf</code>
 +Thanks to brianL and michaelk at [[http://www.linuxquestions.org/questions/slackware-14/|linuxquestions.org]] for pointing me to pdftk.
 ==== pdfshuffler ==== ==== pdfshuffler ====
  
-pdfshuffler is also available at [[http://slackbuilds.org/repository/14.0/office/pdfshuffler/|slackbuilds.org]]. It comes with a graphical user interface and is written in Python, therefore pyPdf and pypoppler are required in order to get this program to work. It is very convenient because it shows the pages which are joined. I has additional features like rotating or splitting PDF files. +pdfshuffler is also available at [[http://slackbuilds.org/repository/14.0/office/pdfshuffler/|slackbuilds.org]]. It comes with a graphical user interface and is written in Python, therefore [[http://slackbuilds.org/repository/14.0/python/pyPdf/|pyPdf]] and [[http://slackbuilds.org/repository/14.0/python/pypoppler/|pypoppler]] are required in order to get this program to work. It is very convenient because it comes with a document-viewer and shows what you're doing. I has additional features like rotating or splitting PDF files.
 ==== pdfjam ==== ==== pdfjam ====
  
 pdfjam is a LaTeX-package which is unfortunately **not** included in tetex. But those of us who have instead texlive installed have already pdfjam. It is also a commandline tool (like LaTeX). The documentation is available with the texdoc command pdfjam is a LaTeX-package which is unfortunately **not** included in tetex. But those of us who have instead texlive installed have already pdfjam. It is also a commandline tool (like LaTeX). The documentation is available with the texdoc command
 <code>texdoc pdfjam</code> <code>texdoc pdfjam</code>
 +Thanks to joghi at [[http://www.linuxquestions.org/questions/slackware-14/|linuxquestions.org]] for pointing me to pdfjam.
  
 <note>TODO: handling bookmarks in PDF-files, which of the above tools can handle those bookmarks?</note> <note>TODO: handling bookmarks in PDF-files, which of the above tools can handle those bookmarks?</note>
- 
  
 ====== Sources ====== ====== Sources ======
 howtos:software:how_to_merge_pdf-files ()