Convert RST to PDF

Turn RST files into PDF. Typeset on A4 pages unless page_size says letter, with the title block, headings, lists, tables, code, admonitions, footnotes and math.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop RST files on the dialor turn it to pick what to do

Your Sphinx docs as printable pages.Headings, tables, code and math are set on A4 pages in one PDF.

  1. What you get

    One PDF typeset from your RST file. It has the title block, headings, lists, tables, code, admonitions, footnotes and math.

    The pages are A4 unless you change the size. A PDF keeps the same layout everywhere, so it suits anything you print or sign.

  2. What changes

    Directives that only Sphinx knows keep just their text. Comments are dropped and do not appear in the PDF.

    Images become their description, so the PDF holds the words that describe the image and not the picture itself.

  3. Page size

    Set Page size to choose the pages. A4 is 210 × 297 mm and is the default. Letter is 8.5 × 11 in, the usual size in North America.

    Auto gives each page the size of its own content.

RST and PDF.What each format is, and the options this conversion takes.

  1. 01 · page_size

    Page size

    The size of the pages written. A4 is the standard in most of the world and Letter in North America.

    • a4 210 × 297 mm.
    • letter 8.5 × 11 in.
    • auto Each page takes the size of its own content.
    a4 · letter · auto default a4

The formats

From · RST

reStructuredText

reStructuredText, the markup of Python documentation and Sphinx.

Extensions
.rst
MIME type
text/x-rst
Kind
Text and data
To · PDF

PDF

Fixed-layout pages that look the same everywhere. The exchange format for anything that will be printed or signed.

Extensions
.pdf
MIME type
application/pdf
Kind
Documents

In your code.The same RST to PDF conversion through the API, for your app or your agent.

terminal
$ cv convert report.rst report.pdf
$ cv convert report.rst report.pdf

Questions.What people ask about RST to PDF.

01OF 04

A4 by default. Set Page size to Letter for 8.5 × 11 in pages.

No. Comments are dropped.

Each image becomes its description. The picture itself is not placed in the PDF.

Directives that only Sphinx knows keep just their text. The rest of the file, such as tables, code and math, is typeset as usual.

More conversions.Other ways in and out of RST and PDF.