Releases: gpoore/minted
python/v0.6.0
-
Added support for the Pygments
tokenmerge
filter (#446). -
.latexminted_config
config files are now loaded from
$XDG_CONFIG_HOME/latexminted
(#449), followed by the user home directory,
TEXMFHOME
, and (if enabled) the current working directory. Config files
later in the sequence override settings from config files that were loaded
earlier. If$XDG_CONFIG_HOME
is not set, it defaults to~/.config
.
latex/v3.7.0
-
Added support for the Pygments
tokenmerge
filter and enabled it by
default (#446). This was the default inminted
v2 but was lost in the
transition to v3. -
Updated minimum required
fvextra
to 2025/05/14 and added support for new
fvextra
optiontexcomments
. -
Updated minimum required
latexminted
to v0.6.0. -
Updated documentation to cover loading
.latexminted_config
config files
from$XDG_CONFIG_HOME
(#449). -
Added FAQ documentation on console/REPL lexers (#267, #388).
python/v0.5.1
- Fixed a bug from v0.5.0 in determining whether
.latexminted_config
is
readable (#443).
python/v0.5.0
-
Improved handling of
.latexminted_config
. Invalid config data no longer
causes an uncaught error, resulting in incorrect error messages on the
LaTeX side (#438). An empty config file no longer causes an uncaught error
under some circumstances. -
Improved
--help
message (#404). -
Added man page for Python executable (#403).
-
Updated dependency requirements to
latex2pydata
>= 0.5.0 and
latexrestricted
>= 0.6.2. -
When loading data, switched from
schema_missing='rawstr'
to
schema_missing='verbatim'
for full compatibility withlatex2pydata
v0.5.0.
latex/v3.6.0
-
Updated minimum required
latexminted
to v0.5.0. -
In the
latexminted.py
launcher script, replaced__version__
with
__launcher_version__
and switched to date-based versioning to prevent
confusion between the launcher script version and thelatexminted
library
version.
latex/v3.5.1
- Fixed a bug from v3.5.0 related to calculating input line numbers that
caused errors with\inputminted
(#435).
python/v0.4.0
-
rangeregex
is now compatible with Python < 3.11. -
Errors in compiling regular expressions for
rangeregex
are now always
caught and translated into LaTeX errors. -
Improved error messages when
rangeregex
, possibly combined with
rangeregexmatchnumber
, fails to find a match. -
A security error related to
.latexminted_config
is no longer always
raised when dotfiles are writable by LaTeX (openout_any=a
). An error is
now raised only when.latexminted_config
actually exists under these
circumstances.
latex/v3.5.0
-
Tab characters in inputted temp files with recognized file extensions are
no longer lost whenhighlightmode
isfastfirst
during the first
compile, or whenhighlightmode
isfast
(#431). -
For environments such as
minted
, any error messages generated within
Python and passed to LaTeX now refer to the starting line of the
environment, instead of the ending line. This improves debugging for long
environments. -
Updated minimum required
latexminted
to v0.4.0 (#425).
python/v0.3.2
pyproject.toml
: explicitly setbuild-backend
(#424).
latex/v3.4.0
-
Replaced temp counter with a macro to prevent issues with commands
and environments such as\text
fromamsmath
that modify counter
behavior (#423). -
When
highlightmode
causes all code to be highlighted at once, duplicate
highlighting is now detected and skipped.