Hacker News new | ask | show | jobs
by WillAdams 609 days ago
Arguably the most successful effort in this space is:

http://literateprogramming.com/

I use it in a current project using LaTeX:

https://github.com/WillAdams/gcodepreview

1 comments

I checked the linked PDF[1] as an example, and the codeblocks are still just basic plain monospaced blocks with practically no typesetting done to them; very different from something like Fortress, or indeed this Forscape

[1] https://github.com/WillAdams/gcodepreview/blob/main/gcodepre...

Yeah, I've been using the listings package and it doesn't have much support for Python and I had to hack together the settings for OpenSCAD.

If you know of a better LaTeX package to use, or better settings for Python or languages like OpenSCAD I'd be glad of them.

Mostly I need the LP stuff for managing multiple files, and the overview of the PDF and hyperlinked ToC and Index and so forth.