Skip to content

Commit 1be6a41

Browse files
committed
v2.4.1
1 parent b683913 commit 1be6a41

3 files changed

Lines changed: 20 additions & 7 deletions

File tree

CHANGES.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,26 @@
11
# Changes
22

33

4+
## v2.4.1 (2016/10/31)
5+
6+
* Single quotation marks in `\jobname` are now replaced with underscores in
7+
`\minted@jobname` to prevent quoting errors (#137).
8+
9+
* The `autogobble` option now takes `firstline` and `lastline` into account
10+
(#130).
11+
12+
* Fixed `numberblanklines`, which had been lost in the transition to v2.0+
13+
(#135).
14+
15+
16+
417
## v2.4 (2016/07/20)
518

619
* Line breaking and all associated options are now completely delegated to
720
`fvextra`.
821

922
* Fixed a bug from v2.2 that could cause the first command or environment to
10-
vanish when `caching=false` (related to work on `\MintedPygmentize`).
23+
vanish when `cache=false` (related to work on `\MintedPygmentize`).
1124

1225

1326

source/minted.dtx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
%<package>\NeedsTeXFormat{LaTeX2e}
3232
%<package>\ProvidesPackage{minted}
3333
%<*package>
34-
[2016/10/29 v2.4.1dev Yet another Pygments shim for LaTeX]
34+
[2016/10/31 v2.4.1 Yet another Pygments shim for LaTeX]
3535
%</package>
3636
%<*driver>
3737
\documentclass{ltxdoc}
@@ -216,10 +216,10 @@
216216
%
217217
%
218218
%
219-
% \begin{changelog}{v2.4.1}{2016/10/??}
219+
% \begin{changelog}{v2.4.1}{2016/10/31}
220220
% \item Single quotation marks in \texttt{\string\jobname} are now replaced with underscores in \texttt{\string\minted@jobname} to prevent quoting errors (\#137).
221221
% \item The \texttt{autogobble} option now takes \texttt{firstline} and \texttt{lastline} into account (\#130).
222-
% \item Fixed \texttt{numberblanklines}, which had been lost in the transition to 2.0+ (\#135).
222+
% \item Fixed \texttt{numberblanklines}, which had been lost in the transition to v2.0+ (\#135).
223223
% \end{changelog}
224224
%
225225
%
@@ -1594,7 +1594,7 @@
15941594
\StrSubstitute{\jobname}{ }{_}[\minted@jobname]
15951595
\StrSubstitute{\minted@jobname}{*}{_}[\minted@jobname]
15961596
\StrSubstitute{\minted@jobname}{"}{}[\minted@jobname]
1597-
\StrSubstitute{\minted@jobname}{'}{__}[\minted@jobname]
1597+
\StrSubstitute{\minted@jobname}{'}{_}[\minted@jobname]
15981598
% \end{macrocode}
15991599
% \end{macro}
16001600
%

source/minted.sty

Lines changed: 2 additions & 2 deletions
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-
[2016/10/29 v2.4.1dev Yet another Pygments shim for LaTeX]
30+
[2016/10/31 v2.4.1 Yet another Pygments shim for LaTeX]
3131
\RequirePackage{keyval}
3232
\RequirePackage{kvoptions}
3333
\RequirePackage{fvextra}
@@ -57,7 +57,7 @@
5757
\StrSubstitute{\jobname}{ }{_}[\minted@jobname]
5858
\StrSubstitute{\minted@jobname}{*}{_}[\minted@jobname]
5959
\StrSubstitute{\minted@jobname}{"}{}[\minted@jobname]
60-
\StrSubstitute{\minted@jobname}{'}{__}[\minted@jobname]
60+
\StrSubstitute{\minted@jobname}{'}{_}[\minted@jobname]
6161
\newcommand{\minted@cachedir}{\detokenize{_}minted-\minted@jobname}
6262
\let\minted@cachedir@windows\minted@cachedir
6363
\define@key{minted}{cachedir}{%

0 commit comments

Comments
 (0)