Commit c014752f authored by Etienne Nadji's avatar Etienne Nadji
Browse files

Initial commit

	nouveau fichier : _images/logo.png
	nouveau fichier : _images/logo1.png
	nouveau fichier : _images/wireframe_in.png
	nouveau fichier : _images/wireframe_out.png
	nouveau fichier : _modules/index.html
	nouveau fichier : _modules/pyscribus/colors.html
	nouveau fichier : _modules/pyscribus/common/math.html
	nouveau fichier : _modules/pyscribus/common/xml.html
	nouveau fichier : _modules/pyscribus/dimensions.html
	nouveau fichier : _modules/pyscribus/document.html
	nouveau fichier : _modules/pyscribus/exceptions.html
	nouveau fichier : _modules/pyscribus/extra/wireframe.html
	nouveau fichier : _modules/pyscribus/itemattribute.html
	nouveau fichier : _modules/pyscribus/marks.html
	nouveau fichier : _modules/pyscribus/notes.html
	nouveau fichier : _modules/pyscribus/pageobjects.html
	nouveau fichier : _modules/pyscribus/pages.html
	nouveau fichier : _modules/pyscribus/papers/afnor.html
	nouveau fichier : _modules/pyscribus/papers/ansi.html
	nouveau fichier : _modules/pyscribus/papers/iso216.html
	nouveau fichier : _modules/pyscribus/papers/iso269.html
	nouveau fichier : _modules/pyscribus/patterns.html
	nouveau fichier : _modules/pyscribus/printing.html
	nouveau fichier : _modules/pyscribus/sla.html
	nouveau fichier : _modules/pyscribus/stories.html
	nouveau fichier : _modules/pyscribus/styles.html
	nouveau fichier : _modules/pyscribus/toc.html
	nouveau fichier : _sources/articles/en/spec-suggestions.rst.txt
	nouveau fichier : _sources/articles/en/spec.rst.txt
	nouveau fichier : _sources/articles/fr/stories.rst.txt
	nouveau fichier : _sources/credits.rst.txt
	nouveau fichier : _sources/examples/index.rst.txt
	nouveau fichier : _sources/examples/wireframe.rst.txt
	nouveau fichier : _sources/extra.rst.txt
	nouveau fichier : _sources/guide/en/psm.rst.txt
	nouveau fichier : _sources/guide/en/quickstart.rst.txt
	nouveau fichier : _sources/guide/en/templating.rst.txt
	nouveau fichier : _sources/guide/fr/dims.rst.txt
	nouveau fichier : _sources/guide/fr/general.rst.txt
	nouveau fichier : _sources/index.rst.txt
	nouveau fichier : _sources/modules.rst.txt
	nouveau fichier : _sources/pyscribus.rst.txt
	nouveau fichier : _sources/thanks.rst.txt
	nouveau fichier : _static/ajax-loader.gif
	nouveau fichier : _static/basic.css
	nouveau fichier : _static/comment-bright.png
	nouveau fichier : _static/comment-close.png
	nouveau fichier : _static/comment.png
	nouveau fichier : _static/css/badge_only.css
	nouveau fichier : _static/css/theme.css
	nouveau fichier : _static/custom.css
	nouveau fichier : _static/doctools.js
	nouveau fichier : _static/documentation_options.js
	nouveau fichier : _static/down-pressed.png
	nouveau fichier : _static/down.png
	nouveau fichier : _static/file.png
	nouveau fichier : _static/fonts/Lato-Bold.ttf
	nouveau fichier : _static/fonts/Lato-Bold.woff2
	nouveau fichier : _static/fonts/Lato-BoldItalic.ttf
	nouveau fichier : _static/fonts/Lato-BoldItalic.woff2
	nouveau fichier : _static/fonts/Lato-Italic.ttf
	nouveau fichier : _static/fonts/Lato-Italic.woff2
	nouveau fichier : _static/fonts/Lato-Regular.ttf
	nouveau fichier : _static/fonts/Lato-Regular.woff2
	nouveau fichier : _static/fonts/RobotoSlab-Bold.ttf
	nouveau fichier : _static/fonts/RobotoSlab-Bold.woff2
	nouveau fichier : _static/fonts/RobotoSlab-Regular.ttf
	nouveau fichier : _static/fonts/RobotoSlab-Regular.woff2
	nouveau fichier : _static/fonts/fontawesome-webfont.eot
	nouveau fichier : _static/fonts/fontawesome-webfont.svg
	nouveau fichier : _static/fonts/fontawesome-webfont.ttf
	nouveau fichier : _static/fonts/fontawesome-webfont.woff
	nouveau fichier : _static/fonts/fontawesome-webfont.woff2
	nouveau fichier : _static/jquery.js
	nouveau fichier : _static/js/modernizr.min.js
	nouveau fichier : _static/js/theme.js
	nouveau fichier : _static/language_data.js
	nouveau fichier : _static/logo-300.png
	nouveau fichier : _static/logo.png
	nouveau fichier : _static/logo_old.png
	nouveau fichier : _static/minus.png
	nouveau fichier : _static/plus.png
	nouveau fichier : _static/pygments.css
	nouveau fichier : _static/pyscribus.png
	nouveau fichier : _static/pyscribus.svg
	nouveau fichier : _static/pyscribus_2.svg
	nouveau fichier : _static/searchtools.js
	nouveau fichier : _static/underscore.js
	nouveau fichier : _static/up-pressed.png
	nouveau fichier : _static/up.png
	nouveau fichier : _static/websupport.js
	nouveau fichier : _static/wireframe_in.png
	nouveau fichier : _static/wireframe_out.png
	nouveau fichier : articles/en/spec-suggestions.html
	nouveau fichier : articles/en/spec.html
	nouveau fichier : articles/fr/stories.html
	nouveau fichier : credits.html
	nouveau fichier : examples/index.html
	nouveau fichier : examples/wireframe.html
	nouveau fichier : extra.html
	nouveau fichier : genindex.html
	nouveau fichier : guide/en/psm.html
	nouveau fichier : guide/en/quickstart.html
	nouveau fichier : guide/en/templating.html
	nouveau fichier : guide/fr/dims.html
	nouveau fichier : guide/fr/general.html
	nouveau fichier : index.html
	nouveau fichier : modules.html
	nouveau fichier : objects.inv
	nouveau fichier : py-modindex.html
	nouveau fichier : pyscribus.html
	nouveau fichier : search.html
	nouveau fichier : searchindex.js
	nouveau fichier : thanks.html
parents
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Overview: module code &mdash; PyScribus 0.1 documentation</title>
<script type="text/javascript" src="../_static/js/modernizr.min.js"></script>
<script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<script type="text/javascript" src="../_static/language_data.js"></script>
<script type="text/javascript" src="../_static/js/theme.js"></script>
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="../index.html" class="icon icon-home"> PyScribus
<img src="../_static/logo-300.png" class="logo" alt="Logo"/>
</a>
<div class="version">
0.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<ul>
<li class="toctree-l1"><a class="reference internal" href="../guide/en/quickstart.html">Quickstart</a></li>
<li class="toctree-l1"><a class="reference internal" href="../guide/fr/general.html">[FR] Fonctionnement général</a></li>
<li class="toctree-l1"><a class="reference internal" href="../guide/fr/dims.html">[FR] Mesures et autres nombres</a></li>
<li class="toctree-l1"><a class="reference internal" href="../guide/en/psm.html">PyScribus Story Markup</a></li>
<li class="toctree-l1"><a class="reference internal" href="../guide/en/templating.html">PyScribus templating</a></li>
<li class="toctree-l1"><a class="reference internal" href="../examples/index.html">Examples</a></li>
<li class="toctree-l1"><a class="reference internal" href="../credits.html">Credits</a></li>
<li class="toctree-l1"><a class="reference internal" href="../thanks.html">Acknowledgements</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../modules.html">PyScribus reference</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../articles/en/spec.html">[EN] SLA document-able attributes</a></li>
<li class="toctree-l1"><a class="reference internal" href="../articles/en/spec-suggestions.html">SLA’s enhancement suggestions</a></li>
<li class="toctree-l1"><a class="reference internal" href="../articles/fr/stories.html">[FR] Comment les <em>stories</em> de Scribus (semblent) fonctionner</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../index.html">PyScribus</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="../index.html">Docs</a> &raquo;</li>
<li>Overview: module code</li>
<li class="wy-breadcrumbs-aside">
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<h1>All modules for which code is available</h1>
<ul><li><a href="pyscribus/colors.html">pyscribus.colors</a></li>
<li><a href="pyscribus/common/math.html">pyscribus.common.math</a></li>
<li><a href="pyscribus/common/xml.html">pyscribus.common.xml</a></li>
<li><a href="pyscribus/dimensions.html">pyscribus.dimensions</a></li>
<li><a href="pyscribus/document.html">pyscribus.document</a></li>
<li><a href="pyscribus/exceptions.html">pyscribus.exceptions</a></li>
<li><a href="pyscribus/extra/wireframe.html">pyscribus.extra.wireframe</a></li>
<li><a href="pyscribus/itemattribute.html">pyscribus.itemattribute</a></li>
<li><a href="pyscribus/marks.html">pyscribus.marks</a></li>
<li><a href="pyscribus/notes.html">pyscribus.notes</a></li>
<li><a href="pyscribus/pageobjects.html">pyscribus.pageobjects</a></li>
<li><a href="pyscribus/pages.html">pyscribus.pages</a></li>
<li><a href="pyscribus/papers/afnor.html">pyscribus.papers.afnor</a></li>
<li><a href="pyscribus/papers/ansi.html">pyscribus.papers.ansi</a></li>
<li><a href="pyscribus/papers/iso216.html">pyscribus.papers.iso216</a></li>
<li><a href="pyscribus/papers/iso269.html">pyscribus.papers.iso269</a></li>
<li><a href="pyscribus/patterns.html">pyscribus.patterns</a></li>
<li><a href="pyscribus/printing.html">pyscribus.printing</a></li>
<li><a href="pyscribus/sla.html">pyscribus.sla</a></li>
<li><a href="pyscribus/stories.html">pyscribus.stories</a></li>
<li><a href="pyscribus/styles.html">pyscribus.styles</a></li>
<li><a href="pyscribus/toc.html">pyscribus.toc</a></li>
</ul>
</div>
</div>
<footer>
<hr/>
<div role="contentinfo">
<p>
&copy; Copyright 2020, Étienne Nadji
</p>
</div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>pyscribus.common.math &mdash; PyScribus 0.1 documentation</title>
<script type="text/javascript" src="../../../_static/js/modernizr.min.js"></script>
<script type="text/javascript" id="documentation_options" data-url_root="../../../" src="../../../_static/documentation_options.js"></script>
<script type="text/javascript" src="../../../_static/jquery.js"></script>
<script type="text/javascript" src="../../../_static/underscore.js"></script>
<script type="text/javascript" src="../../../_static/doctools.js"></script>
<script type="text/javascript" src="../../../_static/language_data.js"></script>
<script type="text/javascript" src="../../../_static/js/theme.js"></script>
<link rel="stylesheet" href="../../../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../../_static/custom.css" type="text/css" />
<link rel="index" title="Index" href="../../../genindex.html" />
<link rel="search" title="Search" href="../../../search.html" />
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="../../../index.html" class="icon icon-home"> PyScribus
<img src="../../../_static/logo-300.png" class="logo" alt="Logo"/>
</a>
<div class="version">
0.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../guide/en/quickstart.html">Quickstart</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../guide/fr/general.html">[FR] Fonctionnement général</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../guide/fr/dims.html">[FR] Mesures et autres nombres</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../guide/en/psm.html">PyScribus Story Markup</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../guide/en/templating.html">PyScribus templating</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../examples/index.html">Examples</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../credits.html">Credits</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../thanks.html">Acknowledgements</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../modules.html">PyScribus reference</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../articles/en/spec.html">[EN] SLA document-able attributes</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../articles/en/spec-suggestions.html">SLA’s enhancement suggestions</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../articles/fr/stories.html">[FR] Comment les <em>stories</em> de Scribus (semblent) fonctionner</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../../../index.html">PyScribus</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="../../../index.html">Docs</a> &raquo;</li>
<li><a href="../../index.html">Module code</a> &raquo;</li>
<li>pyscribus.common.math</li>
<li class="wy-breadcrumbs-aside">
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<h1>Source code for pyscribus.common.math</h1><div class="highlight"><pre>
<span></span><span class="ch">#!/usr/bin/python3</span>
<span class="c1"># -*- coding:Utf-8 -*-</span>
<span class="c1"># PyScribus, python library for Scribus SLA</span>
<span class="c1"># Copyright (C) 2020 Étienne Nadji</span>
<span class="c1">#</span>
<span class="c1"># This program is free software: you can redistribute it and/or modify</span>
<span class="c1"># it under the terms of the GNU General Public License as published by</span>
<span class="c1"># the Free Software Foundation, either version 3 of the License, or</span>
<span class="c1"># (at your option) any later version.</span>
<span class="c1">#</span>
<span class="c1"># This program is distributed in the hope that it will be useful,</span>
<span class="c1"># but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<span class="c1"># MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span>
<span class="c1"># GNU General Public License for more details.</span>
<span class="c1">#</span>
<span class="c1"># You should have received a copy of the GNU General Public License</span>
<span class="c1"># along with this program. If not, see &lt;https://www.gnu.org/licenses/&gt;.</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="sd">Mathematics related values, functions and enumerations.</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="c1"># Imports ===============================================================#</span>
<span class="kn">import</span> <span class="nn">enum</span>
<span class="c1"># Variables globales ====================================================#</span>
<span class="n">__author__</span> <span class="o">=</span> <span class="s2">&quot;Etienne Nadji &lt;etnadji@eml.cc&gt;&quot;</span>
<span class="n">PICA_TO_MM</span> <span class="o">=</span> <span class="p">(</span><span class="mf">25.4</span> <span class="o">/</span> <span class="mi">72</span><span class="p">)</span>
<span class="n">INCH_TO_MM</span> <span class="o">=</span> <span class="mf">25.4</span>
<span class="c1"># Classes ===============================================================#</span>
<div class="viewcode-block" id="FloatEnum"><a class="viewcode-back" href="../../../pyscribus.html#pyscribus.common.math.FloatEnum">[docs]</a><span class="k">class</span> <span class="nc">FloatEnum</span><span class="p">(</span><span class="n">enum</span><span class="o">.</span><span class="n">Enum</span><span class="p">):</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Enum class usable with float() function / method.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">def</span> <span class="nf">__float__</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
<span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">value</span><span class="p">,</span> <span class="nb">float</span><span class="p">):</span>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">value</span>
<span class="k">else</span><span class="p">:</span>
<span class="k">return</span> <span class="nb">float</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">value</span><span class="p">)</span></div>
<span class="c1"># Fonctions =============================================================#</span>
<div class="viewcode-block" id="necessary_float"><a class="viewcode-back" href="../../../pyscribus.html#pyscribus.common.math.necessary_float">[docs]</a><span class="k">def</span> <span class="nf">necessary_float</span><span class="p">(</span><span class="n">f</span><span class="p">):</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Return integer if float f has no decimals.</span>
<span class="sd"> :type f: float</span>
<span class="sd"> :param f: Float value</span>
<span class="sd"> :rtype: int,float</span>
<span class="sd"> :returns: Integer if float f has no decimals, else float.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">if</span> <span class="nb">float</span><span class="p">(</span><span class="n">f</span><span class="p">)</span> <span class="o">==</span> <span class="nb">int</span><span class="p">(</span><span class="n">f</span><span class="p">):</span>
<span class="k">return</span> <span class="nb">int</span><span class="p">(</span><span class="n">f</span><span class="p">)</span>
<span class="k">else</span><span class="p">:</span>
<span class="k">return</span> <span class="nb">float</span><span class="p">(</span><span class="n">f</span><span class="p">)</span></div>
<div class="viewcode-block" id="mm"><a class="viewcode-back" href="../../../pyscribus.html#pyscribus.common.math.mm">[docs]</a><span class="k">def</span> <span class="nf">mm</span><span class="p">(</span><span class="n">milimeters</span><span class="p">):</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Returns milimeters in pica points.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">return</span> <span class="nb">float</span><span class="p">(</span><span class="n">milimeters</span><span class="p">)</span> <span class="o">/</span> <span class="n">PICA_TO_MM</span></div>
<span class="c1"># vim:set shiftwidth=4 softtabstop=4:</span>
</pre></div>
</div>
</div>
<footer>
<hr/>
<div role="contentinfo">
<p>
&copy; Copyright 2020, Étienne Nadji
</p>
</div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>pyscribus.exceptions &mdash; PyScribus 0.1 documentation</title>
<script type="text/javascript" src="../../_static/js/modernizr.min.js"></script>
<script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
<script type="text/javascript" src="../../_static/jquery.js"></script>
<script type="text/javascript" src="../../_static/underscore.js"></script>
<script type="text/javascript" src="../../_static/doctools.js"></script>
<script type="text/javascript" src="../../_static/language_data.js"></script>
<script type="text/javascript" src="../../_static/js/theme.js"></script>
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/custom.css" type="text/css" />
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="../../index.html" class="icon icon-home"> PyScribus
<img src="../../_static/logo-300.png" class="logo" alt="Logo"/>
</a>
<div class="version">
0.1
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>