An application that transforms LaTeX code to plain text
Project description
Source repo on GitHub, and run it on Repl.it
Introduction
PyDetex is a Python application that transforms LaTeX code to plain text. It has multiple language support (15+), detects repeated words, offers a dictionary (synonyms, antonyms, definitions), and many things more to come!
Comprehensive documentation for the latest version (if you plan to use the API) is available at https://pydetex.readthedocs.io
Install Instructions
PyDetex can be installed via pip, for both MacOS, Windows & Linux. Simply run:
$> python3 pip install pydetex -U
Also, there’re compiled binaries for Windows (x64) and macOS available through GitHub releases.
Launch the GUI, or use the library
Simply run this command anywhere to execute the application.
$> python3 -m pydetex.gui
You can also import the library, and use the parsers (methods that take latex code and perform a single task) or the pipelines (combination of parsers). For more information, visit the documentation.
import pydetex.pipelines as pip
text = "This is a \\textbf{LaTex} code..."
out = pip.simple(text)
TO-DOs
Currently, many things must be improved:
Add synthax checking for several languages, like language-check.
Custom support for environments, such as table.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.