texlive[69676] Master/texmf-dist: docshots (2feb24)

commits+karl at tug.org commits+karl at tug.org
Fri Feb 2 22:42:12 CET 2024


Revision: 69676
          https://tug.org/svn/texlive?view=revision&revision=69676
Author:   karl
Date:     2024-02-02 22:42:12 +0100 (Fri, 02 Feb 2024)
Log Message:
-----------
docshots (2feb24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/docshots/docshots.pdf
    trunk/Master/texmf-dist/source/latex/docshots/docshots.dtx
    trunk/Master/texmf-dist/tex/latex/docshots/docshots.sty

Modified: trunk/Master/texmf-dist/doc/latex/docshots/docshots.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/docshots/docshots.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/docshots/docshots.dtx	2024-02-02 21:41:59 UTC (rev 69675)
+++ trunk/Master/texmf-dist/source/latex/docshots/docshots.dtx	2024-02-02 21:42:12 UTC (rev 69676)
@@ -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 @@
   \begin{minipage}[t]{\docshots at right}%
     \vspace{0pt}%
     \ifdefined\docshots at lstinputlisting%
-      \expandafter\lstinputlisting\expandafter[\docshots at opts]
-        {\docshots at tmpdir/\jobname/\hash.tex}%
+      \ifdefined\docshots at opts%
+        \expandafter\lstset\expandafter{\docshots at opts}%
+      \fi%
+      \lstinputlisting{\docshots at tmpdir/\jobname/\hash.tex}%
     \else\ifdefined\docshots at inputminted%
       \expandafter\inputminted\expandafter[\docshots at opts]
         {\docshots at inputminted}
@@ -679,7 +681,7 @@
         \fvset{fontsize=\scriptsize}%
       \fi%
       \ifdefined\docshots at opts%
-        \fvset{\docshots at opts}%
+        \expandafter\fvset\expandafter{\docshots at opts}%
       \fi%
       \VerbatimInput{\docshots at tmpdir/\jobname/\hash.tex}%
     \fi\fi%
@@ -733,6 +735,10 @@
 %    \end{macrocode}
 % \end{macro}
 
+%    \begin{macrocode}
+\endinput
+%    \end{macrocode}
+
 % \Finale
 
 %\clearpage

Modified: trunk/Master/texmf-dist/tex/latex/docshots/docshots.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/docshots/docshots.sty	2024-02-02 21:41:59 UTC (rev 69675)
+++ trunk/Master/texmf-dist/tex/latex/docshots/docshots.sty	2024-02-02 21:42:12 UTC (rev 69676)
@@ -31,7 +31,7 @@
 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{docshots}
-[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]
 
 
 
@@ -185,8 +185,10 @@
   \begin{minipage}[t]{\docshots at right}%
     \vspace{0pt}%
     \ifdefined\docshots at lstinputlisting%
-      \expandafter\lstinputlisting\expandafter[\docshots at opts]
-        {\docshots at tmpdir/\jobname/\hash.tex}%
+      \ifdefined\docshots at opts%
+        \expandafter\lstset\expandafter{\docshots at opts}%
+      \fi%
+      \lstinputlisting{\docshots at tmpdir/\jobname/\hash.tex}%
     \else\ifdefined\docshots at inputminted%
       \expandafter\inputminted\expandafter[\docshots at opts]
         {\docshots at inputminted}
@@ -204,7 +206,7 @@
         \fvset{fontsize=\scriptsize}%
       \fi%
       \ifdefined\docshots at opts%
-        \fvset{\docshots at opts}%
+        \expandafter\fvset\expandafter{\docshots at opts}%
       \fi%
       \VerbatimInput{\docshots at tmpdir/\jobname/\hash.tex}%
     \fi\fi%
@@ -240,8 +242,6 @@
 }
 \makeatother
 
-
-
 \endinput
 %%
 %% End of file `docshots.sty'.



More information about the tex-live-commits mailing list.