Disclaimer: Since arara 5.1 is now live on TeX Live and we have some significant changes in the rule format, I am antecipating the inevitable and asking the question myself. Hope it helps! :)
So I recently updated my TeX distro and noticed arara
has been updated from version 4 to 5. At the time of my writing, the aforementioned software is in version 5.1
in CTAN.
I have a custom rule named foo
with the following content:
!config
identifier: foo
name: Foo
commands:
- name: The Foo program
command: >
@{
return getCommand('foo', file);
}
arguments: []
Pretty straightforward, it simply runs foo
on my current file. This rule was working in arara
4.0, but now the new version raises the following error:
DETAILS ---------------------------------------------------------
[Error: unresolvable property or identifier: file]
[Near : {...
return getCommand('foo', file); ....}]
^
[Line: 2, Column: 30]
It was working before, I know it! What happened? Can you help me?