Convert RST to TEX

Turn RST files into LaTeX. A complete LaTeX article with headings, lists, tables, links and math; text outside Latin scripts needs a Unicode TeX engine.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

RST becomes a full LaTeX article.Headings, lists, tables, links and math carry over into one TEX file.

  1. What you get

    One TEX file holding a complete LaTeX article. Headings, lists, tables, links and math in the RST are written out as their LaTeX counterparts.

  2. Non-Latin text

    Text outside Latin scripts needs a Unicode TeX engine to compile. Keep that in mind if your RST holds such text.

  3. What changes

    Directives that only Sphinx knows, such as toctree, keep just their text. The directive itself does not carry over.

    Comments are dropped, so notes you left in the RST do not appear in the TEX file.

    Images stay as links. The picture itself is not placed into the LaTeX source.

  4. Slides

    Turn on Slides to write a Beamer presentation instead of an article. Each first-level heading starts a section, and each second-level heading starts a new frame.

    The result is LaTeX source. Compile it with a TeX engine that has the Beamer class to get the slides.

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

  1. 01 · slides

    Slides

    Writes a slide deck with a new slide at each heading. HTML becomes a deck that opens in a browser, and LaTeX becomes a Beamer presentation to compile.

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 · TEX

LaTeX

LaTeX source, the typesetting language of academic papers and theses.

Extensions
.tex .latex
MIME type
application/x-tex
Kind
Text and data

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

terminal
$ cv convert report.rst report.tex
$ cv convert report.rst report.tex

Questions.What people ask about RST to TEX.

01OF 04

The output is a complete LaTeX article. For text outside Latin scripts, use a Unicode TeX engine.

It keeps just its text. Other directives that only Sphinx knows are treated the same way.

No. Comments are dropped from the TEX file.

Yes, TEX to RST converts in the other direction.

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