Date: January 6, 2009.
Pdfselect allows to extract pages from a pdf file by using the LATEX package pdfpages by Andreas Matthias. The pdf file has to be opened in TeXShop or Preview, then you can run pdfselect. The pages you want to extract should be given as list, e.g.,
entered in a dialogue window, will produce a pdf file containing the pages 3,7 - 23 an empty page and page 1 in that order. The paper size will be that of the original file. The string „-“ will insert all pages, „4-“ all pages starting with page 4 and „last-1“ will produce a pdf file with pages in reverse order.
![]() |
Getting the path of a displayed pdf file from Preview requires „UI Scripting“ , i.e., in „System Preferences/Universal Access“ the option „enable access for assistive devices“ has to be checked.
When a dvi file is opened in TeXShop as a pdf file, then TeXShop will report the path of the opened pdf to be the one of the dvi file; pdfselect can handle this case too.
Pdfselect can also merge selected pages of pdf files into a common pdf file named according to your wishes. The pdf files are chosen with the help of standard open file dialogues and the page selection follows the identical rules as explained in the previous section.
The merged pdf file will be saved in
pointing to the tex source. The symlink can be defined with help of the included program „Local Switcher“, if the path of your tex source is one of the following
otherwise you have to define it manually.
If you don’t have a folder named „Flashmode“ in
install the included folder Flashmode, otherwise install the folders „select“, „merge“ and „bin“ in „Flashmode“ in your already existing Flashmode folder
and don’t remove or change the files in „select“ —only the paper size in „merge-pdfselect.tex“ may be changed.
![]() |
Pdfselect will be part of the bundle TEXHelpers. The other applications as well as pdfselect offer detailed instructions in their Help menu.
Here is the download link TEXHelpers. The present version of pdfselect is 2.5.
Home page, Flashmode, TEXHelpers, TEX Switcher, pdfselect, TEX Scripts, Books, Preprints, Former Students, Veranstaltungen, Lecture Notes
Ruprecht-Karls-Universität, Institut für Angewandte Mathematik, Im Neuenheimer Feld 294, 69120 Heidelberg, Germany
E-mail address: gerhardt@math.uni-heidelberg.de
URL: http://www.math.uni-heidelberg.de/studinfo/gerhardt/