Skip to content

Commit

Permalink
added support for fancyvrb options reflabel and vspace (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
gpoore committed Nov 11, 2024
1 parent 3ce870f commit 37209d3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
2 changes: 2 additions & 0 deletions latex/CHANGELOG_MINTED_LATEX_PACKAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
executable has been added to TeX Live's list of trusted executables, so
`-shell-escape` is no longer required.

* Added support for `fancyvrb` options `reflabel` and `vspace` (#421).



## v3.2.0 (2024/10/29)
Expand Down
14 changes: 13 additions & 1 deletion latex/minted/minted.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}
%<package>\ProvidesPackage{minted}
%<*package>
[2024/11/10 v3.3.0dev2 Yet another Pygments shim for LaTeX]
[2024/11/10 v3.3.0dev3 Yet another Pygments shim for LaTeX]
%</package>
%<*driver>
\documentclass{ltxdoc}
Expand Down Expand Up @@ -1412,6 +1412,10 @@
% If line numbers are displayed, they are based on the range of code that is selected; code that is discarded in selecting the range is not considered in calculating line numbers.
%
%
% \item[reflabel (string) (\meta{none})]
% \texpkg{fancyvrb} option for creating a label that can be used with |\pageref|.
%
%
% \item[resetmargins (boolean) (false)]
% Resets the left margin inside other environments.
% \item[rulecolor (color command) (black)]
Expand Down Expand Up @@ -1475,6 +1479,12 @@
% \item[texcl (boolean) (false)]
% Enables \LaTeX{} code inside comments.
% Usage as in package \texpkg{listings}. See the note under \texttt{escapeinside} regarding math and ligatures.
%
%
% \item[vspace (dimension) (\string\topsep)]
% \texpkg{fancyvrb} option for setting the value of the usual vertical list space.
%
%
% \item[texcomments (boolean) (false)]
% Enables \LaTeX{} code inside comments. The newer name for |texcl|. See the note under |escapeinside| regarding math and ligatures.
%
Expand Down Expand Up @@ -3178,6 +3188,7 @@
numbers,
numbersep,
obeytabs,
reflabel,
resetmargins,
rulecolor,
samepage,
Expand All @@ -3191,6 +3202,7 @@
tab,
tabcolor=black,
tabsize,
vspace,
xleftmargin,
xrightmargin,
}
Expand Down
4 changes: 3 additions & 1 deletion latex/minted/minted.sty
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{minted}
[2024/11/07 v3.3.0dev1 Yet another Pygments shim for LaTeX]
[2024/11/10 v3.3.0dev3 Yet another Pygments shim for LaTeX]
\RequirePackage{catchfile}
\RequirePackage{etoolbox}
\RequirePackage{fvextra}[2024/10/16]
Expand Down Expand Up @@ -968,6 +968,7 @@
numbers,
numbersep,
obeytabs,
reflabel,
resetmargins,
rulecolor,
samepage,
Expand All @@ -981,6 +982,7 @@
tab,
tabcolor=black,
tabsize,
vspace,
xleftmargin,
xrightmargin,
}
Expand Down

0 comments on commit 37209d3

Please sign in to comment.