From 5fc635e606281a4f66bbc31bfb827fee53a21f96 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 3 May 2024 03:01:15 +0000 Subject: CTAN sync 202405030301 --- .../arara/scripts/rules/arara-rule-pdftocairo.yaml | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 support/arara/scripts/rules/arara-rule-pdftocairo.yaml (limited to 'support/arara/scripts/rules') diff --git a/support/arara/scripts/rules/arara-rule-pdftocairo.yaml b/support/arara/scripts/rules/arara-rule-pdftocairo.yaml new file mode 100644 index 0000000000..77ec8f2459 --- /dev/null +++ b/support/arara/scripts/rules/arara-rule-pdftocairo.yaml @@ -0,0 +1,33 @@ +!config +identifier: pdftocairo +name: pdftocairo +authors: +- samcarter +commands: +- name: The pdftocairo program + command: > + @{ + return getCommand('pdftocairo', '-' + format[0], getBasename(reference.fileName)+'.pdf', options, output); + } +arguments: +- identifier: format + flag: > + @{ + return parameters.format; + } + default: png +- identifier: output + flag: > + @{ + return parameters.output; + } +- identifier: options + flag: > + @{ + if (isList(parameters.options)) { + return parameters.options; + } + else { + throwError('I was expecting a list of options.'); + } + } \ No newline at end of file -- cgit v1.2.3