[Date Index] [Thread Index] [Author Index]
Re: Assembling PDFs into a PDF document?
On 9/2/11 at 3:29 AM, siegman at stanford.edu (AES) wrote: >Given a large number of single-page PDF image files, all in a single >folder (on a Mac), write a notebook that will build a single >multipage document containing some or all of these files, in >accordance with (and with page order determined by) a list of some >or all of these image file names. On a Mac, probably the simplest way to do this would be save each portion of the notebook representing a single PDF page to a separate PDF file, open the first page in Preview, display the thumbnails (cmd 2) then drag the remaining files to the thumbnail bar. Drag to re-order however you like and save the result from Preview. >For extra credit: Have each page in the final document bookmarked >by the name of the corresponding file. You can create bookmarks within Preview. As for the first step, saving the files from Mathematica to PDF, you could either manually select what is to go on a single page and use the Save Selection As item in the File menu to save the selection to PDF format. Alternatively, this step could easily be automated using Export and and the various Notebook* functions to select what you want and save them as PDF. Or you could use the various Notebook* functions (do ?Notebook* to get a list) to create a notebook with just what you wanted to save then save the whole thing from Mathematica as PDF file. But unless you are going to do this often or have a large number of files you want collected into the final PDF file, using a manual method with Preview is likely to be considerably less effort.