briangpowell writes: > * Donald Knuth created much for us, including TeX and a Literate > Programming system called CWeb which helped to make C code documented in > what he envisioned for Literate Programming > > ** A more generalized system that is based on CWeb is NoWeb--useful not > just for C/C++ code but for every language: Recommend using NoWeb for > Literate Programming: "NoWeb — A Simple, Extensible Tool for Literate > Programming": > > https://www.cs.tufts.edu/~nr/noweb/ I use :noweb-ref quite a bit, and most of my org-files end in # Local Variables: # org-confirm-babel-evaluate: nil # org-export-default-language: en # org-babel-noweb-wrap-start: "{{{" # org-babel-noweb-wrap-end: "}}}" # End: A recent wonderful discovery I made is M-x org-babel-detangle. I used it extensively with mathe-ass: - https://hg.sr.ht/~arnebab/draketo/browse/anderes/mathe-ass.org?rev=e9c77a19ed5f#L344 - https://www.draketo.de/anderes/mathe-ass.js mathe-ass.org: * code :noexport: #+begin_src javascript :tangle "mathe-ass.js" :exports none :comments link … #+end_src mathe-ass.js: // [[file:mathe-ass.org::*code][code:1]] … // code:1 ends here With this I can program in the tangled file and then re-import the code to org. Best wishes, Arne -- Unpolitisch sein heißt politisch sein ohne es zu merken