texlive[55047] trunk: latexindent (6may20)
commits+karl at tug.org
commits+karl at tug.org
Wed May 6 23:08:34 CEST 2020
Revision: 55047
http://tug.org/svn/texlive?view=revision&revision=55047
Author: karl
Date: 2020-05-06 23:08:34 +0200 (Wed, 06 May 2020)
Log Message:
-----------
latexindent (6may20)
Modified Paths:
--------------
trunk/Build/source/texk/texlive/linked_scripts/latexindent/latexindent.pl
trunk/Master/bin/win32/latexindent.exe
trunk/Master/texmf-dist/doc/support/latexindent/README
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/sec-how-to-use.tex
trunk/Master/texmf-dist/doc/support/latexindent/sec-the-m-switch.tex
trunk/Master/texmf-dist/doc/support/latexindent/title.tex
trunk/Master/texmf-dist/scripts/latexindent/LatexIndent/AlignmentAtAmpersand.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/bin/win32/latexindent.exe
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/support/latexindent/README
===================================================================
--- trunk/Master/texmf-dist/doc/support/latexindent/README 2020-05-06 21:07:47 UTC (rev 55046)
+++ trunk/Master/texmf-dist/doc/support/latexindent/README 2020-05-06 21:08:34 UTC (rev 55047)
@@ -1,5 +1,5 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- latexindent.pl, version 3.8, 2020-03-21
+ latexindent.pl, version 3.8.1, 2020-05-05
PERL script to indent code within environments, and align delimited
environments in .tex files.
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 2020-05-06 21:07:47 UTC (rev 55046)
+++ trunk/Master/texmf-dist/doc/support/latexindent/sec-default-user-local.tex 2020-05-06 21:08:34 UTC (rev 55047)
@@ -624,7 +624,7 @@
It is possible that delimiters specified within \texttt{delimiterRegEx} can be of
different lengths. Consider the file in \cref{lst:tabbing1}, and associated YAML in
- \cref{lst:delimiterRegEx4}. Note that the \cref{lst:delimiterRegEx4} specifies the
+ \cref{lst:delimiterRegEx4}. Note that the \cref{lst:delimiterRegEx4} specifies the
option for the delimiter to be either \lstinline!#! or \lstinline!\>!,
\emph{which are different lengths}. Upon running the command
\begin{commandshell}
Modified: trunk/Master/texmf-dist/doc/support/latexindent/sec-how-to-use.tex
===================================================================
--- trunk/Master/texmf-dist/doc/support/latexindent/sec-how-to-use.tex 2020-05-06 21:07:47 UTC (rev 55046)
+++ trunk/Master/texmf-dist/doc/support/latexindent/sec-how-to-use.tex 2020-05-06 21:08:34 UTC (rev 55047)
@@ -335,10 +335,11 @@
\announce{2018-01-13}{STDIN allowed} allow input from STDIN, which means that you can pipe output from
other commands directly into the script. For example assuming that you have content in
\texttt{myfile.tex}, then the above command will output the results of operating upon
- \texttt{myfile.tex}.
+ \texttt{myfile.tex}.
- If you wish to use this feature with your own local settings, via the \texttt{-l} switch,
- then you should finish your call to \texttt{latexindent.pl} with a \texttt{-} sign:
+ If you wish to use this feature with your own local settings, via the
+ \texttt{-l} switch, then you should finish your call to
+ \texttt{latexindent.pl} with a \texttt{-} sign:
\begin{commandshell}
cat myfile.tex | latexindent.pl -l=mysettings.yaml -
\end{commandshell}
Modified: trunk/Master/texmf-dist/doc/support/latexindent/sec-the-m-switch.tex
===================================================================
--- trunk/Master/texmf-dist/doc/support/latexindent/sec-the-m-switch.tex 2020-05-06 21:07:47 UTC (rev 55046)
+++ trunk/Master/texmf-dist/doc/support/latexindent/sec-the-m-switch.tex 2020-05-06 21:08:34 UTC (rev 55047)
@@ -954,7 +954,7 @@
\subsection{Poly-switches}\label{sec:poly-switches}
Every other field in the \texttt{modifyLineBreaks} field uses poly-switches, and can
- take one of \emph{five}%
+ take one of the following%
\announce{2017-08-21}*{blank line poly-switch} integer values:
\begin{itemize}[font=\bfseries]
\item[$-1$] \emph{remove mode}: line breaks before or after the
Modified: trunk/Master/texmf-dist/doc/support/latexindent/title.tex
===================================================================
--- trunk/Master/texmf-dist/doc/support/latexindent/title.tex 2020-05-06 21:07:47 UTC (rev 55046)
+++ trunk/Master/texmf-dist/doc/support/latexindent/title.tex 2020-05-06 21:08:34 UTC (rev 55047)
@@ -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.8
+ \centering\ttfamily\bfseries latexindent.pl\\[1cm] Version 3.8.1
\end{tcolorbox}
}
\author{Chris Hughes \thanks{and contributors!
Modified: trunk/Master/texmf-dist/scripts/latexindent/LatexIndent/AlignmentAtAmpersand.pm
===================================================================
--- trunk/Master/texmf-dist/scripts/latexindent/LatexIndent/AlignmentAtAmpersand.pm 2020-05-06 21:07:47 UTC (rev 55046)
+++ trunk/Master/texmf-dist/scripts/latexindent/LatexIndent/AlignmentAtAmpersand.pm 2020-05-06 21:08:34 UTC (rev 55047)
@@ -386,7 +386,7 @@
or
(${$_}{numberOfAmpersands} < ${$self}{maximumNumberOfAmpersands} and !${$self}{alignRowsWithoutMaxDelims} and !${$_}{endPiece})
){
- ${$_}{row} = (${$_}{unformattedRow}?${$_}{unformattedRow}:q()).(${$_}{trailingComment}?${$_}{trailingComment}:q());
+ ${$_}{row} = (${$_}{unformattedRow} ne "" ? ${$_}{unformattedRow}:q()).(${$_}{trailingComment}?${$_}{trailingComment}:q());
}
}
Modified: trunk/Master/texmf-dist/scripts/latexindent/LatexIndent/Version.pm
===================================================================
--- trunk/Master/texmf-dist/scripts/latexindent/LatexIndent/Version.pm 2020-05-06 21:07:47 UTC (rev 55046)
+++ trunk/Master/texmf-dist/scripts/latexindent/LatexIndent/Version.pm 2020-05-06 21:08:34 UTC (rev 55047)
@@ -19,6 +19,6 @@
use Exporter qw/import/;
our @EXPORT_OK = qw/$versionNumber $versionDate/;
-our $versionNumber = '3.8';
-our $versionDate = '2020-03-21';
+our $versionNumber = '3.8.1';
+our $versionDate = '2020-05-05';
1
Modified: trunk/Master/texmf-dist/scripts/latexindent/defaultSettings.yaml
===================================================================
--- trunk/Master/texmf-dist/scripts/latexindent/defaultSettings.yaml 2020-05-06 21:07:47 UTC (rev 55046)
+++ trunk/Master/texmf-dist/scripts/latexindent/defaultSettings.yaml 2020-05-06 21:08:34 UTC (rev 55047)
@@ -1,4 +1,4 @@
-# defaultSettings.yaml for latexindent.pl, version 3.8, 2020-03-21
+# defaultSettings.yaml for latexindent.pl, version 3.8.1, 2020-05-05
# 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.