summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-01-09 21:07:26 +0000
committerKarl Berry <karl@freefriends.org>2024-01-09 21:07:26 +0000
commit15abeb17f0a788e84e7bce14d7db45309766c98f (patch)
tree46f725fadd62f3d69c97285988d1ea6919fef860 /Master/texmf-dist
parent3a4b795a2eeca3df5712d4bb7d33437310c083dc (diff)
docshots (9jan24)
git-svn-id: svn://tug.org/texlive/trunk@69357 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/docshots/DEPENDS.txt23
-rw-r--r--Master/texmf-dist/doc/latex/docshots/LICENSE.txt2
-rw-r--r--Master/texmf-dist/doc/latex/docshots/README.md2
-rw-r--r--Master/texmf-dist/doc/latex/docshots/docshots.pdfbin340901 -> 341476 bytes
-rw-r--r--Master/texmf-dist/source/latex/docshots/docshots.dtx24
-rw-r--r--Master/texmf-dist/source/latex/docshots/docshots.ins4
-rw-r--r--Master/texmf-dist/tex/latex/docshots/docshots.sty24
7 files changed, 51 insertions, 28 deletions
diff --git a/Master/texmf-dist/doc/latex/docshots/DEPENDS.txt b/Master/texmf-dist/doc/latex/docshots/DEPENDS.txt
index 42b2d30ead9..e3b60fe89b5 100644
--- a/Master/texmf-dist/doc/latex/docshots/DEPENDS.txt
+++ b/Master/texmf-dist/doc/latex/docshots/DEPENDS.txt
@@ -1,10 +1,21 @@
-hard iexec
hard fancyvrb
-hard pdfcrop
-hard pgf
-hard pgfopts
+hard iexec
hard listings
hard minted
+hard pdfcrop
hard pdftexcmds
-hard ifluatex
-hard ifxetex
+hard pgf
+hard pgfopts
+soft biber
+soft biblatex
+soft ffcode
+soft href-ul
+soft hypdoc
+soft l3build
+soft libertine
+soft microtype
+soft newtx
+soft scheme-basic
+soft tools
+soft xetex
+soft upquote \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/docshots/LICENSE.txt b/Master/texmf-dist/doc/latex/docshots/LICENSE.txt
index bd949ffdabc..1f211e02878 100644
--- a/Master/texmf-dist/doc/latex/docshots/LICENSE.txt
+++ b/Master/texmf-dist/doc/latex/docshots/LICENSE.txt
@@ -1,6 +1,6 @@
(The MIT License)
-Copyright (c) 2021-2022 Yegor Bugayenko
+Copyright (c) 2021-2024 Yegor Bugayenko
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the 'Software'), to deal
diff --git a/Master/texmf-dist/doc/latex/docshots/README.md b/Master/texmf-dist/doc/latex/docshots/README.md
index 839ad7a513c..675a17cb3b8 100644
--- a/Master/texmf-dist/doc/latex/docshots/README.md
+++ b/Master/texmf-dist/doc/latex/docshots/README.md
@@ -28,7 +28,7 @@ For more informaiton, read \TeX{} Book by Donald Knuth.
\end{document}
```
-Otherwise, you can download [`docshots.sty`](https://raw.githubusercontent.com/yegor256/docshots/gh-pages/docshots/docshots.sty) and add to your project.
+Otherwise, you can download [`docshots.sty`](https://yegor256.github.io/docshots/docshots.sty) and add to your project.
If you want to contribute yourself, make a fork, then create a branch,
then run `l3build ctan` in the root directory.
diff --git a/Master/texmf-dist/doc/latex/docshots/docshots.pdf b/Master/texmf-dist/doc/latex/docshots/docshots.pdf
index a9b34346b38..903ad5d3ce9 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 438938f8709..393f867408d 100644
--- a/Master/texmf-dist/source/latex/docshots/docshots.dtx
+++ b/Master/texmf-dist/source/latex/docshots/docshots.dtx
@@ -1,7 +1,7 @@
% \iffalse meta-comment
% (The MIT License)
%
-% Copyright (c) 2021-2022 Yegor Bugayenko
+% Copyright (c) 2021-2024 Yegor Bugayenko
%
% Permission is hereby granted, free of charge, to any person obtaining a copy
% of this software and associated documentation files (the 'Software'), to deal
@@ -50,7 +50,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}
%<package>\ProvidesPackage{docshots}
%<*package>
-[2022-11-29 0.4.0 TeX Samples Next to Their PDF Snapshots in DTX]
+[2024-01-09 0.4.1 TeX Samples Next to Their PDF Snapshots in DTX]
%</package>
%<*driver>
\documentclass{ltxdoc}
@@ -623,16 +623,22 @@ Hello, world!
% \end{macrocode}
% We configure |fancyvrb|:
% \begin{macrocode}
- \fvset{numbers=left,numbersep=3pt}%
- \fvset{frame=leftline,framerule=.2pt,rulecolor=\color{gray}}%
- \fvset{samepage=true}%
- \fvset{baselinestretch=1}%
+ \def\docshots@xopts{
+ numbers=left,numbersep=3pt,
+ frame=leftline,framerule=.2pt,rulecolor=\color{gray},
+ samepage=true,
+ commandchars=none,
+ baselinestretch=1
+ }%
\ifdefined\docshots@small%
- \fvset{fontsize=\small}%
+ \edef\docshots@xopts{\unexpanded\expandafter{\docshots@xopts},fontsize=\small}%
\fi%
\ifdefined\docshots@tiny%
- \fvset{fontsize=\scriptsize}%
+ \edef\docshots@xopts{\unexpanded\expandafter{\docshots@xopts},fontsize=\scriptsize}%
\fi%
+ \ifdefined\docshots@opts
+ \edef\docshots@xopts{\unexpanded\expandafter{\docshots@xopts},\docshots@opts}
+ \fi
% \end{macrocode}
% Finally, we render the two-column content:
% \begin{macrocode}
@@ -654,7 +660,7 @@ Hello, world!
{\docshots@inputminted}
{\docshots@tmpdir/\jobname/\hash.tex}%
\else%
- \expandafter\VerbatimInput\expandafter[\docshots@opts]
+ \expandafter\VerbatimInput\expandafter[\docshots@xopts]
{\docshots@tmpdir/\jobname/\hash.tex}%
\fi\fi%
\vspace{0pt}%
diff --git a/Master/texmf-dist/source/latex/docshots/docshots.ins b/Master/texmf-dist/source/latex/docshots/docshots.ins
index d7ba42bfeef..aac261d2d48 100644
--- a/Master/texmf-dist/source/latex/docshots/docshots.ins
+++ b/Master/texmf-dist/source/latex/docshots/docshots.ins
@@ -1,6 +1,6 @@
%% (The MIT License)
%%
-%% Copyright (c) 2021-2022 Yegor Bugayenko
+%% Copyright (c) 2021-2024 Yegor Bugayenko
%%
%% Permission is hereby granted, free of charge, to any person obtaining a copy
%% of this software and associated documentation files (the 'Software'), to deal
@@ -26,7 +26,7 @@
\preamble
(The MIT License)
-Copyright (c) 2021-2022 Yegor Bugayenko
+Copyright (c) 2021-2024 Yegor Bugayenko
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the 'Software'), to deal
diff --git a/Master/texmf-dist/tex/latex/docshots/docshots.sty b/Master/texmf-dist/tex/latex/docshots/docshots.sty
index 6a7dcb19d4d..6097af42e76 100644
--- a/Master/texmf-dist/tex/latex/docshots/docshots.sty
+++ b/Master/texmf-dist/tex/latex/docshots/docshots.sty
@@ -7,7 +7,7 @@
%% docshots.dtx (with options: `package')
%% (The MIT License)
%%
-%% Copyright (c) 2021-2022 Yegor Bugayenko
+%% Copyright (c) 2021-2024 Yegor Bugayenko
%%
%% Permission is hereby granted, free of charge, to any person obtaining a copy
%% of this software and associated documentation files (the 'Software'), to deal
@@ -31,7 +31,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{docshots}
-[2022-11-29 0.4.0 TeX Samples Next to Their PDF Snapshots in DTX]
+[2024-01-09 0.4.1 TeX Samples Next to Their PDF Snapshots in DTX]
@@ -166,16 +166,22 @@
"\docshots@tmpdir/\jobname/\hash.pdf"
"\docshots@tmpdir/\jobname/\hash.crop.pdf"}%
\fi}%
- \fvset{numbers=left,numbersep=3pt}%
- \fvset{frame=leftline,framerule=.2pt,rulecolor=\color{gray}}%
- \fvset{samepage=true}%
- \fvset{baselinestretch=1}%
+ \def\docshots@xopts{
+ numbers=left,numbersep=3pt,
+ frame=leftline,framerule=.2pt,rulecolor=\color{gray},
+ samepage=true,
+ commandchars=none,
+ baselinestretch=1
+ }%
\ifdefined\docshots@small%
- \fvset{fontsize=\small}%
+ \edef\docshots@xopts{\unexpanded\expandafter{\docshots@xopts},fontsize=\small}%
\fi%
\ifdefined\docshots@tiny%
- \fvset{fontsize=\scriptsize}%
+ \edef\docshots@xopts{\unexpanded\expandafter{\docshots@xopts},fontsize=\scriptsize}%
\fi%
+ \ifdefined\docshots@opts
+ \edef\docshots@xopts{\unexpanded\expandafter{\docshots@xopts},\docshots@opts}
+ \fi
\begingroup%
\par%
\tikz[baseline=(a.north)]
@@ -194,7 +200,7 @@
{\docshots@inputminted}
{\docshots@tmpdir/\jobname/\hash.tex}%
\else%
- \expandafter\VerbatimInput\expandafter[\docshots@opts]
+ \expandafter\VerbatimInput\expandafter[\docshots@xopts]
{\docshots@tmpdir/\jobname/\hash.tex}%
\fi\fi%
\vspace{0pt}%