summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/arara/rules/arara-rule-pbibtex.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/arara/rules/arara-rule-pbibtex.yaml')
-rw-r--r--Master/texmf-dist/scripts/arara/rules/arara-rule-pbibtex.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/arara/rules/arara-rule-pbibtex.yaml b/Master/texmf-dist/scripts/arara/rules/arara-rule-pbibtex.yaml
new file mode 100644
index 00000000000..a313b7fe922
--- /dev/null
+++ b/Master/texmf-dist/scripts/arara/rules/arara-rule-pbibtex.yaml
@@ -0,0 +1,27 @@
+!config
+# Arara, the cool TeX automation tool
+# Copyright (c) 2020, Island of TeX
+# All rights reserved.
+#
+# This rule is part of arara.
+identifier: pbibtex
+name: pBibTeX
+authors:
+- Island of TeX
+commands:
+- name: The pBibTeX reference management software
+ command: >
+ @{
+ return getCommand('pbibtex', options, getBasename(reference.getName()))
+ }
+arguments:
+- identifier: options
+ flag: >
+ @{
+ if (isList(parameters.options)) {
+ return parameters.options;
+ }
+ else {
+ throwError('I was expecting a list of options.');
+ }
+ }