Skip to content

Commit 9ac85a3

Browse files
committed
v2.7
1 parent ab27162 commit 9ac85a3

6 files changed

Lines changed: 43 additions & 6 deletions

File tree

CHANGES.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,43 @@
11
# Changes
22

33

4+
## v2.7 (2022/12/12)
5+
6+
7+
* Reimplemented `\mintinline` to use `fvextra`'s argument reading and
8+
processing macros, and to use `fvextra`'s `\Verb` internally.
9+
`\mintinline` now works with all line breaking options supported by
10+
`fvextra`'s `\Verb`, including `breakanywhere` (#329, #340). It now
11+
gives better results when used inside other commands, since it uses
12+
`fvextra`'s retokenization macros. It is now compatible with `hyperref`
13+
for PDF strings such as bookmarks.
14+
15+
* Reimplemented `\newmintinline` based on new `\mintinline`.
16+
17+
* Reimplemented `\mint` to use `fvextra`'s argument reading and processing
18+
macros. It now gives better results when used inside other commands,
19+
since it uses `fvextra`'s retokenization macros. Fixed a bug that caused
20+
a continued paragraph after `\mint` to be indented (#218).
21+
22+
* Reimplemented `\newmint` based on new `\mint`. Commands created with
23+
`\newmint` can now use curly braces as delimiters, just like `\mint`
24+
(#254).
25+
26+
* Settings passed to `pygmentize` as command-line options are now quoted.
27+
This prevents `escapeinside` characters from being interpreted as special
28+
shell characters (#179, #262).
29+
30+
* Fixed bug with `autogobble` that produced incorrect dedent when using
31+
`lastline` with the lines beyond `lastline` having less indentation than
32+
the selected range (#326).
33+
34+
* Fixed unintended line breaks after hyphens under LuaTeX (#263).
35+
36+
* Added warning to documentation of `\inputminted` regarding filenames
37+
and shell command execution (#338).
38+
39+
40+
441
## v2.6 (2021/12/24)
542

643
* `autogobble` automatically uses `python` or `python3` executables,

source/minted.dtx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
%<package>\NeedsTeXFormat{LaTeX2e}
3232
%<package>\ProvidesPackage{minted}
3333
%<*package>
34-
[2022/12/06 v2.7dev8 Yet another Pygments shim for LaTeX]
34+
[2022/12/12 v2.7 Yet another Pygments shim for LaTeX]
3535
%</package>
3636
%<*driver>
3737
\documentclass{ltxdoc}
@@ -229,7 +229,7 @@
229229
%
230230
%
231231
%
232-
% \begin{changelog}{v2.7}{2022/12/??}
232+
% \begin{changelog}{v2.7}{2022/12/12}
233233
% \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.
234234
% \item Reimplemented \texttt{\string\newmintinline} based on new \texttt{\string\mintinline}.
235235
% \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).

source/minted.ins

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
\askforoverwritefalse
44

55
\preamble
6-
Copyright 2013--2021 Geoffrey M. Poore
6+
Copyright 2013--2022 Geoffrey M. Poore
77
Copyright 2010--2011 Konrad Rudolph
88

99
This work may be distributed and/or modified under the

source/minted.pdf

13.4 KB
Binary file not shown.

source/minted.sty

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
%% The original source files were:
66
%%
77
%% minted.dtx (with options: `package')
8-
%% Copyright 2013--2021 Geoffrey M. Poore
8+
%% Copyright 2013--2022 Geoffrey M. Poore
99
%% Copyright 2010--2011 Konrad Rudolph
1010
%%
1111
%% This work may be distributed and/or modified under the
@@ -27,7 +27,7 @@
2727
%% and the derived file minted.sty.
2828
\NeedsTeXFormat{LaTeX2e}
2929
\ProvidesPackage{minted}
30-
[2022/12/06 v2.7dev8 Yet another Pygments shim for LaTeX]
30+
[2022/12/12 v2.7 Yet another Pygments shim for LaTeX]
3131
\RequirePackage{keyval}
3232
\RequirePackage{kvoptions}
3333
\RequirePackage{fvextra}

source/minted1.sty

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
%% The original source files were:
66
%%
77
%% minted.dtx (with options: `packageone')
8-
%% Copyright 2013--2021 Geoffrey M. Poore
8+
%% Copyright 2013--2022 Geoffrey M. Poore
99
%% Copyright 2010--2011 Konrad Rudolph
1010
%%
1111
%% This work may be distributed and/or modified under the

0 commit comments

Comments
 (0)