NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1531 most downloaded on PyPI
Simple LaTeX parser providing latex-to-unicode and unicode-to-latex conversion
Last release 2 months ago
28 Jul 2026
Release timing varies
gaps range from 1 weeks to 11 months
Most releases are documented
notes for 18 of 21 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
42 releases · first in 2015
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
This release pulls in some tiny fixes. The main reason to provide this release is to distribute a wheel for pip installs of the 2.x version series.
This release pulls in some tiny fixes. The main reason to provide this release is to distribute a wheel for pip installs of the 2.x version series.
Install using pip:
pip install pylatexenc
See full documentation at http://pylatexenc.readthedocs.io/. (Note doc refers to v3alpha version.)
Your usual share of a few bugfixes sprinkled with tweaks (see changelog for details).
Your usual share of a few bugfixes sprinkled with tweaks (see changelog for details).
Install using pip:
pip install pylatexenc
See full documentation at http://pylatexenc.readthedocs.io/.
Added pylatexenc.latexencode.PartialLatexToLatexEncoder which can help to avoid double-escaping some existing LaTeX expressions in the string that we want to LaTeX-encode.
The pylatexenc.latexencode.UnicodeToLatexConversionRule now has a replacement_latex_protection field which can be used to override the default replacement_latex_protection set on a pylatexenc.latexencode.UnicodeToLatexEncoder object. Also the replacement_latex_protection fields accept an arbitrary callable object.
added some known macro definitions for latexwalker and latex2text , such as \definecolor and \textcolor .
Bug fixes (including #57 )
Added pylatexenc.latexencode.PartialLatexToLatexEncoder which can help to avoid double-escaping some existing LaTeX expressions in the string that we want to LaTeX-encode.
The pylatexenc.latexencode.UnicodeToLatexConversionRule now has a ~pylatexenc.latexencode.UnicodeToLatexConversionRule.replacement_latex_protection field which can be used to override the default replacement_latex_protection set on a pylatexenc.latexencode.UnicodeToLatexEncoder object. Also the replacement_latex_protection fields accept an arbitrary callable object.
added some known macro definitions for ~pylatexenc.latexwalker and ~pylatexenc.latex2text, such as \definecolor and \textcolor.
Bug fixes (including 57)
This release brings a few bugfixes (see changelog for details).
This release brings a few bugfixes (see changelog for details).
Install using pip:
pip install pylatexenc
See full documentation at http://pylatexenc.readthedocs.io/.
Bug fixes (including issues #49 , #51 , #52 , #53 , #54 )
This release brings basic support for converting matrix math environments to text (#45), as well as a bugfix (#44). (See changelog for details.)
This release brings basic support for converting matrix math environments to text (#45), as well as a bugfix (#44). (See changelog for details.)
Install using pip:
pip install pylatexenc
See full documentation at http://pylatexenc.readthedocs.io/.
latex2text module: Basic support for array and matrix environments. Matrices are represented inline, in the form [ a b; c d ] .
latexencode bugfix (issue #44 )
This release brings some minor enhancements to the parsing capabilities of latexwalker, fixing bug #43. (See changelog for details.)
This release brings some minor enhancements to the parsing capabilities of latexwalker, fixing bug #43. (See changelog for details.)
Install using pip:
pip install pylatexenc
See full documentation at http://pylatexenc.readthedocs.io/.
Bug fix: the parser now disambiguates $$ as either a display math delimiter or two inline math delimiters as in $a$$b$ (issue #43 )
This release brings some bug fixes in latex2text . (See changelog for details.)
This release brings some bug fixes in latex2text. (See changelog for details.)
Install using pip:
pip install pylatexenc
See full documentation at http://pylatexenc.readthedocs.io/.
In latex2text :
Bug fix: default behavior of the strict_latex_spaces option in the pylatexenc.latex2text.LatexNodes2Text() constructor
fix \le , \ge , \leqslant , \geqslant (issue #41 )
reorganized the default latex symbol categories
latex2text : Added support for \mathbb (e.g., ℝ, ℤ) and some friends ( \mathbf , \mathsf , etc.) using math unicode alphabets.
latex2text: Added support for \mathbb (e.g., ℝ, ℤ) and some friends (\mathbf, \mathsf, etc.) using math unicode alphabets.
Install using pip:
pip install pylatexenc
See full documentation at http://pylatexenc.readthedocs.io/.
latex2text : Add support for \mathbb{} , \mathbf{} and some friends (issue #40 )
Version 2.4 brings a few bug fixes in the latex parser. See also new features and changes in pylatexenc 2 .
Version 2.4 brings a few bug fixes in the latex parser. See also new features and changes in pylatexenc 2.
Install using pip:
pip install pylatexenc
See full documentation at http://pylatexenc.readthedocs.io/.
Bug fixes in how latex2text attempts to recover from parse errors in tolerant mode
Version 2.3 brings a few minor bug fixes in the latex to text conversion routines.
Version 2.3 brings a few minor bug fixes in the latex to text conversion routines.
Version 2 of pylatexenc brings a collection of improvements both to the latex parser and to the unicode-to-latex converter. See list of new features here: https://pylatexenc.readthedocs.io/en/latest/new-in-pylatexenc-2/
Install using pip:
pip install pylatexenc
See full documentation at http://pylatexenc.readthedocs.io/.
Version 2.2 brings a few minor bug fixes and improvements over version 2.1:
Version 2.2 brings a few minor bug fixes and improvements over version 2.1:
pylatexenc.latex2text supports more LaTeX symbolslatex2text and latexwalker command-line utilities accept a new -c option where you can directly specify LaTeX codeVersion 2 of pylatexenc brings a collection of improvements both to the latex parser and to the unicode-to-latex converter. See list of new features here: https://pylatexenc.readthedocs.io/en/latest/new-in-pylatexenc-2/
Install using pip:
pip install pylatexenc
See full documentation at http://pylatexenc.readthedocs.io/.
Version 2.1 brings a few minor bug fixes to version 2.0
Version 2.1 brings a few minor bug fixes to version 2.0
Version 2 of pylatexenc brings a collection of improvements both to the latex parser and to the unicode-to-latex converter. See list of new features here: https://pylatexenc.readthedocs.io/en/latest/new-in-pylatexenc-2/
Install using pip:
pip install pylatexenc
See full documentation at http://pylatexenc.readthedocs.io/.
Nothing published for this version
This new major version of pylatexenc brings a collection of improvements both to the latex parser and to the unicode-to-latex converter. See list of n
This new major version of pylatexenc brings a collection of improvements both to the latex parser and to the unicode-to-latex converter. See list of new features here: https://pylatexenc.readthedocs.io/en/latest/new-in-pylatexenc-2/
Install using pip:
pip install pylatexenc
See full documentation at http://pylatexenc.readthedocs.io/.
New features in pylatexenc 2
see in particular the list of changes that might affect existing code if you’re using some advanced features of pylatexenc .
see in particular the list of changes that might affect existing code if you're using some advanced features of pylatexenc.
Added support for \aleph symbol (ℵ).
Added support for \aleph symbol (ℵ).
Install as usual using pip:
pip install pylatexenc
See documentation at http://pylatexenc.readthedocs.io/.
This new release of pylatexenc fixes some bugs, provides better control over the output in latex-to-text conversion, and adds some enhancements.
This new release of pylatexenc fixes some bugs, provides better control over the output in latex-to-text conversion, and adds some enhancements.
Install with
pip install pylatexenc
Updates to pylatexenc.latexencode to support a few additional characters, and other minor enhancements.
Updates to pylatexenc.latexencode to support a few additional characters, and other minor enhancements.
Install using pip:
> pip install pylatexenc
Pylatexenc is now compatible with Python 3, thanks to contributions by @scholer. Functionality and API remains the same.
Pylatexenc is now compatible with Python 3, thanks to contributions by @scholer. Functionality and API remains the same.
Install using pip:
> pip install pylatexenc
Some small enhancements and bugfixes.
Some small enhancements and bugfixes.
Nothing published for this version
First official release of this library. Slightly improved API with respect to previous versions.
First official release of this library. Slightly improved API with respect to previous versions.
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →