diff options
author | Karl Berry <karl@freefriends.org> | 2021-10-17 20:49:19 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-10-17 20:49:19 +0000 |
commit | 77079b6394ae3a4db8618c08200cb6724cdd2f23 (patch) | |
tree | 47ed76aa0913e0fa8fa7f83916c27aa0044f9b0b /Master/texmf-dist | |
parent | 5d5ad318827c31a935fa5aa9fb879bd195608378 (diff) |
arara (17oct21)
git-svn-id: svn://tug.org/texlive/trunk@60789 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/man/man1/arara.1 | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/man/man1/arara.man1.pdf | bin | 20383 -> 20362 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/support/arara/README.md | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/arara/arara-manual.pdf | bin | 1976977 -> 1971118 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/support/arara/arara-quickstart.pdf | bin | 253135 -> 252983 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/support/arara/chapters/rules.tex | 10 | ||||
-rw-r--r-- | Master/texmf-dist/doc/support/arara/version.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/scripts/arara/arara.jar | bin | 11665766 -> 11665766 bytes | |||
-rw-r--r-- | Master/texmf-dist/scripts/arara/rules/arara-rule-indent.yaml | 21 | ||||
-rw-r--r-- | Master/texmf-dist/source/support/arara/arara-6.1.2-src.zip (renamed from Master/texmf-dist/source/support/arara/arara-6.1.1-src.zip) | bin | 131975 -> 131975 bytes |
10 files changed, 31 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/man/man1/arara.1 b/Master/texmf-dist/doc/man/man1/arara.1 index ac6c678ec25..f59a8416435 100644 --- a/Master/texmf-dist/doc/man/man1/arara.1 +++ b/Master/texmf-dist/doc/man/man1/arara.1 @@ -1,4 +1,4 @@ -.TH ARARA 1 "26 June 2021" "v6.1.1" +.TH ARARA 1 "17 October 2021" "v6.1.2" .SH NAME arara \- a TeX automation tool based on rules and directives. .SH SYNOPSIS diff --git a/Master/texmf-dist/doc/man/man1/arara.man1.pdf b/Master/texmf-dist/doc/man/man1/arara.man1.pdf Binary files differindex 3ae46820edd..ae8ee6a7976 100644 --- a/Master/texmf-dist/doc/man/man1/arara.man1.pdf +++ b/Master/texmf-dist/doc/man/man1/arara.man1.pdf diff --git a/Master/texmf-dist/doc/support/arara/README.md b/Master/texmf-dist/doc/support/arara/README.md index 41675e89a98..3110c15e300 100644 --- a/Master/texmf-dist/doc/support/arara/README.md +++ b/Master/texmf-dist/doc/support/arara/README.md @@ -1,6 +1,6 @@ ![arara](https://i.stack.imgur.com/hjUsN.png) -# arara v6.1.1 +# arara v6.1.2 ![Language: Kotlin](https://img.shields.io/badge/Language-Kotlin-blue.svg?style=flat-square) ![Minimum JRE: 8.0](https://img.shields.io/badge/Minimum_JRE-8-blue.svg?style=flat-square) diff --git a/Master/texmf-dist/doc/support/arara/arara-manual.pdf b/Master/texmf-dist/doc/support/arara/arara-manual.pdf Binary files differindex 650404820f0..9f762443142 100644 --- a/Master/texmf-dist/doc/support/arara/arara-manual.pdf +++ b/Master/texmf-dist/doc/support/arara/arara-manual.pdf diff --git a/Master/texmf-dist/doc/support/arara/arara-quickstart.pdf b/Master/texmf-dist/doc/support/arara/arara-quickstart.pdf Binary files differindex f6ced644cba..9fcfa85863d 100644 --- a/Master/texmf-dist/doc/support/arara/arara-quickstart.pdf +++ b/Master/texmf-dist/doc/support/arara/arara-quickstart.pdf diff --git a/Master/texmf-dist/doc/support/arara/chapters/rules.tex b/Master/texmf-dist/doc/support/arara/chapters/rules.tex index ed46c0b2daf..244ecac2b19 100644 --- a/Master/texmf-dist/doc/support/arara/chapters/rules.tex +++ b/Master/texmf-dist/doc/support/arara/chapters/rules.tex @@ -714,6 +714,16 @@ This rule runs \rbox{latexindent}, a Perl script that indents \TeX\ files accord \item[\povalue{noindent}] This value, as the name implies, will not perform indentation, and will perform replacements not respecting verbatim code blocks. \end{description} + +\item[\abox{check}] This option, as the name indicates, checks whether the text after indentation matches that given in the original file. Two possible values are available: + +\begin{description} +\item[\povalue{standard}] This value, as the name indicates, refers to the standard behaviour. Please refer to the documentation for further details. + +\item[\povalue{verbose}] This value, as the name indicates, refers to including more details to the check. The tool will print the result in the standard output, as well as in its own log file. Please refer to the documentation for further details. +\end{description} + +\item[\abox{lines}] This option instructs the tool to operate only on specific line ranges within the file being inspected. Please refer to the documentation for further details. \end{description} \begin{codebox}{Example}{teal}{\icnote}{white} diff --git a/Master/texmf-dist/doc/support/arara/version.tex b/Master/texmf-dist/doc/support/arara/version.tex index 132c6def58c..92f2ea29941 100644 --- a/Master/texmf-dist/doc/support/arara/version.tex +++ b/Master/texmf-dist/doc/support/arara/version.tex @@ -1 +1 @@ -6.1.1
\ No newline at end of file +6.1.2
\ No newline at end of file diff --git a/Master/texmf-dist/scripts/arara/arara.jar b/Master/texmf-dist/scripts/arara/arara.jar Binary files differindex 65f11464d1b..96b206f3214 100644 --- a/Master/texmf-dist/scripts/arara/arara.jar +++ b/Master/texmf-dist/scripts/arara/arara.jar diff --git a/Master/texmf-dist/scripts/arara/rules/arara-rule-indent.yaml b/Master/texmf-dist/scripts/arara/rules/arara-rule-indent.yaml index 8425d596ded..accfa3b2d77 100644 --- a/Master/texmf-dist/scripts/arara/rules/arara-rule-indent.yaml +++ b/Master/texmf-dist/scripts/arara/rules/arara-rule-indent.yaml @@ -13,9 +13,9 @@ commands: - name: The latexindent.pl script command: > @{ - return getCommand('latexindent', silent, trace, screenlog, + return getCommand('latexindent', silent, trace, screenlog, lines, settings, cruft, overwrite, output, reference.getName(), - modifylinebreaks, replacement, options, logfile); + modifylinebreaks, check, replacement, options, logfile); } arguments: - identifier: silent @@ -76,6 +76,11 @@ arguments: @{ [ '-o', parameters.output ] } +- identifier: lines + flag: > + @{ + [ '--lines', parameters.lines ] + } - identifier: where flag: > @{ @@ -96,7 +101,17 @@ arguments: throwError('You provided an invalid value for replacement.'); } } - +- identifier: check + flag: > + @{ + opts = [ 'standard' : '--check', 'verbose' : '--checkv' ]; + if (opts.keySet().contains(parameters.check)) { + return opts[parameters.check]; + } + else { + throwError('You provided an invalid value for check.'); + } + } - identifier: options flag: > @{ diff --git a/Master/texmf-dist/source/support/arara/arara-6.1.1-src.zip b/Master/texmf-dist/source/support/arara/arara-6.1.2-src.zip Binary files differindex 3f53884452e..a61760ad076 100644 --- a/Master/texmf-dist/source/support/arara/arara-6.1.1-src.zip +++ b/Master/texmf-dist/source/support/arara/arara-6.1.2-src.zip |