diff options
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/bin/win32/latexindent.exe | bin | 11461685 -> 11461718 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/support/latexindent/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/latexindent/latexindent.pdf | bin | 740178 -> 739952 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/support/latexindent/title.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/scripts/latexindent/LatexIndent/Verbatim.pm | 26 | ||||
-rw-r--r-- | Master/texmf-dist/scripts/latexindent/LatexIndent/Version.pm | 4 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/latexindent/defaultSettings.yaml | 2 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/latexindent/latexindent.pl | 2 |
8 files changed, 20 insertions, 18 deletions
diff --git a/Master/bin/win32/latexindent.exe b/Master/bin/win32/latexindent.exe Binary files differindex 20818652b55..0fc48f0b20b 100755 --- a/Master/bin/win32/latexindent.exe +++ b/Master/bin/win32/latexindent.exe diff --git a/Master/texmf-dist/doc/support/latexindent/README b/Master/texmf-dist/doc/support/latexindent/README index ca5d51c1672..68818736b74 100644 --- a/Master/texmf-dist/doc/support/latexindent/README +++ b/Master/texmf-dist/doc/support/latexindent/README @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - latexindent.pl, version 3.5.1, 2018-09-15 + latexindent.pl, version 3.5.2, 2018-10-06 PERL script to indent code within environments, and align delimited environments in .tex files. diff --git a/Master/texmf-dist/doc/support/latexindent/latexindent.pdf b/Master/texmf-dist/doc/support/latexindent/latexindent.pdf Binary files differindex 4e7d556041b..5debcbf08bd 100644 --- a/Master/texmf-dist/doc/support/latexindent/latexindent.pdf +++ b/Master/texmf-dist/doc/support/latexindent/latexindent.pdf diff --git a/Master/texmf-dist/doc/support/latexindent/title.tex b/Master/texmf-dist/doc/support/latexindent/title.tex index c5bc77b483b..15ff645a534 100644 --- a/Master/texmf-dist/doc/support/latexindent/title.tex +++ b/Master/texmf-dist/doc/support/latexindent/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.5.1 + \centering\ttfamily\bfseries latexindent.pl\\[1cm] Version 3.5.2 \end{tcolorbox} } \author{Chris Hughes \thanks{and contributors! diff --git a/Master/texmf-dist/scripts/latexindent/LatexIndent/Verbatim.pm b/Master/texmf-dist/scripts/latexindent/LatexIndent/Verbatim.pm index 836e7ccd88d..f283eb0661c 100644 --- a/Master/texmf-dist/scripts/latexindent/LatexIndent/Verbatim.pm +++ b/Master/texmf-dist/scripts/latexindent/LatexIndent/Verbatim.pm @@ -36,24 +36,25 @@ sub find_noindent_block{ if($yesno){ $logger->trace("looking for $noIndentBlock:$yesno environments") if $is_t_switch_active; + (my $noIndentBlockSpec = $noIndentBlock) =~ s/\*/\\*/sg; my $noIndentRegExp = qr/ ( (?!<\\) % - \h* # possible horizontal spaces + \h* # possible horizontal spaces \\begin\{ - $noIndentBlock # environment name captured into $2 - \} # %* \begin{noindentblock} statement + $noIndentBlockSpec # environment name captured into $2 + \} # % \begin{noindentblock} statement ) ( .*? - ) # non-greedy match (body) + ) # non-greedy match (body) ( (?!<\\) - % # % - \h* # possible horizontal spaces - \\end\{$noIndentBlock\} # \end{noindentblock} - ) # %* \end{<something>} statement + % # % + \h* # possible horizontal spaces + \\end\{$noIndentBlockSpec\} # \end{noindentblock} + ) # % \end{<something>} statement /sx; while( ${$self}{body} =~ m/$noIndentRegExp/sx){ @@ -99,17 +100,18 @@ sub find_verbatim_environments{ if($yesno){ $logger->trace("looking for $verbEnv:$yesno environments") if $is_t_switch_active; + (my $verbEnvSpec = $verbEnv) =~ s/\*/\\*/sg; my $verbatimRegExp = qr/ ( \\begin\{ - $verbEnv # environment name captured into $1 - \} # \begin{<something>} statement + $verbEnvSpec # environment name captured into $1 + \} # \begin{<something>} statement ) ( .*? - ) # any character, but not \\begin + ) # any character, but not \\begin ( - \\end\{$verbEnv\}# \end{<something>} statement + \\end\{$verbEnvSpec\} # \end{<something>} statement ) /sx; diff --git a/Master/texmf-dist/scripts/latexindent/LatexIndent/Version.pm b/Master/texmf-dist/scripts/latexindent/LatexIndent/Version.pm index 41ca222bb3f..14e84d15c6d 100644 --- a/Master/texmf-dist/scripts/latexindent/LatexIndent/Version.pm +++ b/Master/texmf-dist/scripts/latexindent/LatexIndent/Version.pm @@ -19,6 +19,6 @@ use warnings; use Exporter qw/import/; our @EXPORT_OK = qw/$versionNumber $versionDate/; -our $versionNumber = '3.5.1'; -our $versionDate = '2018-09-15'; +our $versionNumber = '3.5.2'; +our $versionDate = '2018-10-06'; 1 diff --git a/Master/texmf-dist/scripts/latexindent/defaultSettings.yaml b/Master/texmf-dist/scripts/latexindent/defaultSettings.yaml index 704ae17418f..69436cd7d8a 100755 --- a/Master/texmf-dist/scripts/latexindent/defaultSettings.yaml +++ b/Master/texmf-dist/scripts/latexindent/defaultSettings.yaml @@ -1,4 +1,4 @@ -# defaultSettings.yaml for latexindent.pl, version 3.5.1, 2018-09-15 +# defaultSettings.yaml for latexindent.pl, version 3.5.2, 2018-10-06 # a script that aims to # beautify .tex, .sty, .cls files # diff --git a/Master/texmf-dist/scripts/latexindent/latexindent.pl b/Master/texmf-dist/scripts/latexindent/latexindent.pl index 60148de7ab3..6ff6ea348a6 100755 --- a/Master/texmf-dist/scripts/latexindent/latexindent.pl +++ b/Master/texmf-dist/scripts/latexindent/latexindent.pl @@ -1,5 +1,5 @@ #!/usr/bin/env perl -# latexindent.pl, version 3.5.1, 2018-09-15 +# latexindent.pl, version 3.5.2, 2018-10-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 |