I was looking at the Linux Kernel in a Nutshell, written by Greg Kroah, and found that the PDF version of the book was all splitted in small files by chapter. I just wanted to wrap them all up into a single file (obvious reasons), so I started looking for solutions on PDF merging. This one here (by lobner) was pretty suitable for me (from the extracted directory containing all files): gs -q -sPAPERSIZE=letter -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=LinuxInNutshell.pdf title.pdf ch00.pdf part1.pdf ch01.pdf ch02.pdf ch03.pdf ch04.pdf ch05.pdf ch06.pdf part2.pdf ch07.pdf ch08.pdf part3.pdf ch09.pdf ch10.pdf ch11.pdf part4.pdf appa.pdf appb.pdf LKNSIX.fm.pdf
This command (uses GhostScript) gives me some warnings, but since the output file is OK, I didn't even run to the trouble of torubleshooting it... By the way, thanks Greg by the book! I promise I'll read it before annoying you with compiling issues and stuff! ![]() |






