I don’t have another notebook, as they say, I can’t recall anything in the morning 🙂 This is about script->pdf tools.
For texts, I periodically use latex; for diagrams, I try to use console tools that convert scripts into graphic form. For flowchart, sequence diagram, and gantt, I use mermaid (https://mermaidjs.github.io/), for sequence diagrams I also use graphviz (https://www.graphviz.org/), and just today, I installed and tested erd+graphviz, a package on Haskell.
I’m afraid next time I won’t be able to find this from scratch, so it may as well hang here, searchably.

