diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/koma-script/listings.hak')
-rw-r--r-- | Master/texmf-dist/tex/latex/koma-script/listings.hak | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/koma-script/listings.hak b/Master/texmf-dist/tex/latex/koma-script/listings.hak index 0be8a9d7e0a..a7e81f73d99 100644 --- a/Master/texmf-dist/tex/latex/koma-script/listings.hak +++ b/Master/texmf-dist/tex/latex/koma-script/listings.hak @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 3449 2020-01-24 07:28:10Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 3481 2020-04-19 09:52:23Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,16 +62,16 @@ \fi } \fi - \@CheckKOMAScriptVersion{2020/01/24 v3.29 KOMA-Script}% + \@CheckKOMAScriptVersion{2020/04/19 v3.30 KOMA-Script}% \endgroup -%%% From File: $Id: scrhack.dtx 3392 2019-11-19 09:37:46Z kohm $ +%%% From File: $Id: scrhack.dtx 3474 2020-04-08 09:34:56Z kohm $ \ProvidesFile{listings.hak}[% - 2020/01/24 v3.29 KOMA-Script + 2020/04/19 v3.30 KOMA-Script scrhack part (hacking package listings)% ] -%%% From File: $Id: scrhack.dtx 3392 2019-11-19 09:37:46Z kohm $ +%%% From File: $Id: scrhack.dtx 3474 2020-04-08 09:34:56Z kohm $ \newcommand*{\scr@do@hack@listings}{% \RequirePackage{tocbasic}% \addtotoclist[float]{lol}% @@ -99,6 +99,12 @@ }% }% }% + \expandafter\def\expandafter\lst@makecaption\expandafter{% + \expandafter\def\expandafter\@captype\expandafter{% + \expandafter l\expandafter s\expandafter t\expandafter l% + \expandafter i\expandafter s\expandafter t\expandafter i% + \expandafter n\expandafter g\expandafter}\lst@makecaption + }% \let\scr@do@hack@listings\relax } \scr@ifexpected{\lstlistoflistings}{% |