Consider the following files
myfile.tex
% arara: myrule: {items: [lions, zebras]}
\documentclass{article}
\begin{document}
hello world
\end{document}
myrule.yaml
!config
#
# Sample usage
# % arara: myrule: {items: [lions]}
# % arara: myrule: {items: [lions, zebras]}
#
identifier: myrule
name: Myrule
commands:
- <arara> echo @{item}
arguments: []
If I run arara
in verbose
mode on myfile.tex
using
arara -v myfile
then the output is
__ _ _ __ __ _ _ __ __ _
/ _` | '__/ _` | '__/ _` |
| (_| | | | (_| | | | (_| |
\__,_|_| \__,_|_| \__,_|
Running Myrule...
lions
Status: SUCCESS
Running Myrule...
zebras
Status: SUCCESS
If I run it in silent
mode using
arara myfile
then the output is
__ _ _ __ __ _ _ __ __ _
/ _` | '__/ _` | '__/ _` |
| (_| | | | (_| | | | (_| |
\__,_|_| \__,_|_| \__,_|
Running Myrule... SUCCESS
Running Myrule... SUCCESS
I would like to get more information about the @{item}
currently being processed, even when I'm compiling in silent
mode; explicitly, my desired result (when running arara myfile
) would be something like
__ _ _ __ __ _ _ __ __ _
/ _` | '__/ _` | '__/ _` |
| (_| | | | (_| | | | (_| |
\__,_|_| \__,_|_| \__,_|
Running Myrule (lions)... SUCCESS
Running Myrule (zebras)... SUCCESS
Is such output possible?
PS: My example above is a toy example- the 'real-life' code is in How to create individual chapter PDFs