lwarp icon indicating copy to clipboard operation
lwarp copied to clipboard

Common side-TOC file.

Open bdtc opened this issue 1 year ago • 2 comments

Generate a single side-TOC file, and refer to it from each HTML page.

Currently the side-TOC is generated and compiled from scratch for each HTML page. Generate it once, store it in a file, and refer to it from each page. Possible significant improvement in compile times and page sizes, but reduces flexibility.

From tex.stackexchange

bdtc avatar Jan 04 '24 12:01 bdtc

I ended up having to remove the side-TOC on a large document with several hundred html pages for exactly this reason.

dciomics avatar Apr 22 '24 13:04 dciomics

Was the problem the compile time or the overall size of the resulting sideTOC?

I hope to come up with a way to create a collapsing sideTOC, and other improvements, but am low on time at the moment so this will take a while. Also, browser support is improving for a way to do this with static HTML instead of JavaScript.

bdtc avatar Apr 24 '24 00:04 bdtc