From 70fe7f94e8281b0691a51754da3e2d40b1dd7732 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 7 Apr 2021 03:01:59 +0000 Subject: CTAN sync 202104070301 --- support/latexindent/LatexIndent/Verbatim.pm | 4 ++-- support/latexindent/LatexIndent/Version.pm | 4 ++-- support/latexindent/README | 2 +- support/latexindent/defaultSettings.yaml | 2 +- support/latexindent/documentation/cmhlistings.tex | 5 ----- support/latexindent/documentation/latexindent.pdf | Bin 897615 -> 898429 bytes .../documentation/sec-default-user-local.tex | 2 ++ support/latexindent/documentation/title.tex | 3 ++- support/latexindent/latexindent.pl | 2 +- 9 files changed, 11 insertions(+), 13 deletions(-) (limited to 'support/latexindent') diff --git a/support/latexindent/LatexIndent/Verbatim.pm b/support/latexindent/LatexIndent/Verbatim.pm index d115bf078f..6149ca5236 100644 --- a/support/latexindent/LatexIndent/Verbatim.pm +++ b/support/latexindent/LatexIndent/Verbatim.pm @@ -41,7 +41,7 @@ sub find_noindent_block{ ( (?!<\\) % - \h* # possible horizontal spaces + (?:\h|(?!<\\)%)* # possible horizontal spaces \\begin\{ $noIndentBlockSpec # environment name captured into $2 \} # % \begin{noindentblock} statement @@ -52,7 +52,7 @@ sub find_noindent_block{ ( (?!<\\) % # % - \h* # possible horizontal spaces + (?:\h|(?!<\\)%)* # possible horizontal spaces \\end\{$noIndentBlockSpec\} # \end{noindentblock} ) # % \end{} statement /sx; diff --git a/support/latexindent/LatexIndent/Version.pm b/support/latexindent/LatexIndent/Version.pm index 170b08f58f..3751a17adb 100644 --- a/support/latexindent/LatexIndent/Version.pm +++ b/support/latexindent/LatexIndent/Version.pm @@ -19,6 +19,6 @@ use warnings; 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 diff --git a/support/latexindent/README b/support/latexindent/README index a8b0e8e182..3d68267b28 100644 --- a/support/latexindent/README +++ b/support/latexindent/README @@ -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. diff --git a/support/latexindent/defaultSettings.yaml b/support/latexindent/defaultSettings.yaml index a794364f93..a102896111 100644 --- a/support/latexindent/defaultSettings.yaml +++ b/support/latexindent/defaultSettings.yaml @@ -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 # diff --git a/support/latexindent/documentation/cmhlistings.tex b/support/latexindent/documentation/cmhlistings.tex index 5d44a59803..1f058616d6 100644 --- a/support/latexindent/documentation/cmhlistings.tex +++ b/support/latexindent/documentation/cmhlistings.tex @@ -26,8 +26,3 @@ #1^^J .. endproof:example::^^J } -\newcommand{\cmhindex}[1]{ - -:index:@#1@ - -} diff --git a/support/latexindent/documentation/latexindent.pdf b/support/latexindent/documentation/latexindent.pdf index dcb5eb21a0..9aff38414b 100644 Binary files a/support/latexindent/documentation/latexindent.pdf and b/support/latexindent/documentation/latexindent.pdf differ diff --git a/support/latexindent/documentation/sec-default-user-local.tex b/support/latexindent/documentation/sec-default-user-local.tex index 411461e3e5..5e04637ea3 100644 --- a/support/latexindent/documentation/sec-default-user-local.tex +++ b/support/latexindent/documentation/sec-default-user-local.tex @@ -152,6 +152,8 @@ copy myfile.bak4 to myfile.bak3 %(*@@*)\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 diff --git a/support/latexindent/documentation/title.tex b/support/latexindent/documentation/title.tex index 5df477ecad..cd892f1348 100644 --- a/support/latexindent/documentation/title.tex +++ b/support/latexindent/documentation/title.tex @@ -8,13 +8,14 @@ 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! See \vref{sec:contributors}. For all communication, please visit \cite{latexindent-home}.}} +\date{2021-04-06} \maketitle \begin{adjustwidth}{1cm}{1cm} \small diff --git a/support/latexindent/latexindent.pl b/support/latexindent/latexindent.pl index 2c6dc044b8..f339ec591b 100755 --- a/support/latexindent/latexindent.pl +++ b/support/latexindent/latexindent.pl @@ -1,5 +1,5 @@ #!/usr/bin/env perl -# latexindent.pl, version 3.9.1, 2021-03-21 +# latexindent.pl, version 3.9.2, 2021-04-06 # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -- cgit v1.2.3