Hi Greg,
On 18-05-2021 19:25, Greg Minshall wrote:
> Lennart,
>
> John's idea seems good. also, you could generate a separate RESULT for
> each language, then :var each language's "failed" RESULT into your bash
> block and fail if any of them are set?
The main problem I see with that solution i
Dear John,
Thanks a lot for your quick reply. My apologies for not replying
earlier. Some urgent things came up that took my time.
I tried your suggestions and settled on a small adaptation of your first
suggestion. Because the output of my source blocks is raw Org code (i.e.
the report text that
Lennart,
John's idea seems good. also, you could generate a separate RESULT for
each language, then :var each language's "failed" RESULT into your bash
block and fail if any of them are set?
cheers, Greg
Given all the different languages involved, I don't think there is a way to
use a common variable.
One way might be to have each block output some kind of string if it fails,
and then in the last block you could search for the buffer for that string.
Something like this:
* Section 1
#+BEGIN_SRC
Dear list,
I am working on a dynamic report in Org mode, where I use source blocks
in various languages to process data. Several blocks produce text or
tables that become part of the PDF on export.
The final chapter should state whether all checks passed, or whether one
or more failed (it is not