This commit is contained in:
Geoffrey Poore 2022-12-12 08:44:19 -06:00
parent ab271622ba
commit 9ac85a3a1a
6 changed files with 43 additions and 6 deletions

View File

@ -1,6 +1,43 @@
# Changes
## v2.7 (2022/12/12)
* Reimplemented `\mintinline` to use `fvextra`'s argument reading and
processing macros, and to use `fvextra`'s `\Verb` internally.
`\mintinline` now works with all line breaking options supported by
`fvextra`'s `\Verb`, including `breakanywhere` (#329, #340). It now
gives better results when used inside other commands, since it uses
`fvextra`'s retokenization macros. It is now compatible with `hyperref`
for PDF strings such as bookmarks.
* Reimplemented `\newmintinline` based on new `\mintinline`.
* Reimplemented `\mint` to use `fvextra`'s argument reading and processing
macros. It now gives better results when used inside other commands,
since it uses `fvextra`'s retokenization macros. Fixed a bug that caused
a continued paragraph after `\mint` to be indented (#218).
* Reimplemented `\newmint` based on new `\mint`. Commands created with
`\newmint` can now use curly braces as delimiters, just like `\mint`
(#254).
* Settings passed to `pygmentize` as command-line options are now quoted.
This prevents `escapeinside` characters from being interpreted as special
shell characters (#179, #262).
* Fixed bug with `autogobble` that produced incorrect dedent when using
`lastline` with the lines beyond `lastline` having less indentation than
the selected range (#326).
* Fixed unintended line breaks after hyphens under LuaTeX (#263).
* Added warning to documentation of `\inputminted` regarding filenames
and shell command execution (#338).
## v2.6 (2021/12/24)
* `autogobble` automatically uses `python` or `python3` executables,

View File

@ -31,7 +31,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}
%<package>\ProvidesPackage{minted}
%<*package>
[2022/12/06 v2.7dev8 Yet another Pygments shim for LaTeX]
[2022/12/12 v2.7 Yet another Pygments shim for LaTeX]
%</package>
%<*driver>
\documentclass{ltxdoc}
@ -229,7 +229,7 @@
%
%
%
% \begin{changelog}{v2.7}{2022/12/??}
% \begin{changelog}{v2.7}{2022/12/12}
% \item Reimplemented \texttt{\string\mintinline} to use \texttt{fvextra}'s argument reading and processing macros, and to use \texttt{fvextra}'s \texttt{\string\Verb} internally. \texttt{\string\mintinline} now works with all line breaking options supported by \texttt{fvextra}'s \texttt{\string\Verb}, including \texttt{breakanywhere} (\#329, \#340). It now gives better results when used inside other commands, since it uses \texttt{fvextra}'s retokenization macros. It is now compatible with \texttt{hyperref} for PDF strings such as bookmarks.
% \item Reimplemented \texttt{\string\newmintinline} based on new \texttt{\string\mintinline}.
% \item Reimplemented \texttt{\string\mint} to use \texttt{fvextra}'s argument reading and processing macros. It now gives better results when used inside other commands, since it uses \texttt{fvextra}'s retokenization macros. Fixed a bug that caused a continued paragraph after \texttt{\string\mint} to be indented (\#218).

View File

@ -3,7 +3,7 @@
\askforoverwritefalse
\preamble
Copyright 2013--2021 Geoffrey M. Poore
Copyright 2013--2022 Geoffrey M. Poore
Copyright 2010--2011 Konrad Rudolph
This work may be distributed and/or modified under the

Binary file not shown.

View File

@ -5,7 +5,7 @@
%% The original source files were:
%%
%% minted.dtx (with options: `package')
%% Copyright 2013--2021 Geoffrey M. Poore
%% Copyright 2013--2022 Geoffrey M. Poore
%% Copyright 2010--2011 Konrad Rudolph
%%
%% This work may be distributed and/or modified under the
@ -27,7 +27,7 @@
%% and the derived file minted.sty.
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{minted}
[2022/12/06 v2.7dev8 Yet another Pygments shim for LaTeX]
[2022/12/12 v2.7 Yet another Pygments shim for LaTeX]
\RequirePackage{keyval}
\RequirePackage{kvoptions}
\RequirePackage{fvextra}

View File

@ -5,7 +5,7 @@
%% The original source files were:
%%
%% minted.dtx (with options: `packageone')
%% Copyright 2013--2021 Geoffrey M. Poore
%% Copyright 2013--2022 Geoffrey M. Poore
%% Copyright 2010--2011 Konrad Rudolph
%%
%% This work may be distributed and/or modified under the