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/scripts/arara | |
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/scripts/arara')
-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 |
2 files changed, 18 insertions, 3 deletions
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: > @{ |