I'm working on an arara
rule that makes use of the items
identifier
% arara: myrule: {items: [lions, zebras]}
\documentclass{article}
\begin{document}
hello world
\end{document}
The rule, myrule.yaml
, looks like this:
!config
identifier: myrule
name: myrule
commands:
- <arara> @{ isTrue( myswitch, isWindows( "cmd /c echo", "echo" ) ) } @{item}
# can I toggle myswitch here?
arguments:
- identifier: myswitch
flag: <arara> @{parameters.myswitch}
default: true
I would like to toggle the myswitch
identifier to false
within the rule- how can I do this? :)
(The reason is for the rule I made for How to create individual chapter PDFs).