summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/arara/rules/luatex.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/arara/rules/luatex.yaml')
-rw-r--r--Master/texmf-dist/scripts/arara/rules/luatex.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/arara/rules/luatex.yaml b/Master/texmf-dist/scripts/arara/rules/luatex.yaml
new file mode 100644
index 00000000000..359781f1703
--- /dev/null
+++ b/Master/texmf-dist/scripts/arara/rules/luatex.yaml
@@ -0,0 +1,18 @@
+!config
+# LuaTeX rule for arara
+# author: Paulo Cereda
+# requires arara 3.0+
+identifier: luatex
+name: LuaTeX
+command: <arara> luatex @{action} @{draft} @{shell} @{synctex} @{options} "@{file}"
+arguments:
+- identifier: action
+ flag: <arara> --interaction=@{parameters.action}
+- identifier: shell
+ flag: <arara> @{isTrue(parameters.shell,"--shell-escape","--no-shell-escape")}
+- identifier: synctex
+ flag: <arara> @{isTrue(parameters.synctex,"--synctex=1","--synctex=0")}
+- identifier: draft
+ flag: <arara> @{isTrue(parameters.draft,"--draftmode")}
+- identifier: options
+ flag: <arara> @{parameters.options}