Hacker News new | ask | show | jobs
by bambataa 1259 days ago
At one point I had the idea to tag each section or paragraph with a topic ID and list the topic IDs directly referenced. Then you could build a graph with the referenced topics as edges. After refactoring it into a DAG, you could do a topological sort to get a linear sequence of topics And chop it into chapters.

I took that as an indication I was procrastinating, but I think it would be a fun way to structure a book!