In summary are you sure this is the route to go down? since numbering of internal links and page numbers will be all over the place. However pages as built similar to above only show the new physical page numbers so it is odd to see a link for page 1 that jumps me to page 15.
![pdfsam reputation pdfsam reputation](http://websites-img.milonic.com/img-slide/420x257/r/r2r.providence.org.png)
Pdftk (freemium) also merged well in the free version. However note in my limited test the last document say pages 1-5 for arguments sake would now be for example physical 15-19 of the total However they are kept as logical 1-5 so I can jump internally from page3(18) to page2(17) or index 5(19) - contents 1(15) etc I do see the old numbers 1-5 in use which helps. I had best success using Sejda online 4 files will have internal / external links that work as expected. PDFSAM / Sejda (freemium) these come in many flavours from the same source. The commands I tested all broke some links (however I may have missed a command that works for you). I retested a few of the more established ones.
#Pdfsam reputation pdf
There are still a few tools to allow merging pdf files whilst retaining hyperlinks. The java library is under the GNU Affero Public License 3.0 and an API is even available. The terms of Sejda for using its interface seems reasonable, but are quite long.pdfsam is also available for most operating systems and is released under the GNU Affero General Public License v3 terms.The "server" version of pdftk (= providing the command-line interface) is available for most operating systems under the GPL license.
![pdfsam reputation pdfsam reputation](https://i.stack.imgur.com/votc2.png)
![pdfsam reputation pdfsam reputation](https://i.stack.imgur.com/lnAO4.jpg)
| gs | gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=tot.pdf a.pdf b.pdf | ✗ | ✗ | ✗ | ✗ | | pdfjam | pdfjam a.pdf b.pdf -o tot.pdf | ✗ | ✗ | ✗ | ✗ | | convert | convert a.pdf b.pdf tot.pdf | ✗ | ✗ | ✗ | ✗ | I combined them into a tot.pdf file using the following tools, and tested whenever the url, the reference and the internal links were preserved in both documents or not. Use pdfannotextractor on a.pdf and on b.pdf: CLASSPATH='PDFBox-0.7.3/lib/PDFBox-0.7.3.jar:%CLASSPATH%' pdfannotextractor a.pdfĬLASSPATH='PDFBox-0.7.3/lib/PDFBox-0.7.3.jar:%CLASSPATH%' pdfannotextractor b.pdfĬompile the following document with pdflatex: \documentclass,
#Pdfsam reputation install
Install the pax package from CTAN (or via TeXLive or MikTeX).ĭownload and unzip the PDFBox-0.7.3 Java library (an old version of the Apache PDFBox, a Java PDF library).
![pdfsam reputation pdfsam reputation](https://image.slidesharecdn.com/online-reputation-management-adriana-iordan-sic-2009-090729072544-phpapp01/95/online-reputation-management-for-software-authors-8-728.jpg)
#Pdfsam reputation manual
(In case of problems, you can use the -debug option of the pdfannotextractor script.) Manual installation If you want to combine two PDF files ( a.pdf and b.pdf) keeping the PDF annotations (internal and external links are kind of PDF annotations), use the manual or automatic method. My method uses the pax package and its pdfannotextractor Perl script (by Heiko Oberdiek).