summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/showexpl/showexpl-test.pdfbin350869 -> 350534 bytes
-rw-r--r--Master/texmf-dist/doc/latex/showexpl/showexpl.pdfbin250715 -> 250883 bytes
-rw-r--r--Master/texmf-dist/source/latex/showexpl/showexpl.dtx22
-rw-r--r--Master/texmf-dist/tex/latex/showexpl/showexpl.sty12
4 files changed, 23 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/latex/showexpl/showexpl-test.pdf b/Master/texmf-dist/doc/latex/showexpl/showexpl-test.pdf
index 027f9bc9b6c..1ad2247286e 100644
--- a/Master/texmf-dist/doc/latex/showexpl/showexpl-test.pdf
+++ b/Master/texmf-dist/doc/latex/showexpl/showexpl-test.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/showexpl/showexpl.pdf b/Master/texmf-dist/doc/latex/showexpl/showexpl.pdf
index 9a3bfd6b57b..821d29b8544 100644
--- a/Master/texmf-dist/doc/latex/showexpl/showexpl.pdf
+++ b/Master/texmf-dist/doc/latex/showexpl/showexpl.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/showexpl/showexpl.dtx b/Master/texmf-dist/source/latex/showexpl/showexpl.dtx
index c2e2a99df23..e154a1ae902 100644
--- a/Master/texmf-dist/source/latex/showexpl/showexpl.dtx
+++ b/Master/texmf-dist/source/latex/showexpl/showexpl.dtx
@@ -22,7 +22,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{showexpl}
%<*package>
- [2020/10/08 v0.3r Typesetting example code (RN)]
+ [2021/01/06 v0.3s Typesetting example code (RN)]
%</package>
%
%<*driver>
@@ -39,7 +39,7 @@
%</driver>
% \fi
%
-% \CheckSum{889}
+% \CheckSum{902}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -318,7 +318,10 @@
% the user key ``|preset=...|''.
% \changes{v0.3e}{2006/04/05}{More redefinitions added (RN).}
% \changes{v0.3p}{2020/05/04}{Remove extra treatment of `figure'/`table' (RN).}
-% \changes{v0.3r}{2020/10/08}{letting \cmd{\refstepcounter} be \cmd{\stepcounter} (RN).}
+% \changes{v0.3r}{2020/10/08}{letting \cmd{\refstepcounter} be
+% \cmd{\stepcounter} (RN).}
+% \changes{v0.3s}{2021/01/06}{Special handling of cleveref's
+% \cmd{\refstepcounter} (RN).}
% \begin{macrocode}
\newcommand*\SX@@preset{%
\renewcommand\documentclass[2][]{\SX@eat@version}%
@@ -328,8 +331,14 @@
\let\tableofcontens\relax \let\listoffigures\relax
\let\listoftables\relax \let\printindex\relax
\let\listfiles\relax \let\nofiles\relax
- \let\index\@gobble \let\label\@gobble
- \let\refstepcounter=\stepcounter
+ \let\index\@gobble
+ \expandafter\ifx\csname ver@cleveref.sty\endcsname\relax
+ \let\refstepcounter=\stepcounter
+ \let\label\@gobble
+ \else
+ \let\cref@old@refstepcounter=\stepcounter
+ \let\cref@old@label=\@gobble
+ \fi
\let\bibliography\@gobble
\let\pagestyle\@gobble \let\thispagestyle\@gobble
%%\let\immediate\relax \let\write\@gobbletwo
@@ -720,9 +729,6 @@
% Typeset the Code.
% \begin{macrocode}
\SX@tempb{\SX@tempa{\SX@codefile}}\par
-% \end{macrocode}
-% Restore the regular numbering of floats outside of `LTXexample'.
-% \begin{macrocode}
\endgroup
\else
\expandafter\includegraphics\expandafter[\SX@graphicparam]%
diff --git a/Master/texmf-dist/tex/latex/showexpl/showexpl.sty b/Master/texmf-dist/tex/latex/showexpl/showexpl.sty
index ece526c8876..f01e9d4b4fb 100644
--- a/Master/texmf-dist/tex/latex/showexpl/showexpl.sty
+++ b/Master/texmf-dist/tex/latex/showexpl/showexpl.sty
@@ -22,7 +22,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{showexpl}
- [2020/10/08 v0.3r Typesetting example code (RN)]
+ [2021/01/06 v0.3s Typesetting example code (RN)]
\DeclareOption{final}{%
\PassOptionsToPackage{\CurrentOption}{graphicx}%
\PassOptionsToPackage{\CurrentOption}{listings}%
@@ -93,8 +93,14 @@
\let\tableofcontens\relax \let\listoffigures\relax
\let\listoftables\relax \let\printindex\relax
\let\listfiles\relax \let\nofiles\relax
- \let\index\@gobble \let\label\@gobble
- \let\refstepcounter=\stepcounter
+ \let\index\@gobble
+ \expandafter\ifx\csname ver@cleveref.sty\endcsname\relax
+ \let\refstepcounter=\stepcounter
+ \let\label\@gobble
+ \else
+ \let\cref@old@refstepcounter=\stepcounter
+ \let\cref@old@label=\@gobble
+ \fi
\let\bibliography\@gobble
\let\pagestyle\@gobble \let\thispagestyle\@gobble
%%\let\immediate\relax \let\write\@gobbletwo