summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-11-29 21:08:43 +0000
committerKarl Berry <karl@freefriends.org>2022-11-29 21:08:43 +0000
commitbe54347cca905f0baabd59f0bd63a09800b942bb (patch)
treea885264a74a0a03528e69812dc90b24b79dab9b4
parent7dd57cf20865906cdeb390110bd8c9d61ed0016a (diff)
docshots (29nov22)
git-svn-id: svn://tug.org/texlive/trunk@65141 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/docshots/docshots.pdfbin340651 -> 340901 bytes
-rw-r--r--Master/texmf-dist/source/latex/docshots/docshots.dtx4
-rw-r--r--Master/texmf-dist/tex/latex/docshots/docshots.sty3
3 files changed, 5 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/docshots/docshots.pdf b/Master/texmf-dist/doc/latex/docshots/docshots.pdf
index ab77d8bf308..a9b34346b38 100644
--- a/Master/texmf-dist/doc/latex/docshots/docshots.pdf
+++ b/Master/texmf-dist/doc/latex/docshots/docshots.pdf
Binary files differ
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,
diff --git a/Master/texmf-dist/tex/latex/docshots/docshots.sty b/Master/texmf-dist/tex/latex/docshots/docshots.sty
index bdffb3cb705..6a7dcb19d4d 100644
--- a/Master/texmf-dist/tex/latex/docshots/docshots.sty
+++ b/Master/texmf-dist/tex/latex/docshots/docshots.sty
@@ -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@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,