summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/pdfjam/VERSION1
-rw-r--r--Master/texmf-dist/doc/support/pdfjam/COPYING (renamed from Master/texmf-dist/doc/latex/pdfjam/COPYING)0
-rw-r--r--Master/texmf-dist/doc/support/pdfjam/PDFjam-README.html (renamed from Master/texmf-dist/doc/latex/pdfjam/PDFjam-README.html)111
-rw-r--r--Master/texmf-dist/doc/support/pdfjam/VERSION1
-rw-r--r--Master/texmf-dist/doc/support/pdfjam/pdfdroplets.png (renamed from Master/texmf-dist/doc/latex/pdfjam/pdfdroplets.png)bin34752 -> 34752 bytes
-rw-r--r--Master/texmf-dist/doc/support/pdfjam/pdfjam.conf (renamed from Master/texmf-dist/doc/latex/pdfjam/pdfjam.conf)0
-rw-r--r--Master/texmf-dist/doc/support/pdfjam/tests.zip (renamed from Master/texmf-dist/doc/latex/pdfjam/tests.zip)bin120883 -> 121159 bytes
7 files changed, 63 insertions, 50 deletions
diff --git a/Master/texmf-dist/doc/latex/pdfjam/VERSION b/Master/texmf-dist/doc/latex/pdfjam/VERSION
deleted file mode 100644
index 049f8f03bfb..00000000000
--- a/Master/texmf-dist/doc/latex/pdfjam/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-This is PDFjam 2.06 \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/pdfjam/COPYING b/Master/texmf-dist/doc/support/pdfjam/COPYING
index d60c31a97a5..d60c31a97a5 100644
--- a/Master/texmf-dist/doc/latex/pdfjam/COPYING
+++ b/Master/texmf-dist/doc/support/pdfjam/COPYING
diff --git a/Master/texmf-dist/doc/latex/pdfjam/PDFjam-README.html b/Master/texmf-dist/doc/support/pdfjam/PDFjam-README.html
index 8b15d755cca..fcfdd9ac014 100644
--- a/Master/texmf-dist/doc/latex/pdfjam/PDFjam-README.html
+++ b/Master/texmf-dist/doc/support/pdfjam/PDFjam-README.html
@@ -9,7 +9,7 @@
<p><em>Author</em>: David Firth, <a href="http://go.warwick.ac.uk/dfirth">http://go.warwick.ac.uk/dfirth</a></p>
-<p> <strong> This file is kept up to date at <a href="http://go.warwick.ac.uk/pdfjam">http://go.warwick.ac.uk/pdfjam</a>. </strong> </p>
+<p> <strong> This file is kept up to date at <a href="http://go.warwick.ac.uk/pdfjam" _mce_href="http://go.warwick.ac.uk/pdfjam">http://go.warwick.ac.uk/pdfjam</a>. </strong> </p>
<ul>
<li><a href="#overview">Overview</a> </li>
<li><a href="#prereq">Pre-requisites</a> </li>
@@ -27,7 +27,7 @@
<h2 align="justify">Overview</h2>
-<p><strong>PDFjam</strong> is a small collection of shell scripts which provide a simple interface to much of the functionality of the excellent <a href="http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf" title="Link to the pdfpages manual (PDF)">pdfpages <img src="http://www2.warwick.ac.uk/brands/icons/acrobat.gif" alt="PDF file" title="PDF file" border="0" height="16" width="16" /></a> package (by Andreas Matthias) for <a href="http://www.tug.org/applications/pdftex/">pdfLaTeX</a>. </p>
+<p><strong>PDFjam</strong> is a small collection of shell scripts which provide a simple interface to much of the functionality of the excellent <a href="http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf" title="Link to the pdfpages manual (PDF)">pdfpages <img src="http://www2.warwick.ac.uk/brands/icons/acrobat.gif" alt="PDF file" title="PDF file" border="0" height="16" width="16" /></a> package (by Andreas Matthias) for <a href="http://www.tug.org/applications/pdftex/">pdfLaTeX</a>. These scripts take one or more PDF files (and/or JPG/PNG graphics files) as input, and produce one or more PDF files as output. They are useful for joining files together, selecting pages, reducing several source pages onto one output page, etc., etc.</p>
<p>The main script is named &quot;<strong><tt>pdfjam</tt></strong>&quot;. This is the core of the package.</p>
@@ -54,7 +54,9 @@
<p> The PDFjam software is made available free, under GPL version 2 (see the file named <tt>COPYING</tt> that is included with the package). It comes with ABSOLUTELY NO WARRANTY of fitness for any purpose whatever. </p>
-<a name="prereq"></a> <h2 align="justify">Pre-requisites</h2>
+<p> <a name="prereq"></a></p>
+
+<h2 align="justify">Pre-requisites</h2>
<ol>
<li>A Unix-like operating system (Linux, Mac OS X, Solaris, etc.; possibly Cygwin)</li>
@@ -64,23 +66,25 @@
<p>Some of the options offered by <tt>pdfjam</tt> also require the LaTeX packages <a href="http://www.ctan.org/tex-archive/macros/latex/contrib/geometry/">geometry</a> and <a href="http://www.ctan.org/tex-archive/macros/latex/contrib/hyperref/">hyperref</a>.</p>
-<a name="documentation"></a> <h2 align="justify">Documentation</h2>
+<p> <a name="documentation"></a></p>
+
+<h2 align="justify">Documentation</h2>
<p>The primary documentation for <tt>pdfjam</tt>, and hence for the other scripts that call it, is obtained by </p>
-<pre>
- pdfjam --help
+<pre> pdfjam --help
</pre>
<p>This gives information on the arguments to <tt>pdfjam</tt>, and the default settings that apply at your installation. In addition to the arguments that are explicitly documented there, <tt>pdfjam</tt> provides access to all of the options of the pdfpages package: that's a large number of options, and it's a set of options that might change, so users are referred to the current <a href="http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf" title="Link to the pdfpages manual (PDF)">pdfpages manual <img src="http://www2.warwick.ac.uk/brands/icons/acrobat.gif" alt="PDF file" title="PDF file" border="0" height="16" width="16" /></a> to see what's available.</p>
<p>In addition, each of the scripts has a (rather basic) <tt>man</tt> page. For example,</p>
-<pre>
- man pdfjam-pocketmod
+<pre> man pdfjam-pocketmod
</pre>
<p>gives information about usage and other aspects of the <tt>pdfjam-pocketmod</tt> script.</p>
-<a name="download"></a> <h2 align="justify">Download</h2>
+<p> <a name="download"></a></p>
+
+<h2 align="justify">Download</h2>
<p>PDFjam is a project at <a href="http://freshmeat.net/projects/pdfjam/">freshmeat</a>: please subscribe there to receive update announcements.</p>
@@ -99,9 +103,14 @@
<li>Karl Berry has provided a <a href="http://mirror.ctan.org/support/pdfjam">CTAN package</a>.</li>
</ul>
-<p> To download some stand-alone <em>Mac OS X droplets</em> (based on PDFjam version 1.21), see <a href="#droplets">below</a>. </p>
+<p>Cosmin Popescu has written a <a href="http://qt-apps.org/content/show.php/pdfnup-gui?content=134874.">front-end to the pdfnup script, based on Qt</a>.<br />
+ </p>
+
+<p>To download some stand-alone <em>Mac OS X droplets</em> (based on PDFjam version 1.21), see <a href="#droplets">below</a>. </p>
-<a name="install"></a><h2 align="justify">Installation/configuration</h2>
+<p> <a name="install"></a></p>
+
+<h2 align="justify">Installation/configuration</h2>
<p>The shell scripts in the <em>bin</em> sub-directory of the package should be placed on the PATH of anyone who needs to use them.</p>
@@ -115,17 +124,17 @@
<p>For example, if you want your own output to be on &quot;US letter&quot; size paper by default, simply put the line </p>
-<pre>
- paper=letterpaper
+<pre> paper=letterpaper
</pre>
<p> in a plain text file named file <tt>.pdfnup.conf</tt> in your home directory. (The code word <tt>letterpaper</tt> is how LaTeX refers to that particular page size; for other available paper sizes, please see the output of <tt>pdfjam --help</tt>.)</p>
<p>On some systems it might even be necessary to change the list of places (i.e., <tt>/etc/pdfjam.conf</tt> and others as listed above) that is searched for site-wide configuration files. This can only be done by editing the <tt>pdfjam</tt> script itself. To see which directories on <em>your</em> system are searched for a file named <tt>pdfjam.conf</tt>, use </p>
-<pre>
- pdfjam --configpath
+<pre> pdfjam --configpath
</pre>
-<a name="using"></a> <h2 align="justify">Using the scripts</h2>
+<p> <a name="using"></a></p>
+
+<h2 align="justify">Using the scripts</h2>
<p>For a full overview of what <tt>pdfjam</tt> can do, the importance of the <a href="http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf" title="Link to the pdfpages manual (PDF)">pdfpages manual <img src="http://www2.warwick.ac.uk/brands/icons/acrobat.gif" alt="PDF file" title="PDF file" border="0" height="16" width="16" /></a> cannot be stressed enough! The following examples merely serve as a brief introduction.</p>
@@ -133,13 +142,11 @@
<p>Consider converting each of two documents to a side-by-side &quot;2-up&quot; format. Since we want the two documents to be processed separately, we'll use the <tt>--batch</tt> option: </p>
-<pre>
- pdfjam --batch --nup 2x1 --suffix 2up --landscape --outfile . file1.pdf file2.pdf
+<pre> pdfjam --batch --nup 2x1 --suffix 2up --landscape --outfile . file1.pdf file2.pdf
</pre>
<p> This will produce new files <tt>file1-2up.pdf</tt> and <tt>file2-2up.pdf</tt> in the current working directory. The above call could be shortened a bit, by using <tt>pdfnup</tt>, to</p>
-<pre>
- pdfnup --batch --suffix 2up file1.pdf file2.pdf
+<pre> pdfnup --batch --suffix 2up file1.pdf file2.pdf
</pre>
<p> In a 'vanilla' installation of <tt>pdfjam</tt>, the default for <tt>--outfile</tt> is the current working directory.</p>
@@ -147,8 +154,7 @@
<p>Suppose we want a single new document which puts together selected pages from two different files: </p>
-<pre>
- pdfjam file1.pdf '{},2-' file2.pdf '10,3-6' --outfile ../myNewFile.pdf
+<pre> pdfjam file1.pdf '{},2-' file2.pdf '10,3-6' --outfile ../myNewFile.pdf
</pre>
<p>The new file <tt>myNewFile.pdf</tt>, in the parent directory of the current one, contains an empty page, followed by all pages of <tt>file1.pdf</tt> except the first, followed by pages 10, 3, 4, 5 and 6 from <tt>file2.pdf</tt>. </p>
@@ -156,8 +162,7 @@
<p>(All pages in an output file from <tt>pdfjam</tt> will have the same size and orientation: for joining together PDF files while preserving different page sizes and orientations, <tt>pdfjam</tt> is not the tool to use; and since <tt>pdfjoin</tt> simply calls <tt>pdfjam</tt>, the same comment applies also to <tt>pdfjoin</tt>. I'm told that if you have <a href="http://pages.cs.wisc.edu/~ghost/">Ghostscript</a> installed, something along these lines might more nicely join files with different page sizes and orientations: </p>
-<pre>
- gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finished.pdf file1.pdf file2.pdf
+<pre> gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finished.pdf file1.pdf file2.pdf
</pre>
<p>But I haven't tried it.)</p>
@@ -165,8 +170,7 @@
<p>To make a portrait-oriented 4-up file from the pages of three input files, with a thin-line frame around the input pages,</p>
-<pre>
- pdfjam file1.pdf file2.pdf file3.pdf --no-landscape --frame true --nup 2x2 \
+<pre> pdfjam file1.pdf file2.pdf file3.pdf --no-landscape --frame true --nup 2x2 \
--suffix 4up --outfile ~/Documents
</pre>
<p>Here a <em>directory</em> was specified at <tt>--outfile</tt>: the resultant file in this case will be ~/Documents/file3-4up.pdf. (Note that <strong>if there's a writeable file with that name already, it will be overwritten</strong>: no check is made, and no warning given.)</p>
@@ -175,23 +179,20 @@
<p>Suppose we have a document made up of &quot;US letter&quot; size pages, and we want to convert it to A4:</p>
-<pre>
- pdfjam 'my US letter file.pdf' --a4paper --outfile 'my A4 file.pdf'
+<pre> pdfjam 'my US letter file.pdf' --a4paper --outfile 'my A4 file.pdf'
</pre>
<h3 align="justify">Example 5</h3>
<p>A useful application of <tt>pdfjam</tt> is for producing a handout from a file of presentation slides. For slides made with the standard 4:3 aspect ratio a nice 6-up handout on A4 paper can be made by </p>
-<pre>
- pdfjam --nup 2x3 --frame true --noautoscale false --delta &quot;0.2cm 0.3cm&quot; \
+<pre> pdfjam --nup 2x3 --frame true --noautoscale false --delta &quot;0.2cm 0.3cm&quot; \
--scale 0.95 myslides.pdf --outfile myhandout.pdf
</pre>
<p>The <tt>--delta</tt> option here comes from the pdfpages package; the <tt>--scale</tt> option is passed to LaTeX's <tt>\includegraphics</tt> command. </p>
<p>The two wrapper scripts <tt>pdfjam-slides6up</tt> and <tt>pdfjam-slides3up</tt> are provided in order to make this particular application of <tt>pdfjam</tt> easy: for example, </p>
-<pre>
- pdfjam-slides3up --pagenumbering true --batch slides1.pdf slides2.pdf
+<pre> pdfjam-slides3up --pagenumbering true --batch slides1.pdf slides2.pdf
</pre>
<p>makes a pair of 3-up handouts <tt>slides1-3up.pdf</tt> and <tt>slides2-3up.pdf</tt>, with space for side-notes and with the handout pages numbered.</p>
@@ -201,8 +202,7 @@
<p> Suppose we want to trim the pages of our input file prior to n-upping. This can be done by using a pipe: </p>
-<pre>
- pdfjam myfile.pdf --trim '1cm 2cm 1cm 2cm' --clip true --outfile /dev/stdout | \
+<pre> pdfjam myfile.pdf --trim '1cm 2cm 1cm 2cm' --clip true --outfile /dev/stdout | \
pdfnup --frame true --outfile myoutput.pdf
</pre>
<p>The <tt>--trim</tt> option specifies an amount to trim from the left, bottom, right and top sides respectively; to work as intended here it needs also <tt>--clip true</tt>. These (i.e., <tt>trim</tt> and <tt>clip</tt>) are in fact options to LaTeX's <tt>\includegraphics</tt> command (in the standard <em>graphics</em> package).</p>
@@ -213,42 +213,48 @@
<p>To offset the content of double-sided printed pages so that they are suitable for binding with a <a href="http://de.wikipedia.org/wiki/Heftstreifen">Heftstreifen</a>, use the <tt>--twoside</tt> option:</p>
-<pre>
- pdfjam --twoside myfile.pdf --offset '1cm 0cm' --suffix 'offset'
+<pre> pdfjam --twoside myfile.pdf --offset '1cm 0cm' --suffix 'offset'
</pre>
<h3 align="justify">Example 8</h3>
<p> To use PDF input files whose names do not end in &quot;<tt>.pdf</tt>&quot;, you will need to use the <tt>--checkfiles</tt> option. This depends on the availability of the <tt>file</tt> utility, with support for the options <tt>-Lb</tt>; this can be checked by trying </p>
-<pre>
- file -Lb 'my PDF file'
+<pre> file -Lb 'my PDF file'
</pre>
<p> where <tt>'my PDF file'</tt> is the name of a PDF file on your system. The result should be something like &quot;<tt>PDF document, version 1.4</tt>&quot; (possibly with a different version number).</p>
<p> With &quot;<tt>file -Lb</tt>&quot; available, we can use PDF files whose names lack the usual &quot;<tt>.pdf</tt>&quot; extension. For example, </p>
-<pre>
- pdfnup --checkfiles 'my PDF file'
+<pre> pdfnup --checkfiles 'my PDF file'
</pre>
<p>should result in a file named &quot;<tt>my PDF file-nup.pdf</tt>&quot; in the current working directory.</p>
<h3 align="justify">Example 9</h3>
+<p>If you want to print a landscape-oriented PDF document on both sides of the paper, using a duplex printer that does not have 'tumble' capability, make a new version with every second page rotated for printing:</p>
+
+<pre> pdfjam --landscape --doublepagestwistodd true my-landscape-document.pdf
+</pre>
+<h3 align="justify">Example 10</h3>
+
<p> Please feel free to suggest other examples that might help people! (For the email address, see <a href="#bugs">reporting bugs</a>)</p>
-<a name="droplets"></a> <h2 align="justify">Mac OS X only: drag-and-drop</h2>
+<p> <a name="droplets"></a></p>
+
+<h2 align="justify">Mac OS X only: drag-and-drop</h2>
<p>Under <strong>Mac OS X</strong>, <a href="http://www.wsanchez.net/software/">DropScript</a> has been used to make some simple drag-and-drop applications. Some sample droplets are provided in <a href="http://www.warwick.ac.uk/go/pdfjam/pdfdroplets_1.21.dmg">pdfdroplets_1.21.dmg</a>: these may be all you'll need! The sample droplets look like this: </p>
<center> <img src="pdfdroplets.png" border="0" /> </center>
<p> These droplets assume that your pdflatex is at <tt>/usr/texbin/pdflatex</tt>. If pdflatex lives somewhere else on your system, the droplets won't work until you include in your home directory a file named <tt>.pdfnup.conf</tt> (or there is a system-wide file <tt>pdfnup.conf</tt> at one of the four locations listed above), containing the line </p>
-<pre>
-pdflatex=/path/to/pdflatex
+<pre>pdflatex=/path/to/pdflatex
</pre>
<p>where <tt> /path/to/pdflatex </tt> is the answer you get when you type <tt> which pdflatex </tt> in the Terminal. (If you get no answer, chances are that you do not have <tt>pdflatex</tt> installed on your Mac; if you need to install it, you could just download and install <a href="http://www.tug.org/mactex">MacTeX</a> or one of its slimmed-down variants.) </p>
-<a name="faq"></a> <h2 align="justify">FAQ</h2>
+<p> <a name="faq"></a></p>
+
+<h2 align="justify">FAQ</h2>
<p> <strong>1. Why &quot;PDFjam&quot;?</strong><br />
Because it's for PDF files, and jam is what I like best on my toast (well, second best after marmalade, anyway). </p>
@@ -256,7 +262,9 @@ pdflatex=/path/to/pdflatex
<p> <strong>2. The thing runs but the output doesn't look the way it should. Why?</strong><br />
Most likely either your pdfTeX or your pdfpages installation is an old version. (Check also that <tt>pdftex.def</tt>, to be found in in <tt>.../texmf/tex/latex/graphics/</tt>, is up to date.) If the problem persists even with up-to-date versions of pdfTeX, <tt>pdftex.def</tt> and pdfpages, then please do report it. </p>
-<a name="bugs"></a> <h2 align="justify">Reporting bugs</h2>
+<p> <a name="bugs"></a></p>
+
+<h2 align="justify">Reporting bugs</h2>
<p>Please report any bugs found in these scripts, to d.firth (at warwick.ac.uk).</p>
@@ -268,10 +276,15 @@ pdflatex=/path/to/pdflatex
<p>Solving these problems is on the to-do list: if you have solved one of them already please let me know!</p>
-<a name="history"></a> <h2 align="justify">Version history</h2>
+<p> <a name="history"></a></p>
+
+<h2 align="justify">Version history</h2>
+
+<p> <strong>2.08</strong>: fixed a bug in one of the tests [2010-11-14] </p>
+
+<p> <strong>2.07</strong>: two other common graphics formats (JPG and PNG) are now explicitly allowed as input files (i.e., not only PDF files are allowed as inputs). [2010-11-13] </p>
-<p> <strong>2.06</strong>: changed the <tt>pdfbook</tt> script to include <tt>--booklet true</tt> as the default
-behaviour (thanks to Julien Bossert for this good suggestion). [2010-05-11] </p>
+<p><strong>2.06</strong>: changed the <tt>pdfbook</tt> script to include <tt>--booklet true</tt> as the default behaviour (thanks to Julien Bossert for this good suggestion). [2010-05-11] </p>
<p> <strong>2.05</strong>: changes to the <tt>pdfbook</tt> script [the <tt>--right-edge-binding</tt> option is now redundant, and there's a new <tt>--short-edge</tt> option for binding along the short edge of pages instead of the long edge (thanks to Marco Pessotto for this)]. The <tt>--preamble</tt> option to <tt>pdfjam</tt> is enhanced, to allow multiple instances which get concatenated. Also various minor corrections to man pages. [2010-04-25] </p>
@@ -354,4 +367,4 @@ behaviour (thanks to Julien Bossert for this good suggestion). [2010-05-11] </p>
<p> <strong>0.3</strong>: first public release of pdfnup [2002-04-04] </p>
-</body> </html> \ No newline at end of file
+</body> </html>
diff --git a/Master/texmf-dist/doc/support/pdfjam/VERSION b/Master/texmf-dist/doc/support/pdfjam/VERSION
new file mode 100644
index 00000000000..1971909e632
--- /dev/null
+++ b/Master/texmf-dist/doc/support/pdfjam/VERSION
@@ -0,0 +1 @@
+This is PDFjam 2.08 \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/pdfjam/pdfdroplets.png b/Master/texmf-dist/doc/support/pdfjam/pdfdroplets.png
index 850e5802ac6..850e5802ac6 100644
--- a/Master/texmf-dist/doc/latex/pdfjam/pdfdroplets.png
+++ b/Master/texmf-dist/doc/support/pdfjam/pdfdroplets.png
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/pdfjam/pdfjam.conf b/Master/texmf-dist/doc/support/pdfjam/pdfjam.conf
index 9b8f90c12e1..9b8f90c12e1 100644
--- a/Master/texmf-dist/doc/latex/pdfjam/pdfjam.conf
+++ b/Master/texmf-dist/doc/support/pdfjam/pdfjam.conf
diff --git a/Master/texmf-dist/doc/latex/pdfjam/tests.zip b/Master/texmf-dist/doc/support/pdfjam/tests.zip
index 762420eb79c..71afaeaee06 100644
--- a/Master/texmf-dist/doc/latex/pdfjam/tests.zip
+++ b/Master/texmf-dist/doc/support/pdfjam/tests.zip
Binary files differ