Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use TeXShop as a PDF manipulation tool' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use TeXShop as a PDF manipulation tool
Authored by: macman13 on Aug 14, '03 04:45:49PM

Anyone know of a simple way to combine multiple pdfs into one pdf file???
Thanks.

---
\\\"I can do everything on my Mac I used to do on my PC, plus alot more ...\\\"
--Me



[ Reply to This | # ]
Use TeXShop as a PDF manipulation tool
Authored by: herbs on Aug 14, '03 05:28:21PM

Howdy,

If you have TeX/LaTeX with the pdfpages package (part of Gerben Wierda's i-installer teTeX/TeXLive distribution, I don't know about the Fink distribution) it's easy. See the documentation.

I know there are other solutions, some quite expensive, but since we're talking TeX/LaTeX here...

Good Luck,
Herb Schulz


---
Herb Schulz



[ Reply to This | # ]
Use TeXShop as a PDF manipulation tool
Authored by: pmccann on Aug 14, '03 08:56:22PM

Here's a way that works fine: make a document in TeXShop with the following contents, and simply process away. This will produce a new pdf containing all the pages from 1.pdf, pages 4 to 6 of 2.pdf and pages 4 to 5 and 10 to 14 of 3.pdf.

Cheers, Paul

\documentclass[letter]{article}
\usepackage{pdfpages}
\begin{document}
\includepdf[pages=1-]{/Users/pmccann/Desktop/1.pdf}
\includepdf[pages=4-6]{/Users/pmccann/Desktop/2.pdf}
\includepdf[pages={4-5,10-14}]{/Users/pmccann/Desktop/3.pdf}
\end{document}


[ Reply to This | # ]
Use TeXShop as a PDF manipulation tool
Authored by: pmccann on Aug 14, '03 08:59:05PM

Sigh... will I ever learn? Preview bites again.

Please prefix each and every one of the lines in my previous message with a backslash.



[ Reply to This | # ]
Use TeXShop as a PDF manipulation tool
Authored by: Miga on Aug 14, '03 09:19:31PM

Use Macros Menu in TexShop.

1 - Choose Open Macro Editor.

2 - Click on new item

3 - Give a name to your macro (for example: merge pdf) in the name field

4 - Type the following in the Contents field

\documentclass[11pt]{article}
\usepackage{graphicx}
\usepackage[final]{pdfpages}
\begin{document}
\includepdf[pages=-]{/Users/yourusername/Desktop/file}
\end{document}

5 - Click on separator to make a clear separation between the default macros and your macros, if it is the first one.

6 - Use key and modifiers if you want a shortcut

7 - Click on test (it should work providing you have a pdf file named file.pdf on your desktop

8 - Click on save

This gives you a skeleton to merge pdf files.
When you want to merge two or more pdf files, just duplicate this line as many times as you have files to merge and just change the path for the files and eventually the number of pages:

\includepdf[pages=-]{/Users/yourusername/Desktop/file}

Note that you don't have to put the files on the desktop, that's just my way of doing that.

---
Michele



[ Reply to This | # ]
Use TeXShop as a PDF manipulation tool
Authored by: gedalin on Aug 15, '03 07:03:40AM

Try Combine PDFs



[ Reply to This | # ]