Releases: gpoore/minted
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.
python/v0.3.1
- Fixed a bug in config detection that caused an error when a data file from
LaTeX cannot be located.
latex/v3.3.0
-
Fixed a bug from v3.2.0 that caused errors with unrestricted shell escape
(#420). -
Improved error messages mention the possibility of MiKTeX being used with
-aux-directory
or-output-directory
without setting a
TEXMF_OUTPUT_DIRECTORY
environment variable (#419). -
Updated documentation on shell escape for TeX Live. The
latexminted
executable has been added to TeX Live's list of trusted executables, so
-shell-escape
is no longer required. -
Added support for
fancyvrb
optionsreflabel
andvspace
(#421).
python/v0.3.0
-
Added support for new keywords options (#416):
extrakeywords
,
extrakeywordsconstant
,extrakeywordsdeclaration
,
extrakeywordsnamespace
,extrakeywordspseudo
,extrakeywordsreserved
,
extrakeywordstype
. -
Refactored version handling in
cmdline.py
to avoid unnecessary imports. -
Improved
.errlog.minted
files. Improved layout and added traceback
information for the origin in the LaTeX document. Fixed a bug that could
cause.errlog.minted
files to be deleted when they should be kept.
.errlog.minted
files now contain all error data from a compile,
regardless ofhighlightmode
setting. Previously, only the data from the
last error was kept under some circumstances whenhighlightmode
was not
immediate
.
latex/v3.2.0
-
Fixed compatibility with
\includeonly
by replacing buffer length counters
with macros (#414). As part of this, the minimum supportedlatex2pydata
LaTeX package is now 0.3.0 and the minimum supportedfvextra
is now
1.9.0. -
Added new options that allow keywords to be added to a lexer (#416):
extrakeywords
,extrakeywordsconstant
,extrakeywordsdeclaration
,
extrakeywordsnamespace
,extrakeywordspseudo
,extrakeywordsreserved
,
extrakeywordstype
. This covers all keyword tokens supported by Pygments
(https://pygments.org/docs/tokens/#keyword-tokens). -
Many performance improvements. When combined with
latexrestricted
v0.6.0, these can give a cumulative speedup of over 40% in the case when no
code needs to be highlighted.-
Temp files and the cache are now only cleaned up when necessary at the
end of the document. Previously, this occurred at the end of each
compile, unnecessarily increasing compile time. -
In
latexminted.py
, switched fromplatform.system()
tosys.platform
for better performance in detecting operating system.Performance reference: python/cpython#95531.
-
In
latexminted.py
with TeX Live, the value ofTEXMFOUTPUT
is no
longer retrieved withkpsewhich
unless it is actually used. Also fixed
a bug in parsingTEXMFOUTPUT
value (whitespace is now stripped).
-
-
The
debug
package option now records shell escape commands in the log. -
In config detection, error messages now mention
.errlog.minted
file when
it exists.
latex/v3.1.2
- There is now only a single
\read
allocation for reading temporary files
whenhighlightmode
is set tofast
orfastfirst
. Previously, there
was one allocation per temp file, which could cause allocation errors when
several temp files were highlighted during the same compile (#413).
python/v0.2.0
-
All config data passed back to LaTeX is now processed with
\detokenize
(#405). -
In a cache,
*.index.minted
files are now overwritten only when the data
they contain is modified. This fixes compatibility with build tools
(T-F-S/tcolorbox/issues/294). -
Fixed a bug that could prevent a cache from being fully cleaned when it is
shared by multiple documents. -
All file reading and writing for files received from/sent to LaTeX is now
UTF-8 (#411). -
The cache path is now processed correctly when it is an empty string,
instead of resulting in an error, so theminted
package will now function
whencache=false
. -
Refactored the
cleanfile
subcommand intocleanconfig
. This is more
descriptive for actual usage and allows all subcommands to take the same
arguments. -
Added subcommand
cleantemp
, which only cleans temp files, not cache
files. -
All subcommands now take exactly the same arguments.
-
Added short summary and links to
latexminted --version
(#404).
latex/v3.1.1
- Fixed bugs in processing temporary files regardless of
highlightmode
from
v3.1.0. Withhighlightmode=fastfirst
(default), this would cause an
error during the first compile, but then all subsequent compiles would
complete correctly.
latex/v3.1.0
-
All timestamp comparisons that are part of communicating with the
latexminted
Python executable now use timestamps that have been processed
with\detokenize
(#405). -
Option processing now wraps values in curly braces to prevent escaping
issues when options are passed on to other packages for further processing
(#407). -
Fixed compatibility with
dvilualatex
(#406). -
Temporary files with common file extensions are now automatically detected
and processed correctly regardless ofhighlightmode
(#401). Previously,
highlightmode=immediate
was needed for working with temp files that are
overwritten or deleted during compilation; the default
highlightmode=fastfirst
gave an error message during the first compile
but worked correctly during subsequent compiles. -
Fixed bug when
cache=false
. When caching is disabled,highlightmode
is
now set toimmediate
. -
The minimum supported
latexminted
version is now 0.2.0. The new
latexminted
subcommandcleantemp
is now used instead ofclean
when
the cache does not require cleaning. This prevents errors when
cache=false
. -
Fixed docs for
breakbeforeinrun
andbreakafterinrun
(#408). These had
not been properly updated afterfvextra
renamed the options.
[python] latexminted v0.1.0
- Initial release.