summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/arara/rules/pdftex.yaml
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-02-05 23:00:15 +0000
committerKarl Berry <karl@freefriends.org>2013-02-05 23:00:15 +0000
commit5951dc20b924b01da871a6b772f7cd30f66e07fd (patch)
tree6df25558e8efc9d7e28ce858f1ef7866bd567702 /Master/texmf-dist/scripts/arara/rules/pdftex.yaml
parentb5620e0b06e34b0db7481f8b3c6417c6e8b13c1a (diff)
arara (6feb13)
git-svn-id: svn://tug.org/texlive/trunk@29036 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/arara/rules/pdftex.yaml')
-rw-r--r--Master/texmf-dist/scripts/arara/rules/pdftex.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/arara/rules/pdftex.yaml b/Master/texmf-dist/scripts/arara/rules/pdftex.yaml
new file mode 100644
index 00000000000..db084597cbe
--- /dev/null
+++ b/Master/texmf-dist/scripts/arara/rules/pdftex.yaml
@@ -0,0 +1,19 @@
+!config
+# PDFTeX rule for arara
+# author: Paulo Cereda
+# requires arara 3.0+
+identifier: pdftex
+name: PDFTeX
+command: <arara> pdftex @{action} @{draft} @{shell} @{synctex} @{options} "@{file}"
+arguments:
+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}