Techxt — LaTeX to unicode text converter
Convert LaTeX code into a readable plain text approximation:
\emph{hi} becomes ℎ𝑖,
\"o becomes ö,
$\sum_{i=1}^n x_i$ becomes ∑ᵢ₌₁ⁿ 𝑥ᵢ, an
itemize becomes a bulleted list, and a tabular becomes an
aligned text table. Your own \newcommand and \def
definitions are expanded where you use them.
This web application runs entirely in the browser
No input data is uploaded to any server.
You can install this app as a Progressive Web App
on your phone and on your desktop
(read more).
Every document you convert is kept in
your library, which is stored on this device only
and is never uploaded. Nothing in it is ever removed to save space: you delete what you
want gone, and Export writes the whole library to a file you keep.
Rust libraries techy, techy-xp, and techxt, successors to python's pylatexenc
The techxt converter library is written in Rust. It is based on the
techy parser library, designed to parse (La)TeX-like construct code.
Both libraries can be compiled to WebAssembly (WASM), facilitating their
embedding in the browser (as you can see on this page).
The techy and techxt libraries are the result of rewriting the pylatexenc
python library capabilities from scratch, in Rust. We've improved the design and
made the parsing faster.
The parsing mechanics is further boosted with the techy-xp library, an extension
to techy that provides token-time expansion of input and supports complex
\newcommand and \def macros.
Techy's github page |
Techy-xp's github page |
Techxt's github page |
Pylatexenc's github page
The techy/techy-xp/techxt libraries are currently in early development stage.
The techxt command-line tool
Prefer the command line? Download/clone
the techxt repository,
and install the binary:
techxt$ cargo install --path rust/techxt-cli
Then:
$ techxt myfile.tex
Here is some math: ∑ₖ₌₁ⁿ 1/𝑘² …
(You'll miss out on some features, though, such as your text being automatically
saved in the app's library.)
Updates
The app looks for a new version each time it starts, and whenever the page is
reloaded. Click this button to check now:
techxt
— · MIT or Apache-2.0 licensed · © Philippe Faist
Fonts: