File: changes.rst

package info (click to toggle)
python-pylatexenc 2.10-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 9,104 kB
  • sloc: xml: 146,133; python: 10,734; makefile: 30; sh: 7
file content (111 lines) | stat: -rw-r--r-- 2,841 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
============
Changes
============


pylatexenc 2.10
===============

- Added :py:class:`pylatexenc.latexencode.PartialLatexToLatexEncoder` which can
  help to avoid double-escaping some existing LaTeX expressions in the string
  that we want to LaTeX-encode.

- The :py:class:`pylatexenc.latexencode.UnicodeToTextConversionRule` now has a
  :py:attr:`~pylatexenc.latexencode.UnicodeToTextConversionRule.replacement_text_protection`
  field which can be used to override the default `replacement_text_protection`
  set on a :py:class:`pylatexenc.latexencode.UnicodeToTextEncoder` object.  Also
  the `replacement_text_protection` fields accept an arbitrary callable object.

- added some known macro definitions for :py:mod:`~pylatexenc.latexwalker` and
  :py:mod:`~pylatexenc.latex2text`, such as ``\definecolor`` and ``\textcolor``.

- Bug fixes (including :issue:`57`)

pylatexenc 2.9
==============

- Bug fixes (including issues :issue:`49`, :issue:`51`, :pr:`52`, :pr:`53`,
  :pr:`54`)

pylatexenc 2.8
==============

- `latex2text` module: Basic support for array and matrix environments.
  Matrices are represented inline, in the form ``[ a b; c d ]``.

- `latexencode` bugfix (issue :issue:`44`)

pylatexenc 2.7
==============

- Bug fix: the parser now disambiguates ``$$`` as either a display math
  delimiter or two inline math delimiters as in ``$a$$b$`` (issue :issue:`43`)

pylatexenc 2.6
==============

- In `latex2text`:

  + Bug fix: default behavior of the `strict_latex_spaces` option in the
    :py:class:`pylatexenc.latex2text.LatexNodes2Text()` constructor

  + fix ``\le``, ``\ge``, ``\leqslant``, ``\geqslant`` (issue :issue:`41`)

  + reorganized the default latex symbol categories


pylatexenc 2.5
==============

- `latex2text`: Add support for ``\mathbb{}``, ``\mathbf{}`` and some friends
  (issue :issue:`40`)

pylatexenc 2.4
==============

- Bug fixes in how `latex2text` attempts to recover from parse errors in
  tolerant mode

pylatexenc 2.3
==============

- Minor bug fixes in `latex2text`


pylatexenc 2.2
==============

Version 2.2 brings a few minor bug fixes and improvements over version 2.1:

- `pylatexenc.latex2text` supports more LaTeX symbols

- `latex2text` and `latexwalker` command-line utilities accept a new `-c` option
  where you can directly specify LaTeX code

- minor bug fixes


pylatexenc 2.1
==============

Version 2.1 brings a few minor bug fixes to version 2.0.


pylatexenc 2.0
==============

.. toctree::
   :maxdepth: 1

   new-in-pylatexenc-2

- see in particular the :ref:`list of changes that might affect existing code
  <new-in-pylatexenc-2-api-changes>` if you're using some advanced features of
  `pylatexenc`.


pylatexenc 1.x
==============

See description of updates and changes on the `github releases page
<https://github.com/phfaist/pylatexenc/releases>`_.