texlive[69357] Master/texmf-dist: docshots (9jan24)

commits+karl at tug.org commits+karl at tug.org
Tue Jan 9 22:07:26 CET 2024


Revision: 69357
          https://tug.org/svn/texlive?view=revision&revision=69357
Author:   karl
Date:     2024-01-09 22:07:26 +0100 (Tue, 09 Jan 2024)
Log Message:
-----------
docshots (9jan24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/docshots/DEPENDS.txt
    trunk/Master/texmf-dist/doc/latex/docshots/LICENSE.txt
    trunk/Master/texmf-dist/doc/latex/docshots/README.md
    trunk/Master/texmf-dist/doc/latex/docshots/docshots.pdf
    trunk/Master/texmf-dist/source/latex/docshots/docshots.dtx
    trunk/Master/texmf-dist/source/latex/docshots/docshots.ins
    trunk/Master/texmf-dist/tex/latex/docshots/docshots.sty

Modified: trunk/Master/texmf-dist/doc/latex/docshots/DEPENDS.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/docshots/DEPENDS.txt	2024-01-09 21:07:16 UTC (rev 69356)
+++ trunk/Master/texmf-dist/doc/latex/docshots/DEPENDS.txt	2024-01-09 21:07:26 UTC (rev 69357)
@@ -1,10 +1,21 @@
+hard fancyvrb
 hard iexec
-hard fancyvrb
+hard listings
+hard minted
 hard pdfcrop
+hard pdftexcmds
 hard pgf
 hard pgfopts
-hard listings
-hard minted
-hard pdftexcmds
-hard ifluatex
-hard ifxetex
+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

Modified: trunk/Master/texmf-dist/doc/latex/docshots/LICENSE.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/docshots/LICENSE.txt	2024-01-09 21:07:16 UTC (rev 69356)
+++ trunk/Master/texmf-dist/doc/latex/docshots/LICENSE.txt	2024-01-09 21:07:26 UTC (rev 69357)
@@ -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

Modified: trunk/Master/texmf-dist/doc/latex/docshots/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/docshots/README.md	2024-01-09 21:07:16 UTC (rev 69356)
+++ trunk/Master/texmf-dist/doc/latex/docshots/README.md	2024-01-09 21:07:26 UTC (rev 69357)
@@ -28,7 +28,7 @@
 \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.

Modified: trunk/Master/texmf-dist/doc/latex/docshots/docshots.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/docshots/docshots.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/docshots/docshots.dtx	2024-01-09 21:07:16 UTC (rev 69356)
+++ trunk/Master/texmf-dist/source/latex/docshots/docshots.dtx	2024-01-09 21:07:26 UTC (rev 69357)
@@ -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 @@
 %    \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 at xopts{
+    numbers=left,numbersep=3pt,
+    frame=leftline,framerule=.2pt,rulecolor=\color{gray},
+    samepage=true,
+    commandchars=none,
+    baselinestretch=1
+  }%
   \ifdefined\docshots at small%
-    \fvset{fontsize=\small}%
+    \edef\docshots at xopts{\unexpanded\expandafter{\docshots at xopts},fontsize=\small}%
   \fi%
   \ifdefined\docshots at tiny%
-    \fvset{fontsize=\scriptsize}%
+    \edef\docshots at xopts{\unexpanded\expandafter{\docshots at xopts},fontsize=\scriptsize}%
   \fi%
+  \ifdefined\docshots at opts
+    \edef\docshots at xopts{\unexpanded\expandafter{\docshots at xopts},\docshots at opts}
+  \fi
 %    \end{macrocode}
 % Finally, we render the two-column content:
 %    \begin{macrocode}
@@ -654,7 +660,7 @@
         {\docshots at inputminted}
         {\docshots at tmpdir/\jobname/\hash.tex}%
     \else%
-      \expandafter\VerbatimInput\expandafter[\docshots at opts]
+      \expandafter\VerbatimInput\expandafter[\docshots at xopts]
         {\docshots at tmpdir/\jobname/\hash.tex}%
     \fi\fi%
     \vspace{0pt}%

Modified: trunk/Master/texmf-dist/source/latex/docshots/docshots.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/docshots/docshots.ins	2024-01-09 21:07:16 UTC (rev 69356)
+++ trunk/Master/texmf-dist/source/latex/docshots/docshots.ins	2024-01-09 21:07:26 UTC (rev 69357)
@@ -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

Modified: trunk/Master/texmf-dist/tex/latex/docshots/docshots.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/docshots/docshots.sty	2024-01-09 21:07:16 UTC (rev 69356)
+++ trunk/Master/texmf-dist/tex/latex/docshots/docshots.sty	2024-01-09 21:07:26 UTC (rev 69357)
@@ -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 at tmpdir/\jobname/\hash.pdf"
         "\docshots at 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 at xopts{
+    numbers=left,numbersep=3pt,
+    frame=leftline,framerule=.2pt,rulecolor=\color{gray},
+    samepage=true,
+    commandchars=none,
+    baselinestretch=1
+  }%
   \ifdefined\docshots at small%
-    \fvset{fontsize=\small}%
+    \edef\docshots at xopts{\unexpanded\expandafter{\docshots at xopts},fontsize=\small}%
   \fi%
   \ifdefined\docshots at tiny%
-    \fvset{fontsize=\scriptsize}%
+    \edef\docshots at xopts{\unexpanded\expandafter{\docshots at xopts},fontsize=\scriptsize}%
   \fi%
+  \ifdefined\docshots at opts
+    \edef\docshots at xopts{\unexpanded\expandafter{\docshots at xopts},\docshots at opts}
+  \fi
   \begingroup%
   \par%
   \tikz[baseline=(a.north)]
@@ -194,7 +200,7 @@
         {\docshots at inputminted}
         {\docshots at tmpdir/\jobname/\hash.tex}%
     \else%
-      \expandafter\VerbatimInput\expandafter[\docshots at opts]
+      \expandafter\VerbatimInput\expandafter[\docshots at xopts]
         {\docshots at tmpdir/\jobname/\hash.tex}%
     \fi\fi%
     \vspace{0pt}%



More information about the tex-live-commits mailing list.