texlive[65141] Master/texmf-dist: docshots (29nov22)

commits+karl at tug.org commits+karl at tug.org
Tue Nov 29 22:08:43 CET 2022


Revision: 65141
          http://tug.org/svn/texlive?view=revision&revision=65141
Author:   karl
Date:     2022-11-29 22:08:43 +0100 (Tue, 29 Nov 2022)
Log Message:
-----------
docshots (29nov22)

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-29 21:08:17 UTC (rev 65140)
+++ trunk/Master/texmf-dist/source/latex/docshots/docshots.dtx	2022-11-29 21:08:43 UTC (rev 65141)
@@ -50,7 +50,7 @@
 %<package>\NeedsTeXFormat{LaTeX2e}
 %<package>\ProvidesPackage{docshots}
 %<*package>
-[2022-11-20 0.3.1 TeX Samples Next to Their PDF Snapshots in DTX]
+[2022-11-29 0.4.0 TeX Samples Next to Their PDF Snapshots in DTX]
 %</package>
 %<*driver>
 \documentclass{ltxdoc}
@@ -570,6 +570,7 @@
 % If the PDF with the required name already exists, we ignore this step.
 % Otherwise, we copy |verbatim.tex| into new file and run |pdflatex|:
 % \changes{0.1.0}{2022/10/26}{The output is saved to a hash-named file, for better uniqueness of temporary files.}
+% \changes{0.4.0}{2022/11/29}{Now, \TeX output has a log message with the number of the line in the source file, which we render.}
 %    \begin{macrocode}
   \IfFileExists{\docshots at tmpdir/\jobname/\hash.pdf}
     {\message{docshots: Won't render,
@@ -576,6 +577,7 @@
       the PDF '\docshots at tmpdir/\jobname/\hash.pdf' already exists^^J}}
     {\iexec[\docshots at log,quiet]{cp "\docshots at tmpdir/\jobname/verbatim.tex"
       "\docshots at tmpdir/\jobname/\hash.tex"}%
+    \message{docshots: rendering at line no. \the\inputlineno^^J}%
     \foreach \n in {1,...,\docshots at runs}{%
       \iexec[\docshots at log,
         stdout=\docshots at tmpdir/\jobname/\hash.stdout,

Modified: trunk/Master/texmf-dist/tex/latex/docshots/docshots.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/docshots/docshots.sty	2022-11-29 21:08:17 UTC (rev 65140)
+++ trunk/Master/texmf-dist/tex/latex/docshots/docshots.sty	2022-11-29 21:08:43 UTC (rev 65141)
@@ -31,7 +31,7 @@
 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{docshots}
-[2022-11-20 0.3.1 TeX Samples Next to Their PDF Snapshots in DTX]
+[2022-11-29 0.4.0 TeX Samples Next to Their PDF Snapshots in DTX]
 
 
 
@@ -131,6 +131,7 @@
       the PDF '\docshots at tmpdir/\jobname/\hash.pdf' already exists^^J}}
     {\iexec[\docshots at log,quiet]{cp "\docshots at tmpdir/\jobname/verbatim.tex"
       "\docshots at tmpdir/\jobname/\hash.tex"}%
+    \message{docshots: rendering at line no. \the\inputlineno^^J}%
     \foreach \n in {1,...,\docshots at runs}{%
       \iexec[\docshots at log,
         stdout=\docshots at tmpdir/\jobname/\hash.stdout,



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