Convert RST to TEI
Turn RST files into TEI. A TEI document with sections, lists, tables, links, footnotes and math; the title, author and date go into its TEI header.
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 reStructuredText as a TEI document.Sections, lists, tables, links, footnotes and math carry over into one TEI file.
What you get
One TEI document built from the structure of your RST file. Sections, lists, tables, links, footnotes and math are all part of the result.
The title, author and date go into the TEI header, where archives and editions look for them.
What changes or is left behind
Directives that only Sphinx knows, such as toctree, keep just their text. The directive itself is not carried over.
Comments are dropped. Images stay as links, so the picture files are not placed inside the TEI document.
RST and TEI.What each format is.
The formats
reStructuredText
reStructuredText, the markup of Python documentation and Sphinx.
- Extensions
- .rst
- MIME type
- text
/x -rst - Kind
- Text and data
TEI XML
Text Encoding Initiative XML, the format scholarly editions and digital humanities archives keep texts in.
- Extensions
- .tei
- MIME type
- application
/tei +xml - Kind
- Text and data
In your code.The same RST to TEI conversion through the API, for your app or your agent.
$ cv convert report.rst report.tei$ cv convert report.rst report.teiQuestions.What people ask about RST to TEI.
They go into the TEI header of the output file.
Yes. Footnotes and math are part of the TEI document.
It keeps just its text. Directives that only Sphinx knows are not carried over as directives.
No. Images stay as links to the pictures.