5 ms·
As an instructor, I want to provide printed handouts, assignments, problem sets both printed and online, and having reflowing HTML is a great advantage for stud
by copperx 11y ago
As an instructor, I want to provide printed handouts, assignments, problem sets both printed and online, and having reflowing HTML is a great advantage for students when working though a problem in a split screen.
I was looking for a workflow that would produce PDFs and HTML, and I reached the same conclusions as the article.
I was hoping they had some sort of solution.
- GrumpySimon 11y agoTried pandoc with markdown?
- FraaJad 11y agopandoc as another user suggested. Examples: - http://www.seas.upenn.edu/~cis194/lectures.html http://www.seas.upenn.edu/~cis194/lectures.html - http://www.scs.stanford.edu/11au-cs240h/notes/ http://www.scs.stanford.edu/11au-cs240h/notes/
- copperx 11y agoI had settled on AsciiDoc, but I'll reconsider pandoc. It seems to be very popular.
- e12e 11y agoI second the recommendation to look at Markdown/pandoc. As far as I know, good html from TeX/LaTeX doesn't exist. I've had some success with ipython/nbconvert too (which in a roundabout way works like Markdown+pandoc, but doesn't use pandoc -- but outputs both reasonable(ish) html, and decent PDFs (via LaTeX).
- ballooney 11y agonbconvert infact does use pandoc for most of its internal mappings between markup languages. See the first 'Note' box: https://ipython.org/ipython-doc/1/interactive/nbconvert.html https://ipython.org/ipython-doc/1/interactive/nbconvert.html
- jimhefferon 11y agoReflowing math, in a sensible way, is an unsolved problem.
- michal_h21 11y agoHave you tried tex4ht? Maybe it doesn't produce nice output by the default, but it is extremely configurable and it should support all LaTeX out of the box, unlike other solutions such as Pandoc. I've wrote some basic tutorial about tex4ht configuring [1], lot of information can be found when you search TeX.sx for tex4ht tag [2], for example how to use Mathjax for math rendering[3] or how to include Javascript libraries and some responsive CSS[4]. You can ask tex4ht related questions on TeX.sx or on it's mailing list[5], there is also a issue tracker[6]. [1] https://github.com/michal-h21/helpers4ht/wiki/tex4ht-tutorial https://github.com/michal-h21/helpers4ht/wiki/tex4ht-tutoria... [2] http://tex.stackexchange.com/questions/tagged/tex4ht http://tex.stackexchange.com/questions/tagged/tex4ht [3] http://tex.stackexchange.com/q/265815/2891 http://tex.stackexchange.com/q/265815/2891 [4] http://tex.stackexchange.com/a/239944/2891 http://tex.stackexchange.com/a/239944/2891 [5] http://tug.org/mailman/listinfo/tex4ht http://tug.org/mailman/listinfo/tex4ht [6] https://puszcza.gnu.org.ua/bugs/?group=tex4ht https://puszcza.gnu.org.ua/bugs/?group=tex4ht
- kurlberg 11y agoIf you know emacs I recommend taking a look at org-mode. It's an emacs mode that let's you write in "markdown" (but including tex-syntax for math) and then lets you export to html or pdf (via tex/latex.)
- copperx 11y agoorg-mode sounds nice, but I've tried it and it's complicated and annoying. I hate how it folds everything as a default, so that when you open a file it's folded and the content isn't visible. I know I can change this somewhere but not having sane defaults is irritating.