diff options
author | Karl Berry <karl@freefriends.org> | 2017-05-14 22:41:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-05-14 22:41:57 +0000 |
commit | f9f66e62105513200c759be6a8e3991f5a1a964a (patch) | |
tree | fefce8d070e20fc1ad5c2bece3804361ecd4d7e4 /Master/texmf-dist/scripts/latexindent/LatexIndent | |
parent | 4ebe0923247961f1c04ef98e3880128ceb705e3c (diff) |
latexindent (14may17)
git-svn-id: svn://tug.org/texlive/trunk@44354 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/latexindent/LatexIndent')
-rw-r--r-- | Master/texmf-dist/scripts/latexindent/LatexIndent/FileContents.pm | 2 | ||||
-rw-r--r-- | Master/texmf-dist/scripts/latexindent/LatexIndent/LogFile.pm | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/scripts/latexindent/LatexIndent/FileContents.pm b/Master/texmf-dist/scripts/latexindent/LatexIndent/FileContents.pm index dc8aa53f206..a1b56391f2c 100644 --- a/Master/texmf-dist/scripts/latexindent/LatexIndent/FileContents.pm +++ b/Master/texmf-dist/scripts/latexindent/LatexIndent/FileContents.pm @@ -109,7 +109,7 @@ sub find_file_contents_environments_and_preamble{ # that the body has a preamble my $preambleRegExp = qr/ (.*?) - (\R*)? # linebreaks at end of body into $2 + (\R*\h*)? # linebreaks at end of body into $2 \\begin\{document\} /sx; my $preamble = q(); diff --git a/Master/texmf-dist/scripts/latexindent/LatexIndent/LogFile.pm b/Master/texmf-dist/scripts/latexindent/LatexIndent/LogFile.pm index 01528ed965a..309d8355bea 100644 --- a/Master/texmf-dist/scripts/latexindent/LatexIndent/LogFile.pm +++ b/Master/texmf-dist/scripts/latexindent/LatexIndent/LogFile.pm @@ -41,7 +41,7 @@ sub processSwitches{ my $self = shift; # details of the script to log file - $self->logger("$FindBin::Script version 3.0.1, a script to indent .tex files",'heading'); + $self->logger("$FindBin::Script version 3.0.2, a script to indent .tex files",'heading'); $self->logger("$FindBin::Script lives here: $FindBin::RealBin/"); # time the script is used @@ -50,7 +50,7 @@ sub processSwitches{ if(scalar(@ARGV) < 1 or $switches{showhelp}) { print <<ENDQUOTE -latexindent.pl version 3.0.1 +latexindent.pl version 3.0.2 usage: latexindent.pl [options] [file][.tex|.sty|.cls|.bib|...] -h, --help help (see the documentation for detailed instructions and examples) |