diff options
author | Norbert Preining <norbert@preining.info> | 2022-11-30 03:01:25 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-11-30 03:01:25 +0000 |
commit | cb9bbbf5f4fdb303e5da460ebf17b50811d06a6a (patch) | |
tree | 56df1557b5fe16b5c9850a957e81ac160ddcb91b /macros/latex/contrib/docshots | |
parent | d3420ed49446361fef055ad7f989ff41ce7362b6 (diff) |
CTAN sync 202211300301
Diffstat (limited to 'macros/latex/contrib/docshots')
-rw-r--r-- | macros/latex/contrib/docshots/docshots.dtx | 4 | ||||
-rw-r--r-- | macros/latex/contrib/docshots/docshots.pdf | bin | 340651 -> 340901 bytes |
2 files changed, 3 insertions, 1 deletions
diff --git a/macros/latex/contrib/docshots/docshots.dtx b/macros/latex/contrib/docshots/docshots.dtx index 9163bc10a1..438938f870 100644 --- a/macros/latex/contrib/docshots/docshots.dtx +++ b/macros/latex/contrib/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/macros/latex/contrib/docshots/docshots.pdf b/macros/latex/contrib/docshots/docshots.pdf Binary files differindex ab77d8bf30..a9b34346b3 100644 --- a/macros/latex/contrib/docshots/docshots.pdf +++ b/macros/latex/contrib/docshots/docshots.pdf |