diff options
author | Karl Berry <karl@freefriends.org> | 2020-04-23 21:06:30 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-04-23 21:06:30 +0000 |
commit | 58c52c4afff673d54710f462c9611f6274442280 (patch) | |
tree | 3103c09f5fdf60549b76a3166028be61a89fdbda /Master/texmf-dist/scripts/arara | |
parent | 79ebe279f631cd3da2dab397c98bad3b0fb8cc51 (diff) |
arara (23apr20)
git-svn-id: svn://tug.org/texlive/trunk@54853 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/arara')
-rw-r--r-- | Master/texmf-dist/scripts/arara/arara.jar | bin | 16028291 -> 16028309 bytes | |||
-rw-r--r-- | Master/texmf-dist/scripts/arara/rules/authorindex.yaml | 53 |
2 files changed, 53 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/arara/arara.jar b/Master/texmf-dist/scripts/arara/arara.jar Binary files differindex 6422203a428..8c97b0e5463 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/authorindex.yaml b/Master/texmf-dist/scripts/arara/rules/authorindex.yaml new file mode 100644 index 00000000000..a7e32141a97 --- /dev/null +++ b/Master/texmf-dist/scripts/arara/rules/authorindex.yaml @@ -0,0 +1,53 @@ +!config +# Arara, the cool TeX automation tool +# Copyright (c) 2020, Island of TeX +# All rights reserved. +# +# This rule is part of arara. +identifier: authorindex +name: AuthorIndex +authors: +- Island of TeX +commands: +- name: The AuthorIndex script + command: > + @{ + return getCommand('authorindex', draft, index, keep, print, + recurse, options, getBasename(reference.getName())); + } +arguments: +- identifier: draft + flag: > + @{ + return isTrue(parameters.draft, '-d'); + } +- identifier: index + flag: > + @{ + return isTrue(parameters.index, '-i'); + } +- identifier: keep + flag: > + @{ + return isTrue(parameters.keep, '-k'); + } +- identifier: print + flag: > + @{ + return isTrue(parameters.print, '-p'); + } +- identifier: recurse + flag: > + @{ + return isFalse(parameters.recurse, '-r'); + } +- identifier: options + flag: > + @{ + if (isList(parameters.options)) { + return parameters.options; + } + else { + throwError('I was expecting a list of options.'); + } + } |