justinmeiners / srcweave

A literate programming system for any language.
https://www.jmeiners.com/literate-programming/
GNU General Public License v2.0
78 stars 4 forks source link

"Attempting to include unknown block ..." #18

Closed Happy-Ferret closed 1 year ago

Happy-Ferret commented 2 years ago

Running the current master on any .lit file (including the Hello World example) yields the above output.

Input: srcweave --weave doc/ --formatter srcweave-format hello.lit Output: attempting to include unknown block "includes"

System:

justinmeiners commented 2 years ago

Just tried with this exact command on the hello.lit and it worked correctly (debian).

I would guess it's related to Windows. I'll look into it. Thanks for the issue.

justinmeiners commented 1 year ago

@rpendleton suspects it has to do with line endings. Things aren't looking great for SBCL in this regard:

https://bugs.launchpad.net/sbcl/+bug/720517

https://bugs.launchpad.net/sbcl/+bug/310185