Closed ngirard closed 6 months ago
The problem comes from the fact, that pp doesn't create the stack-work
directory if it doesn't exist.
This is not the default behavior of the other LP systems I've tried (e.g. Org-mode).
I'd suggest changing the default behavior.
In fact this is intentional. I prefer crashing when a directory is not found instead of saying nothing when a file is created in the wrong misspelled directory.
It's always possible to create a directory explicitly: !sh(mkdir -p some_directory)
.
The tests documents are meant to be rendered by make which is supposed to (indirectly) create the stack-work directory.
I'm experimenting with Pp's literate programming capabilities, and took parts of
test/pp-test.md
into the followingtest.md
file:Running
outputs
Is there something I'm doing wrong ?
Incidentally, the error message would be much more useful with an additional line number.