showyourwork / showyourwork

A workflow for reproducible and open scientific articles

Home Page:https://show-your.work

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

optional build of html files

TobiBu opened this issue · comments

It would be super cool to have an option to instead of compiling the paper to pdf export the source .tex to an html file and host it as GitHub page of the corresponding repo. Much like the recent ar5iv initiative.
The most straight forward thing to do would be to use LaTeXML to convert the tex source to html. But possibly other features such as myst or jupyter book would work as well.
I am happy to discuss this and start hacking on it.

Pinging @MilesCranmer who has been thinking about (and hacking on) this as well.

👍 from me. To get something working out-of-the-box, one could run https://github.com/dginev/ar5ivist.

Myst and jupyter book are also exciting, but keep in mind that they are a different format altogether. Whereas LaTeXML can operate on the exact same input as showyourwork, so it would be quite easy to just have a GitHub action to automate something like this, and push it to gh-pages.

Made a PR here #360