diff options
author | Norbert Preining <norbert@preining.info> | 2020-05-06 03:02:30 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-05-06 03:02:30 +0000 |
commit | 36d8a5cd45b5a96007208a0d5b1f52e708d0fec8 (patch) | |
tree | 88afba6aec450f4aa0ec17a34a55465435c6ed5d /support | |
parent | 12fef7aa53e3695c36d3650fa4fb98f991bc223e (diff) |
CTAN sync 202005060302
Diffstat (limited to 'support')
-rw-r--r-- | support/latexindent/LatexIndent/AlignmentAtAmpersand.pm | 2 | ||||
-rw-r--r-- | support/latexindent/LatexIndent/Version.pm | 4 | ||||
-rw-r--r-- | support/latexindent/README | 2 | ||||
-rw-r--r-- | support/latexindent/defaultSettings.yaml | 2 | ||||
-rw-r--r-- | support/latexindent/documentation/latexindent.pdf | bin | 873258 -> 873831 bytes | |||
-rw-r--r-- | support/latexindent/documentation/sec-default-user-local.tex | 2 | ||||
-rw-r--r-- | support/latexindent/documentation/sec-how-to-use.tex | 7 | ||||
-rw-r--r-- | support/latexindent/documentation/sec-the-m-switch.tex | 2 | ||||
-rw-r--r-- | support/latexindent/documentation/title.tex | 2 | ||||
-rwxr-xr-x | support/latexindent/latexindent.pl | 2 |
10 files changed, 13 insertions, 12 deletions
diff --git a/support/latexindent/LatexIndent/AlignmentAtAmpersand.pm b/support/latexindent/LatexIndent/AlignmentAtAmpersand.pm index 95f2389e80..deb2d75032 100644 --- a/support/latexindent/LatexIndent/AlignmentAtAmpersand.pm +++ b/support/latexindent/LatexIndent/AlignmentAtAmpersand.pm @@ -386,7 +386,7 @@ sub align_at_ampersand{ or (${$_}{numberOfAmpersands} < ${$self}{maximumNumberOfAmpersands} and !${$self}{alignRowsWithoutMaxDelims} and !${$_}{endPiece}) ){ - ${$_}{row} = (${$_}{unformattedRow}?${$_}{unformattedRow}:q()).(${$_}{trailingComment}?${$_}{trailingComment}:q()); + ${$_}{row} = (${$_}{unformattedRow} ne "" ? ${$_}{unformattedRow}:q()).(${$_}{trailingComment}?${$_}{trailingComment}:q()); } } diff --git a/support/latexindent/LatexIndent/Version.pm b/support/latexindent/LatexIndent/Version.pm index 8ec1dc71ba..e6be60e32e 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.8'; -our $versionDate = '2020-03-21'; +our $versionNumber = '3.8.1'; +our $versionDate = '2020-05-05'; 1 diff --git a/support/latexindent/README b/support/latexindent/README index e0b469f3b3..0c0f1c736f 100644 --- a/support/latexindent/README +++ b/support/latexindent/README @@ -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. diff --git a/support/latexindent/defaultSettings.yaml b/support/latexindent/defaultSettings.yaml index 2406809d62..1de1659b52 100644 --- a/support/latexindent/defaultSettings.yaml +++ b/support/latexindent/defaultSettings.yaml @@ -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 # diff --git a/support/latexindent/documentation/latexindent.pdf b/support/latexindent/documentation/latexindent.pdf Binary files differindex 9eaf86fe5f..b0043328b9 100644 --- a/support/latexindent/documentation/latexindent.pdf +++ b/support/latexindent/documentation/latexindent.pdf diff --git a/support/latexindent/documentation/sec-default-user-local.tex b/support/latexindent/documentation/sec-default-user-local.tex index e47115486b..80964999a7 100644 --- a/support/latexindent/documentation/sec-default-user-local.tex +++ b/support/latexindent/documentation/sec-default-user-local.tex @@ -624,7 +624,7 @@ latexindent.pl tabbing.tex -l=delimiterRegEx3.yaml 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} diff --git a/support/latexindent/documentation/sec-how-to-use.tex b/support/latexindent/documentation/sec-how-to-use.tex index 4735cb34a5..172c2ec078 100644 --- a/support/latexindent/documentation/sec-how-to-use.tex +++ b/support/latexindent/documentation/sec-how-to-use.tex @@ -335,10 +335,11 @@ cat myfile.tex | latexindent.pl - \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} diff --git a/support/latexindent/documentation/sec-the-m-switch.tex b/support/latexindent/documentation/sec-the-m-switch.tex index 7d8f72ed7c..6c4eaee57b 100644 --- a/support/latexindent/documentation/sec-the-m-switch.tex +++ b/support/latexindent/documentation/sec-the-m-switch.tex @@ -954,7 +954,7 @@ latexindent.pl -m textwrap7.tex -l=textwrap12.yaml -o=+-mod12 \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 diff --git a/support/latexindent/documentation/title.tex b/support/latexindent/documentation/title.tex index b83f0c45e5..f1e3fa6883 100644 --- a/support/latexindent/documentation/title.tex +++ b/support/latexindent/documentation/title.tex @@ -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! diff --git a/support/latexindent/latexindent.pl b/support/latexindent/latexindent.pl index cd07805cbe..ef01978c0a 100755 --- a/support/latexindent/latexindent.pl +++ b/support/latexindent/latexindent.pl @@ -1,5 +1,5 @@ #!/usr/bin/env perl -# latexindent.pl, version 3.8, 2020-03-21 +# latexindent.pl, version 3.8.1, 2020-05-05 # # 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 |