texlive[58790] trunk: latexindent (7apr21)

commits+preining at tug.org commits+preining at tug.org
Wed Apr 7 17:10:03 CEST 2021


Revision: 58790
          http://tug.org/svn/texlive?view=revision&revision=58790
Author:   preining
Date:     2021-04-07 17:10:03 +0200 (Wed, 07 Apr 2021)
Log Message:
-----------
latexindent (7apr21)

Modified Paths:
--------------
    trunk/Build/source/texk/texlive/linked_scripts/latexindent/latexindent.pl
    trunk/Master/texmf-dist/doc/support/latexindent/README
    trunk/Master/texmf-dist/doc/support/latexindent/cmhlistings.tex
    trunk/Master/texmf-dist/doc/support/latexindent/latexindent.pdf
    trunk/Master/texmf-dist/doc/support/latexindent/sec-default-user-local.tex
    trunk/Master/texmf-dist/doc/support/latexindent/title.tex
    trunk/Master/texmf-dist/scripts/latexindent/LatexIndent/Verbatim.pm
    trunk/Master/texmf-dist/scripts/latexindent/LatexIndent/Version.pm
    trunk/Master/texmf-dist/scripts/latexindent/defaultSettings.yaml
    trunk/Master/texmf-dist/scripts/latexindent/latexindent.pl

Modified: trunk/Build/source/texk/texlive/linked_scripts/latexindent/latexindent.pl
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/support/latexindent/README
===================================================================
--- trunk/Master/texmf-dist/doc/support/latexindent/README	2021-04-07 15:07:12 UTC (rev 58789)
+++ trunk/Master/texmf-dist/doc/support/latexindent/README	2021-04-07 15:10:03 UTC (rev 58790)
@@ -1,5 +1,5 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-    latexindent.pl, version 3.9.1, 2021-03-21
+    latexindent.pl, version 3.9.2, 2021-04-06
 
     PERL script to indent code within environments, and align delimited 
     environments in .tex files.

Modified: trunk/Master/texmf-dist/doc/support/latexindent/cmhlistings.tex
===================================================================
--- trunk/Master/texmf-dist/doc/support/latexindent/cmhlistings.tex	2021-04-07 15:07:12 UTC (rev 58789)
+++ trunk/Master/texmf-dist/doc/support/latexindent/cmhlistings.tex	2021-04-07 15:10:03 UTC (rev 58790)
@@ -26,8 +26,3 @@
 #1^^J
 .. endproof:example::^^J
 }
-\newcommand{\cmhindex}[1]{
-
-:index:@#1@
-
-}

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

Modified: trunk/Master/texmf-dist/doc/support/latexindent/sec-default-user-local.tex
===================================================================
--- trunk/Master/texmf-dist/doc/support/latexindent/sec-default-user-local.tex	2021-04-07 15:07:12 UTC (rev 58789)
+++ trunk/Master/texmf-dist/doc/support/latexindent/sec-default-user-local.tex	2021-04-07 15:10:03 UTC (rev 58790)
@@ -152,6 +152,8 @@
 %(*@@*)\end{noindent}
 	\end{cmhlistings}
 
+    Important note: it is assumed that the \texttt{noindent} block statements appear on their own line.
+
 \yamltitle{removeTrailingWhitespace}*{fields}\label{yaml:removeTrailingWhitespace}
 
 	Trailing white space can be removed both \emph{before} and

Modified: trunk/Master/texmf-dist/doc/support/latexindent/title.tex
===================================================================
--- trunk/Master/texmf-dist/doc/support/latexindent/title.tex	2021-04-07 15:07:12 UTC (rev 58789)
+++ trunk/Master/texmf-dist/doc/support/latexindent/title.tex	2021-04-07 15:10:03 UTC (rev 58790)
@@ -8,7 +8,7 @@
 			sharp corners,
 			enhanced,
 			overlay={\node[anchor=north east,outer sep=2pt] at ([xshift=3cm,yshift=4mm]frame.north east) {\includegraphics[width=3cm]{logo}}; }]
-		\centering\ttfamily\bfseries latexindent.pl\\[1cm] Version 3.9.1
+		\centering\ttfamily\bfseries latexindent.pl\\[1cm] Version 3.9.2
 	\end{tcolorbox}
 }
 \author{Chris Hughes \thanks{and contributors!
@@ -15,6 +15,7 @@
 		See \vref{sec:contributors}.
 		For
 		all communication, please visit \cite{latexindent-home}.}}
+\date{2021-04-06}
 \maketitle
 \begin{adjustwidth}{1cm}{1cm}
 	\small

Modified: trunk/Master/texmf-dist/scripts/latexindent/LatexIndent/Verbatim.pm
===================================================================
--- trunk/Master/texmf-dist/scripts/latexindent/LatexIndent/Verbatim.pm	2021-04-07 15:07:12 UTC (rev 58789)
+++ trunk/Master/texmf-dist/scripts/latexindent/LatexIndent/Verbatim.pm	2021-04-07 15:10:03 UTC (rev 58790)
@@ -41,7 +41,7 @@
                             (
                                 (?!<\\)
                                 %
-                                \h*                         # possible horizontal spaces
+                                (?:\h|(?!<\\)%)*            # possible horizontal spaces
                                 \\begin\{
                                         $noIndentBlockSpec  # environment name captured into $2
                                        \}                   # % \begin{noindentblock} statement
@@ -52,7 +52,7 @@
                             (
                                 (?!<\\)
                                 %                           # %
-                                \h*                         # possible horizontal spaces
+                                (?:\h|(?!<\\)%)*            # possible horizontal spaces
                                 \\end\{$noIndentBlockSpec\} # \end{noindentblock}
                             )                               # % \end{<something>} statement
                         /sx;

Modified: trunk/Master/texmf-dist/scripts/latexindent/LatexIndent/Version.pm
===================================================================
--- trunk/Master/texmf-dist/scripts/latexindent/LatexIndent/Version.pm	2021-04-07 15:07:12 UTC (rev 58789)
+++ trunk/Master/texmf-dist/scripts/latexindent/LatexIndent/Version.pm	2021-04-07 15:10:03 UTC (rev 58790)
@@ -19,6 +19,6 @@
 use Exporter qw/import/;
 our @EXPORT_OK = qw/$versionNumber $versionDate/;
 
-our $versionNumber = '3.9.1';
-our $versionDate = '2021-03-21';
+our $versionNumber = '3.9.2';
+our $versionDate = '2021-04-06';
 1

Modified: trunk/Master/texmf-dist/scripts/latexindent/defaultSettings.yaml
===================================================================
--- trunk/Master/texmf-dist/scripts/latexindent/defaultSettings.yaml	2021-04-07 15:07:12 UTC (rev 58789)
+++ trunk/Master/texmf-dist/scripts/latexindent/defaultSettings.yaml	2021-04-07 15:10:03 UTC (rev 58790)
@@ -1,4 +1,4 @@
-# defaultSettings.yaml for latexindent.pl, version 3.9.1, 2021-03-21
+# defaultSettings.yaml for latexindent.pl, version 3.9.2, 2021-04-06
 #                      a script that aims to
 #                      beautify .tex, .sty, .cls files
 #

Modified: trunk/Master/texmf-dist/scripts/latexindent/latexindent.pl
===================================================================
(Binary files differ)



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