Literate
Literate copied to clipboard
Infinite Loop with multiple includes
I am having trouble including multiple files. Whenever I have multiple includes it gets into a loop of including the same file over and over, and complaining about redefinition. Each include works independently but not together. I have made the included files super simple to avoid error.
@title My title
@s Theory
@include theory.lit
@s Code
@include code.lit
I think I am running into this too.
still a true story...
@soratobukuroneko partially due to this problem (and others with making books), I made an inspired project https://github.com/justinmeiners/srcweave, which supports a very similar file format, but handles multiple files in a much simpler way.
thanks @justinmeiners, i'll give it a try!