diff options
Diffstat (limited to 'Master/texmf-dist/scripts/arara/rules/lualatex.yaml')
-rw-r--r-- | Master/texmf-dist/scripts/arara/rules/lualatex.yaml | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/Master/texmf-dist/scripts/arara/rules/lualatex.yaml b/Master/texmf-dist/scripts/arara/rules/lualatex.yaml index 4c4628d2482..d9870976d1a 100644 --- a/Master/texmf-dist/scripts/arara/rules/lualatex.yaml +++ b/Master/texmf-dist/scripts/arara/rules/lualatex.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: lualatex name: LuaLaTeX authors: -- Marco Daniel -- Paulo Cereda +- Island of TeX commands: - name: LuaLaTeX engine command: > @{ - return getCommand('lualatex', interaction, draft, shell, - synctex, options, file); + return getCommand(branch, interaction, draft, shell, + synctex, options, reference); } arguments: +- identifier: branch + flag: > + @{ + engines = [ 'stable' : 'lualatex', 'developer' : 'lualatex-dev' ]; + if (engines.keySet().contains(parameters.branch)) { + return engines.get(parameters.branch); + } else { + throwError('The valid branch values are: ' + engines.keySet()); + } + } + default: 'lualatex' - identifier: interaction flag: > @{ |