Commits

Christian Burkamp committed 777b8b7 Merge

Merged deeplook/pdfnup into default

Comments (0)

Files changed (2)

 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="Docutils 0.9.1: http://docutils.sourceforge.net/" />
+<meta name="generator" content="Docutils 0.10: http://docutils.sourceforge.net/" />
 <title>Pdfnup</title>
 <meta name="author" content="Dinu Gherman &lt;gherman&#64;darwin.in-berlin.de&gt;" />
 <meta name="date" content="2012-06-19" />
 
 /*
 :Author: David Goodger (goodger@python.org)
-:Id: $Id: html4css1.css 7434 2012-05-11 21:06:27Z milde $
+:Id: $Id: html4css1.css 7514 2012-09-14 14:27:12Z milde $
 :Copyright: This stylesheet has been placed in the public domain.
 
 Default cascading style sheet for the HTML output of Docutils.
 
 div.attention p.admonition-title, div.caution p.admonition-title,
 div.danger p.admonition-title, div.error p.admonition-title,
-div.warning p.admonition-title {
+div.warning p.admonition-title, .code .error {
   color: red ;
   font-weight: bold ;
   font-family: sans-serif }
   margin-left: 2em ;
   margin-right: 2em }
 
-pre.code .ln { /* line numbers */
-  color: grey;
-}
-
-.code {
-  background-color: #eeeeee
-}
+pre.code .ln { color: grey; } /* line numbers */
+pre.code, code { background-color: #eeeeee }
+pre.code .comment, code .comment { color: #5C6576 }
+pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
+pre.code .literal.string, code .literal.string { color: #0C5404 }
+pre.code .name.builtin, code .name.builtin { color: #352B84 }
+pre.code .deleted, code .deleted { background-color: #DEB0A1}
+pre.code .inserted, code .inserted { background-color: #A3D289}
 
 span.classifier {
   font-family: sans-serif ;
 <!-- -*- mode: rst -*- -->
 <div class="section" id="about">
 <h1>About</h1>
-<p><cite>Pdfnup</cite> is a Python module and command-line tool for layouting multiple
+<p><em>Pdfnup</em> is a Python module and command-line tool for layouting multiple
 pages per sheet of a PDF document. Using it you can take a PDF document
 and create a new PDF document from it where each page contains a number
 of minimized pages from the original PDF file.</p>
-<p>Right now <cite>pdfnup</cite> should be used on documents with all pages the same
+<p>Right now <em>pdfnup</em> should be used on documents with all pages the same
 size, and half square page numbers per sheet work best on paper sizes
 of the ISO A series.</p>
-<p>Basically, <cite>pdfnup</cite> wrapps <a class="reference external" href="http://pypi.python.org/pypi/pyPdf">pyPdf</a>,
+<p>Basically, <em>pdfnup</em> wrapps <a class="reference external" href="http://pypi.python.org/pypi/pyPdf">pyPdf</a>,
 a package written by Mathieu Fenniak, which does not provide tools like
 this for using the core functionality easily from the command-line or
-from a Python module. <cite>Pdfnup</cite> itself was much inspired from some code
+from a Python module. <em>Pdfnup</em> itself was much inspired from some code
 written by Henning von Bargen - thanks, Henning!</p>
 <p>This release provides full support for file objects and StringIO objects
 for input as well as output documents and fixes a nasty buglet in the
 </div>
 <div class="section" id="examples">
 <h1>Examples</h1>
-<p>You can use <cite>pdfnup</cite> as a Python module e.g. like in the following
+<p>You can use <em>pdfnup</em> as a Python module e.g. like in the following
 interactive Python session:</p>
 <pre class="literal-block">
 &gt;&gt;&gt; from pdfnup import generateNup
 </div>
 <div class="section" id="installation">
 <h1>Installation</h1>
-<p>There are two ways to install <cite>pdfnup</cite>, depending on whether you have
-the <cite>easy_install</cite> command available on your system or not.</p>
+<p>There are two ways to install <em>pdfnup</em>, depending on whether you have
+the <tt class="docutils literal">easy_install</tt> command available on your system or not.</p>
 <div class="section" id="using-easy-install-or-pip">
 <h2>1. Using <cite>easy_install</cite> or <cite>pip</cite></h2>
-<p>With the <cite>easy_install</cite> command on your system and a working internet
-connection you can install <cite>pdfnup</cite> with only one command in a terminal:</p>
+<p>With the <tt class="docutils literal">easy_install</tt> command on your system and a working internet
+connection you can install <em>pdfnup</em> with only one command in a terminal:</p>
 <pre class="literal-block">
 $ easy_install pdfnup
 </pre>
-<p>If the <cite>easy_install</cite> command is not available to you and you want to
-install it before installing <cite>pdfnup</cite>, you might want to go to the
+<p>If the <tt class="docutils literal">easy_install</tt> command is not available to you and you want to
+install it before installing <em>pdfnup</em>, you might want to go to the
 <a class="reference external" href="http://peak.telecommunity.com/DevCenter/EasyInstall">Easy Install homepage</a>
 and follow the <a class="reference external" href="http://peak.telecommunity.com/DevCenter/EasyInstall#installing-easy-install">instructions there</a>.</p>
-<p>You can also install <cite>pdfnup</cite> using <cite>pip</cite> the usual way, if it is already
+<p>You can also install <em>pdfnup</em> using <cite>pip</cite> the usual way, if it is already
 installed:</p>
 <pre class="literal-block">
 $ pip install pdfnup
 </div>
 <div class="section" id="manual-installation">
 <h2>2. Manual installation</h2>
-<p>Alternatively, you can install the <cite>pdfnup</cite> tarball after downloading
+<p>Alternatively, you can install the <em>pdfnup</em> tarball after downloading
 the file <tt class="docutils literal"><span class="pre">pdfnup-0.4.2.tar.gz</span></tt> and decompressing it with the following
 command:</p>
 <pre class="literal-block">
 $ tar xfz pdfnup-0.4.2.tar.gz
 </pre>
 <p>Then change into the newly created directory <tt class="docutils literal">pdfnup</tt> and install
-<cite>pdfnup</cite> by running the following command:</p>
+<em>pdfnup</em> by running the following command:</p>
 <pre class="literal-block">
 $ python setup.py install
 </pre>
 </div>
 <div class="section" id="dependencies">
 <h1>Dependencies</h1>
-<p><cite>Pdfnup</cite> depends on <cite>pyPdf</cite> which, if missing, will miraculously be
-installed together with <cite>pdfnup</cite> if you have a working internet
+<p><em>Pdfnup</em> depends on <em>pyPdf</em> which, if missing, will miraculously be
+installed together with <em>pdfnup</em> if you have a working internet
 connection during the installation procedure. If for whatever reason
-<cite>pyPdf</cite> cannot be installed, <cite>pdfnup</cite> should still install fine.
-In this case you'll get a warning when trying to run <cite>pdfnup</cite>.</p>
-<p>Starting with version 0.3.1 <cite>pdfnup</cite> no longer needs the <a class="reference external" href="http://www.reportlab.org/downloads.html">ReportLab
+<em>pyPdf</em> cannot be installed, <em>pdfnup</em> should still install fine.
+In this case you'll get a warning when trying to run <em>pdfnup</em>.</p>
+<p>Starting with version 0.3.1 <em>pdfnup</em> no longer needs the <a class="reference external" href="http://www.reportlab.org/downloads.html">ReportLab
 toolkit</a> to be installed,
-except for running the Python script <cite>genpdf.py</cite> generating the
+except for running the Python script <tt class="docutils literal">genpdf.py</tt> generating the
 initial PDF files for the test suite (but even those are included
 in the distribution).</p>
 </div>
 <div class="section" id="testing">
 <h1>Testing</h1>
-<p>The <cite>pdfnup</cite> tarball distribution contains a Unittest test suite
+<p>The <em>pdfnup</em> tarball distribution contains a Unittest test suite
 in the file <tt class="docutils literal">test_pdfnup.py</tt> which can be run like shown in the
 following lines on the system command-line:</p>
 <pre class="literal-block">
 About
 -----
 
-`Pdfnup` is a Python module and command-line tool for layouting multiple 
+*Pdfnup* is a Python module and command-line tool for layouting multiple 
 pages per sheet of a PDF document. Using it you can take a PDF document 
 and create a new PDF document from it where each page contains a number
 of minimized pages from the original PDF file. 
 
-Right now `pdfnup` should be used on documents with all pages the same 
+Right now *pdfnup* should be used on documents with all pages the same 
 size, and half square page numbers per sheet work best on paper sizes
 of the ISO A series.
 
-Basically, `pdfnup` wrapps `pyPdf <http://pypi.python.org/pypi/pyPdf>`_, 
+Basically, *pdfnup* wrapps `pyPdf <http://pypi.python.org/pypi/pyPdf>`_, 
 a package written by Mathieu Fenniak, which does not provide tools like 
 this for using the core functionality easily from the command-line or 
-from a Python module. `Pdfnup` itself was much inspired from some code 
+from a Python module. *Pdfnup* itself was much inspired from some code 
 written by Henning von Bargen - thanks, Henning!
 
 This release provides full support for file objects and StringIO objects
 Examples
 --------
 
-You can use `pdfnup` as a Python module e.g. like in the following
+You can use *pdfnup* as a Python module e.g. like in the following
 interactive Python session::
 
     >>> from pdfnup import generateNup
 Installation
 ------------
 
-There are two ways to install `pdfnup`, depending on whether you have
-the `easy_install` command available on your system or not.
+There are two ways to install *pdfnup*, depending on whether you have
+the ``easy_install`` command available on your system or not.
 
 1. Using `easy_install` or `pip`
 ++++++++++++++++++++++++++++++++++
 
-With the `easy_install` command on your system and a working internet 
-connection you can install `pdfnup` with only one command in a terminal::
+With the ``easy_install`` command on your system and a working internet 
+connection you can install *pdfnup* with only one command in a terminal::
 
   $ easy_install pdfnup
 
-If the `easy_install` command is not available to you and you want to
-install it before installing `pdfnup`, you might want to go to the 
+If the ``easy_install`` command is not available to you and you want to
+install it before installing *pdfnup*, you might want to go to the 
 `Easy Install homepage <http://peak.telecommunity.com/DevCenter/EasyInstall>`_ 
 and follow the `instructions there <http://peak.telecommunity.com/DevCenter/EasyInstall#installing-easy-install>`_.
 
-You can also install `pdfnup` using `pip` the usual way, if it is already 
+You can also install *pdfnup* using `pip` the usual way, if it is already 
 installed::
 
   $ pip install pdfnup
 2. Manual installation
 +++++++++++++++++++++++
 
-Alternatively, you can install the `pdfnup` tarball after downloading 
+Alternatively, you can install the *pdfnup* tarball after downloading 
 the file ``pdfnup-0.4.2.tar.gz`` and decompressing it with the following 
 command::
 
   $ tar xfz pdfnup-0.4.2.tar.gz
 
 Then change into the newly created directory ``pdfnup`` and install 
-`pdfnup` by running the following command::
+*pdfnup* by running the following command::
 
   $ python setup.py install
   
 Dependencies
 ------------
 
-`Pdfnup` depends on `pyPdf` which, if missing, will miraculously be 
-installed together with `pdfnup` if you have a working internet 
+*Pdfnup* depends on *pyPdf* which, if missing, will miraculously be 
+installed together with *pdfnup* if you have a working internet 
 connection during the installation procedure. If for whatever reason 
-`pyPdf` cannot be installed, `pdfnup` should still install fine. 
-In this case you'll get a warning when trying to run `pdfnup`.
+*pyPdf* cannot be installed, *pdfnup* should still install fine. 
+In this case you'll get a warning when trying to run *pdfnup*.
 
-Starting with version 0.3.1 `pdfnup` no longer needs the `ReportLab 
+Starting with version 0.3.1 *pdfnup* no longer needs the `ReportLab 
 toolkit <http://www.reportlab.org/downloads.html>`_ to be installed, 
-except for running the Python script `genpdf.py` generating the 
+except for running the Python script ``genpdf.py`` generating the 
 initial PDF files for the test suite (but even those are included
 in the distribution).
 
 Testing
 -------
 
-The `pdfnup` tarball distribution contains a Unittest test suite 
+The *pdfnup* tarball distribution contains a Unittest test suite 
 in the file ``test_pdfnup.py`` which can be run like shown in the 
 following lines on the system command-line::