diff options
author | Norbert Preining <norbert@preining.info> | 2021-02-27 03:01:43 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-02-27 03:01:43 +0000 |
commit | 4e6fb7c03bc033485887a99d2ffeca70ef8c0644 (patch) | |
tree | 5a337396041659a71d6da3f68367402d5c4e7dfe /support/arara/scripts/rules/fig2dev.yaml | |
parent | 8b1159ba65d4003e969141fb034abbdc19e27c4b (diff) |
CTAN sync 202102270301
Diffstat (limited to 'support/arara/scripts/rules/fig2dev.yaml')
-rw-r--r-- | support/arara/scripts/rules/fig2dev.yaml | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/support/arara/scripts/rules/fig2dev.yaml b/support/arara/scripts/rules/fig2dev.yaml deleted file mode 100644 index 4e796e5c4d..0000000000 --- a/support/arara/scripts/rules/fig2dev.yaml +++ /dev/null @@ -1,66 +0,0 @@ -!config -# Arara, the cool TeX automation tool -# Copyright (c) 2020, Island of TeX -# All rights reserved. -# -# This rule is part of arara. -identifier: fig2dev -name: fig2dev -authors: -- Island of TeX -commands: -- name: The fig2dev program - command: > - @{ - input = getBasename(reference.getName()).concat('.fig'); - return getCommand('fig2dev', language, magnification, font, size, - options, input, output); - } -arguments: -- identifier: language - flag: > - @{ - if ([ 'box', 'cgm', 'epic', 'eepic', 'eepicemu', 'emf', 'eps', 'gif', - 'ibmgl', 'jpeg', 'latex', 'map', 'mf', 'mp', 'mmp', 'pcx', - 'pdf', 'pdftex', 'pdftex_t', 'pic', 'pictex', 'png', 'ppm', - 'ps', 'pstex', 'pstex_t', 'ptk', 'shape', 'sld', 'svg', - 'textyl', 'tiff', 'tk', 'tpic', 'xbm', - 'xpm' ].contains(parameters.language)) { - return [ '-L', parameters.language ]; - } - else { - throwError('Invalid language, please refer to the manual.'); - } - } - required: true -- identifier: output - flag: > - @{ - return parameters.output; - } - required: true -- identifier: magnification - flag: > - @{ - return [ '-m', parameters.magnification ]; - } -- identifier: font - flag: > - @{ - return [ '-f', parameters.font ]; - } -- identifier: size - flag: > - @{ - return [ '-s', parameters.size ]; - } -- identifier: options - flag: > - @{ - if (isList(parameters.options)) { - return parameters.options; - } - else { - throwError('I was expecting a list of options.') - } - } |