| 1 |
%% |
| 2 |
%% This is file `lwarp-minted.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% lwarp.dtx (with options: `minted') |
| 8 |
%% This is a generated file. |
| 9 |
%% Copyright 2016-2026 Brian Dunn |
| 10 |
%% |
| 11 |
%% This work may be distributed and/or modified under the |
| 12 |
%% conditions of the LaTeX Project Public License, either version 1.3 |
| 13 |
%% of this license or (at your option) any later version. |
| 14 |
%% The latest version of this license is in |
| 15 |
%% http://www.latex-project.org/lppl.txt |
| 16 |
%% and version 1.3 or later is part of all distributions of LaTeX |
| 17 |
%% version 2005/12/01 or later. |
| 18 |
\LWR@ProvidesPackagePass{minted}[2025/02/12] |
| 19 |
\newcommand*{\LWR@minted@forcekeys}{% |
| 20 |
\pgfkeys{/minted/cmd/.cd,mathescape=false}% |
| 21 |
\pgfkeys{/minted/cmd/.cd,texcomments=false}% |
| 22 |
\pgfkeys{/minted/cmd/.cd,highlightlines=false}% |
| 23 |
\pgfkeys{/minted/cmd/.cd,breaklines}% |
| 24 |
\boolfalse{LWR@HTMLsanitize@tmpb@enable}% lwarp |
| 25 |
} |
| 26 |
\VerifyCommand[lwarp][minted]{\minted@highlight@i} |
| 27 |
{B3E47D0B3B8933CCB16FAB0735F408A8} |
| 28 |
|
| 29 |
\xpretocmd{\minted@highlight@i} |
| 30 |
{\fvset{breaklines}} |
| 31 |
{} |
| 32 |
{\LWR@patcherror{minted}{minted@highlight@i}} |
| 33 |
\VerifyCommand[lwarp][minted]{\RobustMintInlineProcess@verbatim} |
| 34 |
{0786EFAEDB22E40E59ECEBB9DC532FB7} |
| 35 |
|
| 36 |
\xpatchcmd{\RobustMintInlineProcess@verbatim} |
| 37 |
{\edef\minted@lexer{#2}} |
| 38 |
{% |
| 39 |
\LWR@minted@forcekeys% lwarp |
| 40 |
\edef\minted@lexer{#2}% |
| 41 |
} |
| 42 |
{} |
| 43 |
{\LWR@patcherror{minted}{RobustMintInlineProcess@verbatim}} |
| 44 |
|
| 45 |
\VerifyCommand[lwarp][minted]{\RobustMintInlineProcess@highlight} |
| 46 |
{02CC068F5FC0031015293B2CE0425ACB} |
| 47 |
|
| 48 |
\xpatchcmd{\RobustMintInlineProcess@highlight} |
| 49 |
{\edef\minted@lexer{#2}} |
| 50 |
{% |
| 51 |
\LWR@minted@forcekeys% lwarp |
| 52 |
\edef\minted@lexer{#2}% |
| 53 |
} |
| 54 |
{} |
| 55 |
{\LWR@patcherror{minted}{RobustMintInlineProcess@highlight}} |
| 56 |
|
| 57 |
\VerifyCommand[lwarp][minted]{\RobustMintProcess@verbatim} |
| 58 |
{C1C8E870B5E8E3E8E572CA50ADF69953} |
| 59 |
|
| 60 |
\xpatchcmd{\RobustMintProcess@verbatim} |
| 61 |
{\edef\minted@lexer{#2}} |
| 62 |
{% |
| 63 |
\LWR@minted@forcekeys% lwarp |
| 64 |
\edef\minted@lexer{#2}% |
| 65 |
} |
| 66 |
{} |
| 67 |
{\LWR@patcherror{minted}{RobustMintProcess@verbatim}} |
| 68 |
|
| 69 |
\VerifyCommand[lwarp][minted]{\RobustMintProcess@highlight} |
| 70 |
{D426304D27561EE1139B30E897A7C2CA} |
| 71 |
|
| 72 |
\xpatchcmd{\RobustMintProcess@highlight} |
| 73 |
{\edef\minted@lexer{#2}} |
| 74 |
{% |
| 75 |
\LWR@minted@forcekeys% lwarp |
| 76 |
\edef\minted@lexer{#2}% |
| 77 |
} |
| 78 |
{} |
| 79 |
{\LWR@patcherror{minted}{RobustMintProcess@highlight}} |
| 80 |
|
| 81 |
\VerifyCommand[lwarp][minted]{\MintedBegin@verbatim} |
| 82 |
{B16E0A3A51DBF9F39609F2135572D7C2} |
| 83 |
|
| 84 |
\xpatchcmd{\MintedBegin@verbatim} |
| 85 |
{\edef\minted@lexer{#2}} |
| 86 |
{% |
| 87 |
\LWR@minted@forcekeys% lwarp |
| 88 |
\edef\minted@lexer{#2}% |
| 89 |
} |
| 90 |
{} |
| 91 |
{\LWR@patcherror{minted}{MintedBegin@verbatim}} |
| 92 |
|
| 93 |
\VerifyCommand[lwarp][minted]{\MintedBegin@highlight} |
| 94 |
{A8C3A60BE3C6AF3A401071A9C5FE8B39} |
| 95 |
|
| 96 |
\xpatchcmd{\MintedBegin@highlight} |
| 97 |
{\edef\minted@lexer{#2}} |
| 98 |
{% |
| 99 |
\LWR@minted@forcekeys% lwarp |
| 100 |
\edef\minted@lexer{#2}% |
| 101 |
} |
| 102 |
{} |
| 103 |
{\LWR@patcherror{minted}{MintedBegin@highlight}} |
| 104 |
|
| 105 |
\ifbool{minted@placeholder}% |
| 106 |
{\let\MintedBegin\MintedBegin@placeholder |
| 107 |
\let\MintedEnd\MintedEnd@placeholder}% |
| 108 |
{\ifbool{minted@verbatim}% |
| 109 |
{\let\MintedBegin\MintedBegin@verbatim |
| 110 |
\let\MintedEnd\MintedEnd@verbatim}% |
| 111 |
{\let\MintedBegin\MintedBegin@highlight |
| 112 |
\let\MintedEnd\MintedEnd@highlight}} |
| 113 |
|
| 114 |
\VerifyCommand[lwarp][minted]{\RobustInputMintedProcess@verbatim} |
| 115 |
{C129B2C6AD588C19065A00A64CE6AF0E} |
| 116 |
|
| 117 |
\xpatchcmd{\RobustInputMintedProcess@verbatim} |
| 118 |
{\edef\minted@lexer{#2}} |
| 119 |
{% |
| 120 |
\LWR@minted@forcekeys% lwarp |
| 121 |
\edef\minted@lexer{#2}% |
| 122 |
} |
| 123 |
{} |
| 124 |
{\LWR@patcherror{minted}{RobustInputMintedProcess@verbatim}} |
| 125 |
|
| 126 |
\VerifyCommand[lwarp][minted]{\RobustInputMintedProcess@highlight} |
| 127 |
{AD7408E3B5BEE16A5F1573BBCAE46554} |
| 128 |
|
| 129 |
\xpatchcmd{\RobustInputMintedProcess@highlight} |
| 130 |
{\edef\minted@lexer{#2}} |
| 131 |
{% |
| 132 |
\LWR@minted@forcekeys% lwarp |
| 133 |
\edef\minted@lexer{#2}% |
| 134 |
} |
| 135 |
{} |
| 136 |
{\LWR@patcherror{minted}{RobustInputMintedProcess@highlight}} |
| 137 |
|
| 138 |
\xpatchcmd{\minted@highlight@i} |
| 139 |
{\input{\minted@highlightfilepath}} |
| 140 |
{% |
| 141 |
\LWR@minted@overrides% lwarp |
| 142 |
\input{\minted@highlightfilepath}% |
| 143 |
} |
| 144 |
{} |
| 145 |
{\LWR@patcherror{minted}{minted@highlight@i}} |
| 146 |
|
| 147 |
\xpatchcmd{\minted@highlight@create} |
| 148 |
{\input{\minted@highlightfilepath}} |
| 149 |
{% |
| 150 |
\LWR@minted@overrides% lwarp |
| 151 |
\input{\minted@highlightfilepath}% |
| 152 |
} |
| 153 |
{} |
| 154 |
{\LWR@patcherror{minted}{minted@highlight@create}} |
| 155 |
|
| 156 |
\newcommand*{\LWR@minted@overrides}{ |
| 157 |
\def\PYGZam{\char`\&} |
| 158 |
\def\PYGZlt{\char`\<} |
| 159 |
\def\PYGZgt{\char`\>} |
| 160 |
\def\PYGZsq{\char`\'} |
| 161 |
} |
| 162 |
|
| 163 |
\endinput |
| 164 |
%% |
| 165 |
%% End of file `lwarp-minted.sty'. |