LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-11-2013, 07:29 PM   #16
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,748

Rep: Reputation: 161Reputation: 161

I use PDFSAM. The only catch is that it requires a working Java runtime.

It is brilliant though.

Download the zip file from here:

http://www.pdfsam.org/download/
 
1 members found this post helpful.
Old 03-12-2013, 03:02 AM   #17
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Original Poster
Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Quote:
Originally Posted by allend View Post
And just for fun here is a script that combines .pdf files into a single bookmarked file http://www.linuxquestions.org/questi...ml#post4382364
I've just tried it out, it works here texlive-2012 as well (which I expected). Indeed a nice idea

Markus
 
Old 03-12-2013, 08:40 AM   #18
joghi
LQ Newbie
 
Registered: Jun 2011
Distribution: Slackware 14.0 Slackware64 14.0
Posts: 19

Rep: Reputation: Disabled
Hm, guess I'm a little bit late, but I've used pdfjam
http://www2.warwick.ac.uk/fac/sci/st...ftware/pdfjam/ quite often (joining pdf-files, inserting balnk pages into pdf-documents etc.) and did not find it in this thread.
 
1 members found this post helpful.
Old 03-13-2013, 09:13 AM   #19
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Original Poster
Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
So my new hobby is merging PDF-files with different tools

I've now installed pdfshuffler from slackbuilds.org, it has a gui and is therefore very helpful when dealing with documents.

As for pdfjam I found out that it is already installed because it comes with texlive. It would be nice if someone could provide an information here if it is also included in tetex (which is Slackware's t-series as you know) which I've not installed.

Again thanks very much for all the helpful suggestions.

Markus
 
Old 03-13-2013, 10:21 AM   #20
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,411

Rep: Reputation: 836Reputation: 836Reputation: 836Reputation: 836Reputation: 836Reputation: 836Reputation: 836
Quote:
So my new hobby is merging PDF-files with different tools
I feel that a new SlackDocs page could be brewing.

No sign of pdfjam on my default setup, although pdfjam looks like it could be really useful. Thanks to joghi for the pointer.
 
Old 03-13-2013, 11:30 AM   #21
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 301

Rep: Reputation: 51
I use "convert".
 
Old 03-13-2013, 01:26 PM   #22
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Original Poster
Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Quote:
Originally Posted by eXpander_ View Post
I use "convert".
I tried it, but I did not get the expected result. All on one page instead all of the inputpages consecutively each on one page.

Markus
 
Old 03-13-2013, 01:27 PM   #23
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Original Poster
Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Quote:
Originally Posted by allend View Post
I feel that a new SlackDocs page could be brewing.
allend, that's a good idea, I'll write an article next weekend.

Quote:
No sign of pdfjam on my default setup, although pdfjam looks like it could be really useful. Thanks to joghi for the pointer.
Thanks for the information. pdfjam is similar to your script (link some postings above). It uses packages from LaTeX.

Markus

Last edited by markush; 03-13-2013 at 01:28 PM.
 
Old 03-13-2013, 01:33 PM   #24
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 301

Rep: Reputation: 51
Quote:
Originally Posted by markush View Post
I tried it, but I did not get the expected result. All on one page instead all of the inputpages consecutively each on one page.

Markus
Did you try "--append" switch? If I remember correctly that switch appends pdf top to down.
 
Old 03-13-2013, 01:39 PM   #25
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Original Poster
Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Quote:
Originally Posted by eXpander_ View Post
Did you try "--append" switch? If I remember correctly that switch appends pdf top to down.
I don't remember exactly which options I've used. I've tried several programs.

I'll write a summary for slackdocs, if I find out how it works, then I will explain it.

Markus
 
Old 03-14-2013, 03:20 PM   #26
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Original Poster
Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
I've now added a HOWTO at slackdocs. Please edit this page if you have additional information.

Markus
 
Old 03-14-2013, 06:49 PM   #27
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 4,067

Rep: Reputation: 491Reputation: 491Reputation: 491Reputation: 491Reputation: 491
After wasting 15 minutes of my time trying to edit that page, I gave up. This is how to use convert:

Code:
convert -adjoin file1.pdf file2.pdf merged.pdf
jlinkels
 
1 members found this post helpful.
Old 03-15-2013, 06:27 AM   #28
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Original Poster
Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Quote:
Originally Posted by jlinkels View Post
After wasting 15 minutes of my time trying to edit that page, I gave up. This is how to use convert:

Code:
convert -adjoin file1.pdf file2.pdf merged.pdf
jlinkels
Thanks, I've put it into the Howto at slackdocs.

Markus
 
Old 03-15-2013, 09:38 AM   #29
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 301

Rep: Reputation: 51
Quote:
Originally Posted by markush View Post
Thanks, I've put it into the Howto at slackdocs.

Markus
This gives very poor quality results due to its internal conversion algorithms. 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 a 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).

An example:

Code:
convert -density 600 fileinput_1.pdf fileinput2_.pdf -resize 93.75% output.pdf
One doesnt need -append or -adjoin in this case.

/X
 
Old 03-15-2013, 10:17 AM   #30
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Original Poster
Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Quote:
Originally Posted by eXpander_ View Post
This gives very poor quality results due to its internal conversion algorithms. 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 a 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).

An example:

Code:
convert -density 600 fileinput_1.pdf fileinput2_.pdf -resize 93.75% output.pdf
One doesnt need -append or -adjoin in this case.

/X
Hi eXpander,

I appreciate your posting, it's a very helpful explanation. It would be nice if you register at slackdocs http://docs.slackware.com/start and edit the Howto yourself in order to add this explanation.

Markus
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] merge pdf files with each file as a index entry in the big pdf ununun Linux - General 3 05-12-2014 10:32 AM
software for merging pdf files Diamantis Linux - Software 5 06-27-2008 04:13 PM
Tool to convert PDF files to office and vice versa linuxlover.chaitanya Linux - Software 2 05-01-2008 10:31 AM
Merging ,pdf files satimis Linux - General 6 11-21-2007 08:31 PM
Merging Two Files using C++ ckoniecny Programming 5 09-26-2006 09:00 AM


All times are GMT -5. The time now is 06:55 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration