Skip to content

Commit 8951e42

Browse files
committed
v2.6
1 parent 1cf04c0 commit 8951e42

5 files changed

Lines changed: 37 additions & 6 deletions

File tree

CHANGES.md

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

33

4+
## v2.6 (2021/12/24)
5+
6+
* `autogobble` automatically uses `python` or `python3` executables,
7+
depending on availability, instead of requiring `python`. A custom
8+
executable can be specified by redefining `\MintedPython` (#277, #287).
9+
10+
* Fixed `autogobble` compatibility with `fancyvrb` 4.0+ (#315, #316).
11+
12+
* Pygments style names may now contain arbitrary non-whitespace characters.
13+
Previously, style names containing digits and some punctuation characters
14+
were incompatible (#210, #294, #299, #317). Pygments macros are now only
15+
defined just before use locally within `minted` commands and environments,
16+
rather than globally. Pygments macros now always use a `\PYG` prefix
17+
regardless of style, rather than a prefix of the form `\PYG<style>` (for
18+
example, what was previously `\PYGdefault` is now simply `\PYG`).
19+
20+
* Removed Python-based MD5 hashing for XeTeX, which was necessary before
21+
XeTeX added `\mdfivesum` in 2017.
22+
23+
* The default for `stripnl` is now `false`, so that original code is
24+
preserved exactly by default (#198).
25+
26+
* Added support for `fontencoding` option from `fvextra` (#208).
27+
28+
* Added note to FAQ about getting `texi2pdf` to work with `minted` given
29+
`texi2pdf`'s assumptions about temp files (#186).
30+
31+
* Reimplemented `bgcolor` option to be compatible with `color` package.
32+
33+
34+
435
## v2.5 (2017/07/19)
536

637
* The default placement for the `listing` float is now `tbp` instead of `h`,
@@ -73,7 +104,7 @@
73104
pdfTeX (#123).
74105

75106
* Thanks to `fvextra`, `obeytabs` no longer causes lines in multi-line
76-
comments or strings to vanish (\#88), and is now compatible with
107+
comments or strings to vanish (#88), and is now compatible with
77108
`breaklines` (#99). `obeytabs` will now always give correct results with
78109
tabs used for indentation. However, tab stops are not guaranteed to be
79110
correct for tabs in the midst of text.

source/minted.dtx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
%<package>\NeedsTeXFormat{LaTeX2e}
3232
%<package>\ProvidesPackage{minted}
3333
%<*package>
34-
[2021/12/24 v2.6dev Yet another Pygments shim for LaTeX]
34+
[2021/12/24 v2.6 Yet another Pygments shim for LaTeX]
3535
%</package>
3636
%<*driver>
3737
\documentclass{ltxdoc}
@@ -108,8 +108,8 @@
108108
\g@addto@macro\changestext{\end{itemize}}%
109109
}
110110
\newcommand{\PrintChangelog}{%
111-
\addcontentsline{toc}{section}{Version History}
112111
\section*{Version History}%
112+
\addcontentsline{toc}{section}{Version History}
113113
\label{sec:version-history}
114114
\begin{description}%
115115
\changestext
@@ -226,7 +226,7 @@
226226
%
227227
%
228228
%
229-
% \begin{changelog}{v2.6}{2021/12/??}
229+
% \begin{changelog}{v2.6}{2021/12/24}
230230
% \item \texttt{autogobble} automatically uses \texttt{python} or \texttt{python3} executables, depending on availability, instead of requiring \texttt{python}. A custom executable can be specified by redefining \texttt{\string\MintedPython} (\#277, \#287).
231231
% \item Fixed \texttt{autogobble} compatibility with \texttt{fancyvrb} 4.0+ (\#315, \#316).
232232
% \item Pygments style names may now contain arbitrary non-whitespace characters. Previously, style names containing digits and some punctuation characters were incompatible (\#210, \#294, \#299, \#317). Pygments macros are now only defined just before use locally within \texttt{minted} commands and environments, rather than globally. Pygments macros now always use a \texttt{\string\PYG} prefix regardless of style, rather than a prefix of the form \texttt{\string\PYG<style>} (for example, what was previously \texttt{\string\PYGdefault} is now simply \texttt{\string\PYG}).

source/minted.pdf

37.9 KB
Binary file not shown.

source/minted.sty

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
%% and the derived file minted.sty.
2828
\NeedsTeXFormat{LaTeX2e}
2929
\ProvidesPackage{minted}
30-
[2021/12/24 v2.6dev Yet another Pygments shim for LaTeX]
30+
[2021/12/24 v2.6 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--2017 Geoffrey M. Poore
8+
%% Copyright 2013--2021 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)