summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/arara/rules/ps2pdf.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/arara/rules/ps2pdf.yaml')
-rw-r--r--Master/texmf-dist/scripts/arara/rules/ps2pdf.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/arara/rules/ps2pdf.yaml b/Master/texmf-dist/scripts/arara/rules/ps2pdf.yaml
new file mode 100644
index 00000000000..a5e82d545e5
--- /dev/null
+++ b/Master/texmf-dist/scripts/arara/rules/ps2pdf.yaml
@@ -0,0 +1,14 @@
+!config
+# PS2PDF rule for arara
+# author: Marco Daniel
+# last edited by: Paulo Cereda
+# requires arara 3.0+
+identifier: ps2pdf
+name: PS2PDF
+command: <arara> ps2pdf @{options} "@{getBasename(file)}.ps" "@{output}.pdf"
+arguments:
+- identifier: output
+ flag: <arara> @{parameters.output}
+ default: <arara> @{getBasename(file)}
+- identifier: options
+ flag: <arara> @{parameters.options}