diff options
author | Norbert Preining <norbert@preining.info> | 2024-02-03 03:02:06 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2024-02-03 03:02:06 +0000 |
commit | 8d5a9f6bbecb297f513b9ed16e574db1c1310228 (patch) | |
tree | 4d9e1be6863ce68eb23b545add6e000edff4817c /macros/latex/contrib/docshots | |
parent | b5a938a222c59addea5ca0a22cd53b2bbf66e1fa (diff) |
CTAN sync 202402030302
Diffstat (limited to 'macros/latex/contrib/docshots')
-rw-r--r-- | macros/latex/contrib/docshots/docshots.dtx | 14 | ||||
-rw-r--r-- | macros/latex/contrib/docshots/docshots.pdf | bin | 342450 -> 342675 bytes |
2 files changed, 10 insertions, 4 deletions
diff --git a/macros/latex/contrib/docshots/docshots.dtx b/macros/latex/contrib/docshots/docshots.dtx index 04a7402a2b..031708e286 100644 --- a/macros/latex/contrib/docshots/docshots.dtx +++ b/macros/latex/contrib/docshots/docshots.dtx @@ -50,7 +50,7 @@ %<package>\NeedsTeXFormat{LaTeX2e} %<package>\ProvidesPackage{docshots} %<*package> -[2024-01-13 0.4.2 TeX Samples Next to Their PDF Snapshots in DTX] +[2024-02-02 0.4.3 TeX Samples Next to Their PDF Snapshots in DTX] %</package> %<*driver> \documentclass{ltxdoc} @@ -660,8 +660,10 @@ Hello, world! \begin{minipage}[t]{\docshots@right}% \vspace{0pt}% \ifdefined\docshots@lstinputlisting% - \expandafter\lstinputlisting\expandafter[\docshots@opts] - {\docshots@tmpdir/\jobname/\hash.tex}% + \ifdefined\docshots@opts% + \expandafter\lstset\expandafter{\docshots@opts}% + \fi% + \lstinputlisting{\docshots@tmpdir/\jobname/\hash.tex}% \else\ifdefined\docshots@inputminted% \expandafter\inputminted\expandafter[\docshots@opts] {\docshots@inputminted} @@ -679,7 +681,7 @@ Hello, world! \fvset{fontsize=\scriptsize}% \fi% \ifdefined\docshots@opts% - \fvset{\docshots@opts}% + \expandafter\fvset\expandafter{\docshots@opts}% \fi% \VerbatimInput{\docshots@tmpdir/\jobname/\hash.tex}% \fi\fi% @@ -733,6 +735,10 @@ Hello, world! % \end{macrocode} % \end{macro} +% \begin{macrocode} +\endinput +% \end{macrocode} + % \Finale %\clearpage diff --git a/macros/latex/contrib/docshots/docshots.pdf b/macros/latex/contrib/docshots/docshots.pdf Binary files differindex e24ef6c4f5..8f92d6f13c 100644 --- a/macros/latex/contrib/docshots/docshots.pdf +++ b/macros/latex/contrib/docshots/docshots.pdf |