texlive[47420] trunk: texdef

commits+karl at tug.org commits+karl at tug.org
Tue Apr 10 00:57:19 CEST 2018


Revision: 47420
          http://tug.org/svn/texlive?view=revision&revision=47420
Author:   karl
Date:     2018-04-10 00:57:19 +0200 (Tue, 10 Apr 2018)
Log Message:
-----------
texdef

Modified Paths:
--------------
    trunk/Build/source/texk/texlive/linked_scripts/texdef/texdef.pl
    trunk/Master/texmf-dist/doc/support/texdef/CHANGELOG
    trunk/Master/texmf-dist/doc/support/texdef/README
    trunk/Master/texmf-dist/doc/support/texdef/texdef.pdf
    trunk/Master/texmf-dist/scripts/texdef/texdef.pl
    trunk/Master/texmf-dist/source/support/texdef/texdef.tex

Modified: trunk/Build/source/texk/texlive/linked_scripts/texdef/texdef.pl
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/texdef/texdef.pl	2018-04-09 22:55:14 UTC (rev 47419)
+++ trunk/Build/source/texk/texlive/linked_scripts/texdef/texdef.pl	2018-04-09 22:57:19 UTC (rev 47420)
@@ -116,13 +116,13 @@
 my $BEGINENVSTR = '%s';
 my $ENDENVSTR   = '%s';
 
-my $VERSION = 'Version 1.8 -- 2018/03/25';
+my $VERSION = 'Version 1.8a -- 2018/03/28';
 sub usage {
     my $option = shift;
     my $ret    = ($option) ? 0 : 1;
 print << 'EOT';
 texdef -- Show definitions of TeX commands
-Version 1.8 -- 2019/03/25
+Version 1.8a -- 2019/03/28
 Copyright (C) 2011-2018  Martin Scharrer <martin at scharrer-online.de>
 This program comes with ABSOLUTELY NO WARRANTY;
 This is free software, and you are welcome to redistribute it under certain conditions;
@@ -679,17 +679,17 @@
     my $rmacrodef  = qr/
         ^                                                        # Begin of line (no whitespaces!)
         (
-        (?:(?:\\global|\\long|\\protected|\\outer)\s*)*       # Prefixes (maybe with whitespace between them)
+        (?:(?:\\global|\\long|\\protected|\\outer)\s*)*          # Prefixes (maybe with whitespace between them)
         )
         \\(
               (?:[gex]?def) \s* \\                               # TeX definitions
-            | (?:new|renew|provide)command\s* \*? \s* {? \s* \\  # LaTeX definitions
-            | (?:new|renew|provide)robustcmd\s* \*? \s* {? \s* \\  # etoolbox definitions
+            | (?:new|renew|provide)command\s* \*? \s* \{? \s* \\ # LaTeX definitions
+            | (?:new|renew|provide)robustcmd\s* \*? \s* \{? \s* \\ # etoolbox definitions
             | (?:new(?:box|count|dimen|if|insert|read|skip|muskip|toks|write)) \s* \\ # TeX registers etc.
             | (?:char|count|dimen|mathchar|skip|toks)def \s* \\  # TeX chardefs etc.
-            | \@namedef{?                                        # Definition by name only
-            | Declare[a-zA-z]+ \s* \*? \s* {? \s* \\             # Declare... definitions
-            | declare[a-zA-z]+ \s* \*? \s* {? \s* \\             # declare... definitions
+            | \@namedef\{?                                       # Definition by name only
+            | Declare[a-zA-z]+ \s* \*? \s* \{? \s* \\            # Declare... definitions
+            | declare[a-zA-z]+ \s* \*? \s* \{? \s* \\            # declare... definitions
         )
         $rmacroname                                              # Macro name without backslash
         [^a-zA-Z@]
@@ -705,7 +705,7 @@
     my $renvdef = qr/
         ^                                                        # Begin of line (no whitespaces!)
         \\(
-            (?:new|renew|provide)environment\s* { \s*            # LaTeX definitions
+            (?:new|renew|provide)environment\s* \{ \s*           # LaTeX definitions
         )
         ($rmacroname)                                            # Environment names follow same rules as macro names
         \s* }                                                    # closing brace

Modified: trunk/Master/texmf-dist/doc/support/texdef/CHANGELOG
===================================================================
--- trunk/Master/texmf-dist/doc/support/texdef/CHANGELOG	2018-04-09 22:55:14 UTC (rev 47419)
+++ trunk/Master/texmf-dist/doc/support/texdef/CHANGELOG	2018-04-09 22:57:19 UTC (rev 47420)
@@ -1,5 +1,7 @@
 = Changelog =
 
+== v1.8a from 2018/03/28 ==
+ * Further fixes of braces in regexs to avoid "Unescaped left brace in regex is deprecated" warnings or errors.
 
 == v1.8 from 2018/03/25 ==
  * Added "dvitex" and "dvilatex" as formats. These will set DVI mode on "tex" or "latex".

Modified: trunk/Master/texmf-dist/doc/support/texdef/README
===================================================================
--- trunk/Master/texmf-dist/doc/support/texdef/README	2018-04-09 22:55:14 UTC (rev 47419)
+++ trunk/Master/texmf-dist/doc/support/texdef/README	2018-04-09 22:57:19 UTC (rev 47420)
@@ -1,5 +1,5 @@
 texdef -- Show definitions of TeX commands
-Version 1.8 -- 2019/03/25
+Version 1.8a -- 2019/03/28
 Copyright (C) 2011-2018  Martin Scharrer <martin at scharrer-online.de>
 This program comes with ABSOLUTELY NO WARRANTY;
 This is free software, and you are welcome to redistribute it under certain conditions;

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

Modified: trunk/Master/texmf-dist/scripts/texdef/texdef.pl
===================================================================
--- trunk/Master/texmf-dist/scripts/texdef/texdef.pl	2018-04-09 22:55:14 UTC (rev 47419)
+++ trunk/Master/texmf-dist/scripts/texdef/texdef.pl	2018-04-09 22:57:19 UTC (rev 47420)
@@ -116,13 +116,13 @@
 my $BEGINENVSTR = '%s';
 my $ENDENVSTR   = '%s';
 
-my $VERSION = 'Version 1.8 -- 2018/03/25';
+my $VERSION = 'Version 1.8a -- 2018/03/28';
 sub usage {
     my $option = shift;
     my $ret    = ($option) ? 0 : 1;
 print << 'EOT';
 texdef -- Show definitions of TeX commands
-Version 1.8 -- 2019/03/25
+Version 1.8a -- 2019/03/28
 Copyright (C) 2011-2018  Martin Scharrer <martin at scharrer-online.de>
 This program comes with ABSOLUTELY NO WARRANTY;
 This is free software, and you are welcome to redistribute it under certain conditions;
@@ -679,17 +679,17 @@
     my $rmacrodef  = qr/
         ^                                                        # Begin of line (no whitespaces!)
         (
-        (?:(?:\\global|\\long|\\protected|\\outer)\s*)*       # Prefixes (maybe with whitespace between them)
+        (?:(?:\\global|\\long|\\protected|\\outer)\s*)*          # Prefixes (maybe with whitespace between them)
         )
         \\(
               (?:[gex]?def) \s* \\                               # TeX definitions
-            | (?:new|renew|provide)command\s* \*? \s* {? \s* \\  # LaTeX definitions
-            | (?:new|renew|provide)robustcmd\s* \*? \s* {? \s* \\  # etoolbox definitions
+            | (?:new|renew|provide)command\s* \*? \s* \{? \s* \\ # LaTeX definitions
+            | (?:new|renew|provide)robustcmd\s* \*? \s* \{? \s* \\ # etoolbox definitions
             | (?:new(?:box|count|dimen|if|insert|read|skip|muskip|toks|write)) \s* \\ # TeX registers etc.
             | (?:char|count|dimen|mathchar|skip|toks)def \s* \\  # TeX chardefs etc.
-            | \@namedef{?                                        # Definition by name only
-            | Declare[a-zA-z]+ \s* \*? \s* {? \s* \\             # Declare... definitions
-            | declare[a-zA-z]+ \s* \*? \s* {? \s* \\             # declare... definitions
+            | \@namedef\{?                                       # Definition by name only
+            | Declare[a-zA-z]+ \s* \*? \s* \{? \s* \\            # Declare... definitions
+            | declare[a-zA-z]+ \s* \*? \s* \{? \s* \\            # declare... definitions
         )
         $rmacroname                                              # Macro name without backslash
         [^a-zA-Z@]
@@ -705,7 +705,7 @@
     my $renvdef = qr/
         ^                                                        # Begin of line (no whitespaces!)
         \\(
-            (?:new|renew|provide)environment\s* { \s*            # LaTeX definitions
+            (?:new|renew|provide)environment\s* \{ \s*           # LaTeX definitions
         )
         ($rmacroname)                                            # Environment names follow same rules as macro names
         \s* }                                                    # closing brace

Modified: trunk/Master/texmf-dist/source/support/texdef/texdef.tex
===================================================================
--- trunk/Master/texmf-dist/source/support/texdef/texdef.tex	2018-04-09 22:55:14 UTC (rev 47419)
+++ trunk/Master/texmf-dist/source/support/texdef/texdef.tex	2018-04-09 22:57:19 UTC (rev 47420)
@@ -5,7 +5,7 @@
 \author{Martin Scharrer}
 \email{martin at scharrer-online.de}
 \repository{https://bitbucket.org/martin_scharrer/texdef}
-\date{Version 1.8 -- 2018/03/25}
+\date{Version 1.8a -- 2018/03/28}
 
 \makeatletter
 \DeclareRobustCommand{\LATeX}{%
@@ -201,6 +201,10 @@
 
 \section{Changelog}
 
+\subsection*{v1.8a from 2018/03/28}
+\begin{itemize}
+ \item Further fixes of braces in regexs to avoid ``Unescaped left brace in regex is deprecated'' warnings or errors.
+\end{itemize}
 
 \subsection*{v1.8 from 2018/03/25}
 \begin{itemize}



More information about the tex-live-commits mailing list