Skip to content

Instantly share code, notes, and snippets.

@walchko
Created March 16, 2017 15:50
Show Gist options
  • Save walchko/b39b13116206566a0d6313a2d4b9cf75 to your computer and use it in GitHub Desktop.
Save walchko/b39b13116206566a0d6313a2d4b9cf75 to your computer and use it in GitHub Desktop.
rst2pdf simple example
.. header::
Examples - page ###Page###
.. footer::
Footer .. yeah! page ###Page### of ###Total###
h1
=========
Probably don't need ``landscape``
.. code-block:: bash
rst2pdf test.rst -s twocolumn,letter-landscape
.. code-block:: python
import bob
def test(sam):
bob.tom = sam
return bob
test(55.0)
This is a test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment