texlive[73422] Master/texmf-dist: enverb (11jan25)

commits+karl at tug.org commits+karl at tug.org
Sat Jan 11 21:49:58 CET 2025


Revision: 73422
          https://tug.org/svn/texlive?view=revision&revision=73422
Author:   karl
Date:     2025-01-11 21:49:58 +0100 (Sat, 11 Jan 2025)
Log Message:
-----------
enverb (11jan25)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/enverb/README.md
    trunk/Master/texmf-dist/doc/latex/enverb/doc-examples.tex
    trunk/Master/texmf-dist/doc/latex/enverb/enverb-doc.pdf
    trunk/Master/texmf-dist/doc/latex/enverb/preamble-examples.tex
    trunk/Master/texmf-dist/source/latex/enverb/enverb.dtx
    trunk/Master/texmf-dist/tex/latex/enverb/enverb.sty

Modified: trunk/Master/texmf-dist/doc/latex/enverb/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/enverb/README.md	2025-01-11 20:49:49 UTC (rev 73421)
+++ trunk/Master/texmf-dist/doc/latex/enverb/README.md	2025-01-11 20:49:58 UTC (rev 73422)
@@ -1,7 +1,7 @@
 -------------------------------------------------------------------------------
 # `enverb` -- read an environment verbatim
 
-Version 2024-08-28 v1.0
+Version 2025-01-10 v1.1
 
 Released under the LaTeX Project Public License v1.3c or later
 See http://www.latex-project.org/lppl.txt
@@ -10,7 +10,7 @@
 
 -------------------------------------------------------------------------------
 
-Copyright (C) 2023-2024 Jonathan P. Spratte
+Copyright (C) 2023-2025 Jonathan P. Spratte
 
 This work may be distributed and/or modified under the conditions of the LaTeX
 Project Public License (LPPL), either version 1.3c of this license or (at your

Modified: trunk/Master/texmf-dist/doc/latex/enverb/doc-examples.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/enverb/doc-examples.tex	2025-01-11 20:49:49 UTC (rev 73421)
+++ trunk/Master/texmf-dist/doc/latex/enverb/doc-examples.tex	2025-01-11 20:49:58 UTC (rev 73422)
@@ -161,7 +161,7 @@
 And if we use that we can do all sorts of interesting things:
 \begingroup
   \NewEnvironmentCopy{ex2}{ex}
-  \begin{ex2}[same-line=.4]
+  \begin{ex2}[same-line=.45]
     We define a helper:
     \begin{ex}[store,no-tcb]
       \newcommand\foo{bar}
@@ -174,5 +174,10 @@
     \begin{ex}[below]
       This is a wider example.
     \end{ex}
+    An example with wide code
+    but small output:
+    \begin{ex}[same-line=.9]
+      \textcolor{red}{\bfseries.}
+    \end{ex}
   \end{ex2}
 \endgroup

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

Modified: trunk/Master/texmf-dist/doc/latex/enverb/preamble-examples.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/enverb/preamble-examples.tex	2025-01-11 20:49:49 UTC (rev 73421)
+++ trunk/Master/texmf-dist/doc/latex/enverb/preamble-examples.tex	2025-01-11 20:49:58 UTC (rev 73422)
@@ -97,10 +97,13 @@
               {%
                 \unexpanded\expandafter{\enverb at ex@options at tcb},%
                 \enverb at ex@ifsameline
-                {\unexpanded\expandafter{\enverb at ex@options at tcb@same}}%
-                {\unexpanded\expandafter{\enverb at ex@options at tcb@other}}%
+                  {\unexpanded\expandafter{\enverb at ex@options at tcb@same}}%
+                  {\unexpanded\expandafter{\enverb at ex@options at tcb@other}}%
               }}%
-              {\linewidth\enverb at ex@ifsameline{-\enverb at ex@codeshare\linewidth}{}}%
+              {%
+                \linewidth
+                \enverb at ex@ifsameline{-\enverb at ex@codeshare\linewidth}{}%
+              }%
             \enverbExecute
           \end{exbox}%
         }%

Modified: trunk/Master/texmf-dist/source/latex/enverb/enverb.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/enverb/enverb.dtx	2025-01-11 20:49:49 UTC (rev 73421)
+++ trunk/Master/texmf-dist/source/latex/enverb/enverb.dtx	2025-01-11 20:49:58 UTC (rev 73422)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% File: enverb.dtx Copyright (C) 2023-2024 Jonathan P. Spratte
+% File: enverb.dtx Copyright (C) 2023-2025 Jonathan P. Spratte
 %
 % This work  may be  distributed and/or  modified under  the conditions  of the
 % LaTeX Project Public License (LPPL),  either version 1.3c  of this license or
@@ -27,7 +27,7 @@
 See http://www.latex-project.org/lppl.txt
 --------------------------------------------------------------
 
-Copyright (C) 2023-2024 Jonathan P. Spratte
+Copyright (C) 2023-2025 Jonathan P. Spratte
 
 This  work may be  distributed and/or  modified under  the conditions  of the
 LaTeX Project Public License (LPPL),  either version 1.3c  of this license or
@@ -64,8 +64,8 @@
 % \begin{macro}[internal]{\enverb at date,\enverb at version}
 %   We store the package version and date inside macros.
 %    \begin{macrocode}
-\newcommand*\enverb at date{2024-08-28}
-\newcommand*\enverb at version{1.0}
+\newcommand*\enverb at date{2025-01-10}
+\newcommand*\enverb at version{1.1}
 %    \end{macrocode}
 % \end{macro}
 %
@@ -88,7 +88,7 @@
 % \subsection{Borrow some code}
 % \begin{macro}[internal]
 %   {\enverb at count,\enverb at ifxTF,\enverb at chargen,\enverb at othercr}
-%   We'll make use of the following two \pkg{expl3} functions, but since the
+%   We'll make use of the following \pkg{expl3} functions, but since the
 %   remainder of this package is coded in \LaTeXe\ style we stick to that.
 %    \begin{macrocode}
 \ExplSyntaxOn
@@ -672,7 +672,7 @@
     \fi
     \@firstofone
       {%
-        \ifnum\catcode`\%=14
+        \ifnum\catcode#1=14
           \enverb at chargen{#1}{12}%
           \expandafter\enverb at stop
         \fi
@@ -700,7 +700,6 @@
 % \end{macro}
 %
 % \begin{macro}{\enverbListing}
-% \begin{macro}[internal]{\enverbListing@}
 %    \begin{macrocode}
 \NewDocumentCommand \enverbListing { m m }
   {%
@@ -714,7 +713,6 @@
   }
 %    \end{macrocode}
 % \end{macro}
-% \end{macro}
 %
 % \gobbledocstriptag
 %</pkg>

Modified: trunk/Master/texmf-dist/tex/latex/enverb/enverb.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/enverb/enverb.sty	2025-01-11 20:49:49 UTC (rev 73421)
+++ trunk/Master/texmf-dist/tex/latex/enverb/enverb.sty	2025-01-11 20:49:58 UTC (rev 73422)
@@ -13,7 +13,7 @@
 %% See http://www.latex-project.org/lppl.txt
 %% --------------------------------------------------------------
 %% 
-%% Copyright (C) 2023-2024 Jonathan P. Spratte
+%% Copyright (C) 2023-2025 Jonathan P. Spratte
 %% 
 %% This  work may be  distributed and/or  modified under  the conditions  of the
 %% LaTeX Project Public License (LPPL),  either version 1.3c  of this license or
@@ -30,8 +30,8 @@
 %% and the derived files            enverb-doc.pdf
 %%                                  enverb.sty
 %% 
-\newcommand*\enverb at date{2024-08-28}
-\newcommand*\enverb at version{1.0}
+\newcommand*\enverb at date{2025-01-10}
+\newcommand*\enverb at version{1.1}
 \ProvidesPackage{enverb}
   [\enverb at date\space v\enverb at version\space read an environment verbatim]
 \providecommand\@thirdofthree[3]{#3}
@@ -346,7 +346,7 @@
     \fi
     \@firstofone
       {%
-        \ifnum\catcode`\%=14
+        \ifnum\catcode#1=14
           \enverb at chargen{#1}{12}%
           \expandafter\enverb at stop
         \fi



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