diff options
author | Karl Berry <karl@freefriends.org> | 2020-03-05 00:49:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-03-05 00:49:50 +0000 |
commit | 07ea488e2421f318a60191a7fe69692737301e7b (patch) | |
tree | 2bbb589e505d7275488a481a47cd624c4c8f37e2 /Master/texmf-dist/scripts/arara/rules/latex.yaml | |
parent | 7ddec71de13ffe715bfa197ad22ee03c165bb593 (diff) |
arara (4mar20)
git-svn-id: svn://tug.org/texlive/trunk@54089 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/arara/rules/latex.yaml')
-rw-r--r-- | Master/texmf-dist/scripts/arara/rules/latex.yaml | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/Master/texmf-dist/scripts/arara/rules/latex.yaml b/Master/texmf-dist/scripts/arara/rules/latex.yaml index f1b9add4b33..b79c051c1de 100644 --- a/Master/texmf-dist/scripts/arara/rules/latex.yaml +++ b/Master/texmf-dist/scripts/arara/rules/latex.yaml @@ -1,22 +1,32 @@ !config # Arara, the cool TeX automation tool -# Copyright (c) 2018, Paulo Roberto Massa Cereda +# Copyright (c) 2020, Island of TeX # All rights reserved. # # This rule is part of arara. identifier: latex name: LaTeX authors: -- Marco Daniel -- Paulo Cereda +- Island of TeX commands: - name: LaTeX engine command: > @{ - return getCommand('latex', interaction, draft, shell, - synctex, options, file); + return getCommand(branch, interaction, draft, shell, + synctex, options, reference); } arguments: +- identifier: branch + flag: > + @{ + engines = [ 'stable' : 'latex', 'developer' : 'latex-dev' ]; + if (engines.keySet().contains(parameters.branch)) { + return engines.get(parameters.branch); + } else { + throwError('The valid branch values are: ' + engines.keySet()); + } + } + default: 'latex' - identifier: interaction flag: > @{ |