From e247b78b2fce9bdb26193826aca0a62ae26c8a8b Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 17 Apr 2022 03:03:02 +0000 Subject: CTAN sync 202204170303 --- support/arara/scripts/rules/arara-rule-xelatex.yaml | 3 ++- support/arara/scripts/rules/arara-rule-xetex.yaml | 13 ++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'support/arara/scripts/rules') 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: > @{ -- cgit v1.2.3