summaryrefslogtreecommitdiff
path: root/support/arara/scripts/rules/frontespizio.yaml
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-02-27 03:01:43 +0000
committerNorbert Preining <norbert@preining.info>2021-02-27 03:01:43 +0000
commit4e6fb7c03bc033485887a99d2ffeca70ef8c0644 (patch)
tree5a337396041659a71d6da3f68367402d5c4e7dfe /support/arara/scripts/rules/frontespizio.yaml
parent8b1159ba65d4003e969141fb034abbdc19e27c4b (diff)
CTAN sync 202102270301
Diffstat (limited to 'support/arara/scripts/rules/frontespizio.yaml')
-rw-r--r--support/arara/scripts/rules/frontespizio.yaml78
1 files changed, 0 insertions, 78 deletions
diff --git a/support/arara/scripts/rules/frontespizio.yaml b/support/arara/scripts/rules/frontespizio.yaml
deleted file mode 100644
index 2cabec38a0..0000000000
--- a/support/arara/scripts/rules/frontespizio.yaml
+++ /dev/null
@@ -1,78 +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: frontespizio
-name: Frontespizio
-authors:
-- Francesco Endrici
-- Enrico Gregorio
-- Island of TeX
-commands:
-- name: The engine
- command: >
- @{
- return getCommand(engine, interaction, shell, options,
- reference.getName())
- }
-- name: The frontispiece
- command: >
- @{
- base = getBasename(reference.getName()).concat('-frn');
- return getCommand(engine, interaction, shell, base);
- }
-- name: The DVIPS program
- command: >
- @{
- base = getBasename(reference.getName()).concat('-frn');
- eps = base.concat('.eps');
- return isTrue(engine == 'latex', getCommand('dvips', '-o',
- eps, base), '');
- }
-- name: The engine
- command: >
- @{
- return getCommand(engine, interaction, shell, options,
- reference.getName());
- }
-arguments:
-- identifier: engine
- flag: >
- @{
- if ([ 'pdflatex', 'latex', 'xelatex',
- 'lualatex' ].contains(parameters.engine)) {
- return parameters.engine;
- }
- else {
- throwError('The provided engine is not valid');
- }
- }
- default: pdflatex
-- identifier: shell
- flag: >
- @{
- isTrue(parameters.shell, '--shell-escape', '--no-shell-escape')
- }
-- identifier: options
- flag: >
- @{
- if (isList(parameters.options)) {
- return parameters.options;
- }
- else {
- throwError('I was expecting a list of options.');
- }
- }
-- identifier: interaction
- flag: >
- @{
- if ([ 'batchmode', 'nonstopmode', 'scrollmode',
- 'errorstopmode' ].contains(parameters.interaction)) {
- return '--interaction='.concat(parameters.interaction);
- }
- else {
- throwError('The provided interaction value is not valid.');
- }
- }