Hacker News new | ask | show | jobs
by bovermyer 880 days ago
When I use LaTeX, it's because I want a way to store book manuscripts and their layout as code in version control. I never use any of the math layout. I get the impression that my use case is rather in the minority.

I would use CSS+HTML for layout, but what do I do about automatically generating tables of contents and indexes?

I guess I could write my own tool for that. Hmm.

1 comments

Looks like Pandoc can generate tables of contents for HTML, though I don't see anything about indexes. Roff and friends, and Texinfo, can do both, though with their own tradeoffs.

https://pandoc.org/MANUAL.html