From be54347cca905f0baabd59f0bd63a09800b942bb Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 29 Nov 2022 21:08:43 +0000 Subject: docshots (29nov22) git-svn-id: svn://tug.org/texlive/trunk@65141 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/docshots/docshots.pdf | Bin 340651 -> 340901 bytes .../texmf-dist/source/latex/docshots/docshots.dtx | 4 +++- Master/texmf-dist/tex/latex/docshots/docshots.sty | 3 ++- 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 Binary files a/Master/texmf-dist/doc/latex/docshots/docshots.pdf and b/Master/texmf-dist/doc/latex/docshots/docshots.pdf 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 @@ %\NeedsTeXFormat{LaTeX2e} %\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] % %<*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, -- cgit v1.2.3