OnWorks favicon

rst2pdf - Online in the Cloud

Run rst2pdf in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command rst2pdf that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



rst2pdf - Convert reStructuredText documents to PDF


rst2pdf [options] [input] [-o output]


The usual way of creating PDF from reStructuredText (ReST) is by going through LaTeX. The
rst2pdf utility provides an alternative by producing PDF directly using the ReportLab


-h, --help
Show this help message and exit

Config file to use. Default=~/.rst2pdf/config

-o FILE, --output=FILE
Write the PDF to FILE

A comma-separated list of custom stylesheets. Default=""

A colon-separated list of folders to search for stylesheets. Default=""

-c, --compressed
Create a compressed PDF. Default=False

Print the default stylesheet and exit

Search this folder for fonts. (Deprecated)

A colon-separated list of folders to search for fonts. Default=""

The base URL for relative URLs.

-l LANG, --language=LANG
Language to be used for hyphenation and docutils localization. Default=None

Page header if not specified in the document.

Page footer if not specified in the document.

Sections up to this dept will be used in the header and footer's replacement of
###Section###. Default=2

Try to convert ASCII quotes, ellipsis and dashes to the typographically correct
equivalent. Default=0

The possible values are:

0. Suppress all transformations. (Do nothing.)

1. Performs default SmartyPants transformations: quotes (including backticks-style),
em-dashes, and ellipses. "--" (dash dash) is used to signify an em-dash; there is no
support for en-dashes.

2. Same as --smart-quotes=1, except that it uses the old-school typewriter shorthand for
dashes: "--" (dash dash) for en-dashes, "---" (dash dash dash) for em-dashes.

3. Same as --smart-quotes=2, but inverts the shorthand for dashes: "--" (dash dash) for
em-dashes, and "---" (dash dash dash) for en-dashes.

What to do when a literal is too wide. One of error,overflow,shrink,truncate.

How to fit the background image to the page. One of scale or center.

Shows target between parenthesis instead of active link

Repeats header row for each splitted table

Support embeddig raw HTML. Default: False

-q, --quiet
Print less information.

-v, --verbose
Print debug information.

Print even more debug information.

Print version number and exit.

Disable footnote backlinks. Default: False

Show footnotes inline. Default: True

DPI for objects sized in pixels. Default=300

Show frame borders (only useful for debugging). Default=False

Don't use splittable flowables in some elements. Only try this if you can't process
a document any other way.

-b LEVEL, --break-level=LEVEL
Maximum section level that starts in a new page. Default: 0

--first-page-on-right When using double sided pages, the first page will start
on the right hand side. (Book Style)

Add a blank page at the beginning of the document.

How section breaks work. Can be "even", and sections start in an even page,"odd",
and sections start in odd pages, or "any" and sections start in the next page,be it
even or odd. See also the -b option.

Don't store the current date in the PDF. Useful mainly for the test suite, where we
don't want the PDFs to change.

Alias for --extension-module

Add a helper extension module to this invocation of rst2pdf (module must end in .py
and be on the python path)

Template file used for the cover page. Default: cover.tmpl

Makes images with :aling: attribute work more like in rst2html. Default: False

When using numbered sections, adds the numbers to all links referring to the
section headers. Default: False

Remove elements with this CLASS from the output. Can be used multiple times.


$ rst2pdf rest.txt -o out.pdf

Produce an out.pdf file which is a PDF version of the ReST document rest.txt.

Use rst2pdf online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    ATTENTION: Cumulative update 2.4.3 has
    been released!! The update works for any
    previous 2.x.x version. If upgrading
    from version v1.x.x, please download and
    Download XISMuS
  • 2
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • 3
    PHP QR Code
    PHP QR Code
    PHP QR Code is open source (LGPL)
    library for generating QR Code,
    2-dimensional barcode. Based on
    libqrencode C library, provides API for
    creating QR Code barc...
    Download PHP QR Code
  • 4
    Freeciv is a free turn-based
    multiplayer strategy game, in which each
    player becomes the leader of a
    civilization, fighting to obtain the
    ultimate goal: to bec...
    Download Freeciv
  • 5
    Cuckoo Sandbox
    Cuckoo Sandbox
    Cuckoo Sandbox uses components to
    monitor the behavior of malware in a
    Sandbox environment; isolated from the
    rest of the system. It offers automated
    analysis o...
    Download Cuckoo Sandbox
  • 6
    Play YouTube video on LMS (porting of
    Triode's to YouTbe API v3) This is
    an application that can also be fetched
    Download LMS-YouTube
  • More »

Linux commands

  • 1
    a2crd - attempts the conversion of
    lyrics file into chordii input ...
    Run a2crd
  • 2
    a2j - Wrapper script to simulate
    a2jmidid's non-DBUS behaviour though
    a2jmidid actually being in DBUS mode ...
    Run a2j
  • 3
    coqdoc - A documentation tool for the
    Coq proof assistant ...
    Run coqdoc
  • 4
    coqide - The Coq Proof Assistant
    graphical interface ...
    Run coqide
  • 5
    g.gisenv - Outputs and modifies the
    user�s current GRASS variable settings.
    Prints all defined GRASS variables if no
    option is given. KEYWORDS: general,
    Run g.gisenvgrass
  • 6
    g.gui - Launches a GRASS graphical user
    interface (GUI) session. Optionally
    updates default user interface settings.
    KEYWORDS: general, GUI, user interface ...
    Run g.guigrass
  • More »