rst2pdf(1)

NAME
rst2pdf - Convert reStructuredText documents to PDF

SYNOPSIS
rst2pdf [options] [input]

DESCRIPTION
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 library.

OPTIONS

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

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

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

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

--print-stylesheet
    Print the default stylesheet and exit

--font-folder=FOLDER
    Search this folder for fonts. (Deprecated)

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

-l LANG, --language=LANG
    Language to be used for hyphenation. Default="en_US"

--fit-literal-mode=MODE
    What todo when a literal is too wide. One of error,overflow,shrink,truncate.

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

-q, --quiet
    Print less information.

-v, --verbose
    Print debug information.

--very-verbose
    Print even more debug information.

EXAMPLES
$ rst2pdf rest.txt -o out.pdf

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

AUTHORS
This manual page was written by Chris Lamb <chris@chris-lamb.co.uk>, for the Debian project (but may be used by others).