diff options
author | Norbert Preining <norbert@preining.info> | 2021-01-14 03:03:23 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-01-14 03:03:23 +0000 |
commit | a607bd31ca2f248c3553f46abe08f9bc257390d8 (patch) | |
tree | 49775f22c5469811d98e13291a9c62198991a085 /macros/latex/contrib/showexpl | |
parent | 71afdd6fa05b7d22995dc2c38eb3242311d8c23a (diff) |
CTAN sync 202101140303
Diffstat (limited to 'macros/latex/contrib/showexpl')
-rw-r--r-- | macros/latex/contrib/showexpl/doc/showexpl-test.pdf | bin | 350869 -> 350534 bytes | |||
-rw-r--r-- | macros/latex/contrib/showexpl/doc/showexpl.pdf | bin | 250715 -> 250883 bytes | |||
-rw-r--r-- | macros/latex/contrib/showexpl/showexpl.dtx | 22 |
3 files changed, 14 insertions, 8 deletions
diff --git a/macros/latex/contrib/showexpl/doc/showexpl-test.pdf b/macros/latex/contrib/showexpl/doc/showexpl-test.pdf Binary files differindex 027f9bc9b6..1ad2247286 100644 --- a/macros/latex/contrib/showexpl/doc/showexpl-test.pdf +++ b/macros/latex/contrib/showexpl/doc/showexpl-test.pdf diff --git a/macros/latex/contrib/showexpl/doc/showexpl.pdf b/macros/latex/contrib/showexpl/doc/showexpl.pdf Binary files differindex 9a3bfd6b57..821d29b854 100644 --- a/macros/latex/contrib/showexpl/doc/showexpl.pdf +++ b/macros/latex/contrib/showexpl/doc/showexpl.pdf diff --git a/macros/latex/contrib/showexpl/showexpl.dtx b/macros/latex/contrib/showexpl/showexpl.dtx index c2e2a99df2..e154a1ae90 100644 --- a/macros/latex/contrib/showexpl/showexpl.dtx +++ b/macros/latex/contrib/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]% |