summaryrefslogtreecommitdiff
path: root/support/arara/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'support/arara/scripts')
-rwxr-xr-x[-rw-r--r--]support/arara/scripts/arara.sh0
-rw-r--r--support/arara/scripts/rules/arara-rule-xelatex.yaml3
-rw-r--r--support/arara/scripts/rules/arara-rule-xetex.yaml13
3 files changed, 14 insertions, 2 deletions
diff --git a/support/arara/scripts/arara.sh b/support/arara/scripts/arara.sh
index 1582f531e7..1582f531e7 100644..100755
--- a/support/arara/scripts/arara.sh
+++ b/support/arara/scripts/arara.sh
diff --git a/support/arara/scripts/rules/arara-rule-xelatex.yaml b/support/arara/scripts/rules/arara-rule-xelatex.yaml
index 03ab0d0af0..12d1864602 100644
--- a/support/arara/scripts/rules/arara-rule-xelatex.yaml
+++ b/support/arara/scripts/rules/arara-rule-xelatex.yaml
@@ -19,7 +19,8 @@ arguments:
- identifier: branch
flag: >
@{
- engines = [ 'stable' : 'xelatex', 'developer' : 'xelatex-dev' ];
+ engines = [ 'stable' : 'xelatex', 'developer' : 'xelatex-dev',
+ 'unsafe' : 'xelatex-unsafe' ];
if (engines.keySet().contains(parameters.branch)) {
return engines.get(parameters.branch);
} else {
diff --git a/support/arara/scripts/rules/arara-rule-xetex.yaml b/support/arara/scripts/rules/arara-rule-xetex.yaml
index 7cc315f3ce..e3956f48e3 100644
--- a/support/arara/scripts/rules/arara-rule-xetex.yaml
+++ b/support/arara/scripts/rules/arara-rule-xetex.yaml
@@ -12,10 +12,21 @@ commands:
- name: XeTeX engine
command: >
@{
- return getCommand('xetex', interaction, shell,
+ return getCommand(branch, interaction, shell,
synctex, options, reference.getName());
}
arguments:
+- identifier: branch
+ flag: >
+ @{
+ engines = [ 'stable' : 'xetex', 'unsafe' : 'xetex-unsafe' ];
+ if (engines.keySet().contains(parameters.branch)) {
+ return engines.get(parameters.branch);
+ } else {
+ throwError('The valid branch values are: ' + engines.keySet());
+ }
+ }
+ default: 'stable'
- identifier: interaction
flag: >
@{