diff options
Diffstat (limited to 'support/arara/scripts/rules/biber.yaml')
-rw-r--r-- | support/arara/scripts/rules/biber.yaml | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/support/arara/scripts/rules/biber.yaml b/support/arara/scripts/rules/biber.yaml index 9ba02bc6b2..8cf9acb474 100644 --- a/support/arara/scripts/rules/biber.yaml +++ b/support/arara/scripts/rules/biber.yaml @@ -1,21 +1,34 @@ !config # Arara, the cool TeX automation tool -# Copyright (c) 2018, Paulo Roberto Massa Cereda +# Copyright (c) 2020, Island of TeX # All rights reserved. # # This rule is part of arara. identifier: biber name: Biber authors: -- Marco Daniel -- Paulo Cereda +- Island of TeX commands: - name: The Biber reference management software command: > @{ - return getCommand('biber', options, getBasename(file)); + if (tool) { + return getCommand('biber', '--tool', options); + } + else { + return getCommand('biber', options, getBasename(file)); + } } arguments: +- identifier: tool + flag: > + @{ + return isTrue(parameters.tool); + } + default: > + @{ + return false; + } - identifier: options flag: > @{ |