summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/docshots/docshots.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/docshots/docshots.dtx')
-rw-r--r--Master/texmf-dist/source/latex/docshots/docshots.dtx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/latex/docshots/docshots.dtx b/Master/texmf-dist/source/latex/docshots/docshots.dtx
index 9163bc10a1f..438938f8709 100644
--- a/Master/texmf-dist/source/latex/docshots/docshots.dtx
+++ b/Master/texmf-dist/source/latex/docshots/docshots.dtx
@@ -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,12 +570,14 @@ Hello, world!
% 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@tmpdir/\jobname/\hash.pdf}
{\message{docshots: Won't render,
the PDF '\docshots@tmpdir/\jobname/\hash.pdf' already exists^^J}}
{\iexec[\docshots@log,quiet]{cp "\docshots@tmpdir/\jobname/verbatim.tex"
"\docshots@tmpdir/\jobname/\hash.tex"}%
+ \message{docshots: rendering at line no. \the\inputlineno^^J}%
\foreach \n in {1,...,\docshots@runs}{%
\iexec[\docshots@log,
stdout=\docshots@tmpdir/\jobname/\hash.stdout,