summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/arara/rules/tex.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/arara/rules/tex.yaml')
-rw-r--r--Master/texmf-dist/scripts/arara/rules/tex.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/arara/rules/tex.yaml b/Master/texmf-dist/scripts/arara/rules/tex.yaml
new file mode 100644
index 00000000000..49f7cf73074
--- /dev/null
+++ b/Master/texmf-dist/scripts/arara/rules/tex.yaml
@@ -0,0 +1,16 @@
+!config
+# TeX rule for arara
+# author: Marco Daniel
+# last edited by: Paulo Cereda
+# requires arara 3.0+
+identifier: tex
+name: TeX
+command: <arara> tex @{action} @{shell} @{options} "@{file}"
+arguments:
+arguments:
+- identifier: action
+ flag: <arara> --interaction=@{parameters.action}
+- identifier: shell
+ flag: <arara> @{isTrue(parameters.shell,"--shell-escape","--no-shell-escape")}
+- identifier: options
+ flag: <arara> @{parameters.options}