summaryrefslogtreecommitdiff
path: root/support/arara/scripts/rules/lualatex.yaml
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-03-05 03:00:59 +0000
committerNorbert Preining <norbert@preining.info>2020-03-05 03:00:59 +0000
commit898048513951b471a492afa23e46112d14bcb236 (patch)
tree8596afc705f55d2d07b324a756f7283ac0e2d21b /support/arara/scripts/rules/lualatex.yaml
parent19d25b8009801aa98ea2f46b45c37c257f990491 (diff)
CTAN sync 202003050300
Diffstat (limited to 'support/arara/scripts/rules/lualatex.yaml')
-rw-r--r--support/arara/scripts/rules/lualatex.yaml20
1 files changed, 15 insertions, 5 deletions
diff --git a/support/arara/scripts/rules/lualatex.yaml b/support/arara/scripts/rules/lualatex.yaml
index 4c4628d248..d9870976d1 100644
--- a/support/arara/scripts/rules/lualatex.yaml
+++ b/support/arara/scripts/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: >
@{