texlive[65072] Master/texmf-dist: docshots (20nov22)

commits+karl at tug.org commits+karl at tug.org
Mon Nov 21 21:51:47 CET 2022


Revision: 65072
          http://tug.org/svn/texlive?view=revision&revision=65072
Author:   karl
Date:     2022-11-21 21:51:47 +0100 (Mon, 21 Nov 2022)
Log Message:
-----------
docshots (20nov22)

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	2022-11-21 20:51:01 UTC (rev 65071)
+++ trunk/Master/texmf-dist/source/latex/docshots/docshots.dtx	2022-11-21 20:51:47 UTC (rev 65072)
@@ -50,7 +50,7 @@
 %<package>\NeedsTeXFormat{LaTeX2e}
 %<package>\ProvidesPackage{docshots}
 %<*package>
-[2022-11-10 0.3.0 TeX Samples Next to Their PDF Snapshots in DTX]
+[2022-11-20 0.3.1 TeX Samples Next to Their PDF Snapshots in DTX]
 %</package>
 %<*driver>
 \documentclass{ltxdoc}
@@ -366,7 +366,7 @@
 %</verb>
 %\fi
 
-% \section{Fine-uning Options}
+% \section{Fine-tuning Options}
 
 % \DescribeMacro{\docshotOptions}
 % By default, we render the verbatim text using |\VerbatimInput| command with
@@ -556,9 +556,10 @@
 {\end{VerbatimOut}%
 %    \end{macrocode}
 % If we are in |dtx| mode, leading percent characters must be removed:
+% \changes{0.3.1}{2022/11/20}{A bug fixed, now handling of leading percentage symbols is done right.}
 %    \begin{macrocode}
   \ifdefined\docshots at dtx%
-    \iexec[null]{perl -i -0777pe "s/(\\n|^)\\x{25} /\\1/g"
+    \iexec[null]{perl -i -0777pe "s/(\\n|^)\\x{25}\\s?/\\1/g"
       \docshots at tmpdir/\jobname/verbatim.tex}%
   \fi%
 %    \end{macrocode}
@@ -675,7 +676,7 @@
 % \end{macro}
 
 % \begin{macro}{\docshotAfter}
-% Finally, we define |\docshotAfter| command:
+% Then, we define |\docshotAfter| command:
 %    \begin{macrocode}
 \makeatletter\newcommand\docshotAfter[1]{
   \iexec[\docshots at log,quiet]{/bin/echo -n '\detokenize{#1}'

Modified: trunk/Master/texmf-dist/tex/latex/docshots/docshots.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/docshots/docshots.sty	2022-11-21 20:51:01 UTC (rev 65071)
+++ trunk/Master/texmf-dist/tex/latex/docshots/docshots.sty	2022-11-21 20:51:47 UTC (rev 65072)
@@ -31,7 +31,7 @@
 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{docshots}
-[2022-11-10 0.3.0 TeX Samples Next to Their PDF Snapshots in DTX]
+[2022-11-20 0.3.1 TeX Samples Next to Their PDF Snapshots in DTX]
 
 
 
@@ -122,7 +122,7 @@
   {\docshots at tmpdir/\jobname/verbatim.tex}}
 {\end{VerbatimOut}%
   \ifdefined\docshots at dtx%
-    \iexec[null]{perl -i -0777pe "s/(\\n|^)\\x{25} /\\1/g"
+    \iexec[null]{perl -i -0777pe "s/(\\n|^)\\x{25}\\s?/\\1/g"
       \docshots at tmpdir/\jobname/verbatim.tex}%
   \fi%
   \def\hash{\docshots at mdfive{\docshots at tmpdir/\jobname/verbatim.tex}}%



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