Closed williamdemeo closed 2 years ago
That feels like a lot of "make work". Also, I'm pretty sure there are decent automated tools to do this.
Well, yes, of course I would like to use the right tools and a workflow that avoids the tedium. And I intend to figure out the best way to do this, but it's non-trivial and not obvious (to me), so will take some time to figure out.
In the meantime, I just wanted to get the Demo.HSP module typeset so it looks less horrible than before (with all the latex macros appearing on the web page), so I used pandoc to convert from tex to markdown. That produces a markdown file that is far from usable without substantial editing, because of all the special macros we use to typeset Agda code in a TeX document.
I agree that there must be a better way to do this. Unfortunately, I haven't found it yet. Of course, you are more than welcomed to suggest solutions!
This translates
HSP.lagda
from LaTeX to Markdown so it will look better on web pages.