diff options
author | Karl Berry <karl@freefriends.org> | 2020-04-21 21:21:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-04-21 21:21:23 +0000 |
commit | 52b5238ab893a61a4e2c64843d074cd296836359 (patch) | |
tree | 134947d55aee4d68d2f1ef4ac63c59a08eebec82 /Master/texmf-dist/source/latex/koma-script/scrhack.dtx | |
parent | 7c0b908f1a6e1489834fbdb0789766eed8a37b49 (diff) |
koma-script (21apr20)
git-svn-id: svn://tug.org/texlive/trunk@54825 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/scrhack.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/koma-script/scrhack.dtx | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/scrhack.dtx b/Master/texmf-dist/source/latex/koma-script/scrhack.dtx index 4a8aedcecf3..5644d18a7ec 100644 --- a/Master/texmf-dist/source/latex/koma-script/scrhack.dtx +++ b/Master/texmf-dist/source/latex/koma-script/scrhack.dtx @@ -1,8 +1,8 @@ -% \CheckSum{1855} +% \CheckSum{1877} % \iffalse meta-comment % ====================================================================== % scrhack.dtx -% Copyright (c) Markus Kohm, 2008-2019 +% Copyright (c) Markus Kohm, 2008-2020 % % This file is part of the LaTeX2e KOMA-Script bundle. % @@ -23,7 +23,7 @@ % of TeX would generate the implementation documentation. % ---------------------------------------------------------------------- % scrhack.dtx -% Copyright (c) Markus Kohm, 2008-2019 +% Copyright (c) Markus Kohm, 2008-2020 % % Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz, % Version 1.3c, verteilt und/oder veraendert werden. @@ -62,7 +62,7 @@ % Right brace \} Tilde \~} % % \iffalse -%%% 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 $ %<package&identify>%%% using: package,identify %<package&option>%%% using: package,option %<package&body>%%% using: package,body @@ -71,7 +71,7 @@ \ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi \begingroup \def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}} - \filedate$Date: 2019-11-19 10:37:46 +0100 (Tue, 19 Nov 2019) $ + \filedate$Date: 2020-04-08 11:34:56 +0200 (Wed, 08 Apr 2020) $ \def\filerevision$#1: #2 ${\gdef\filerevision{r#2}} \filerevision$Revision: 1962 $ \endgroup @@ -861,6 +861,21 @@ }% }% }% +% \end{macrocode} +% \changes{v3.30}{2020/04/01}{setzen von \cs{@captype} ergänzt}%^^A +% Ab Version~3.30 wird zusätzlich \cs{lst@makecaption} um das Setzen von +% \cs{@captype} auf \texttt{lstlisting} ergänzt. Dadurch wird auch die +% Verwendung von \cs{raggedlstlistingcaption} ermöglicht, falls dieses +% definiert wird. Die Umdefinierung erfolgt in Form einer Erweiterung der +% Definition aus \textsf{listings}. Das sollte so lange funktionieren, solange +% die Anweisung in \textsf{listings} keine Argumente hat. +% \begin{macrocode} + \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}{% @@ -1016,6 +1031,7 @@ }{% % \end{macrocode} % \changes{v3.25}{2019/01/23}{emergency patch added}%^^A +% \changes{v3.30}{2020/02/25}{spurious space in warning message removed}%^^A % If this also does not work, we try an emergency patch, that could break % things. % \begin{macrocode} @@ -1031,7 +1047,7 @@ release of package `nomencl'.\MessageBreak Mostly this patch does work too, but it also could\MessageBreak break `nomencl`. If this happens, please deactivate\MessageBreak - the `nomencl` hack of `scrhack` + the `nomencl` hack of `scrhack`% }% }{% \PackageWarning{scrhack}{% |