News for hackers. Stuff that matters.
Re:What's new in TeX by copperx on Wednesday October 28, 2015 @11:58PM (#10469193)
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.

Re:What's new in TeX by FraaJad on Thursday October 29, 2015 @12:22AM (#10469254)
Re:What's new in TeX by copperx on Thursday October 29, 2015 @02:03AM (#10469528)
I had settled on AsciiDoc, but I'll reconsider pandoc. It seems to be very popular.
Re:What's new in TeX by michal_h21 on Thursday October 29, 2015 @08:38AM (#10470509)
Have 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-tutoria...

[2] http://tex.stackexchange.com/questions/tagged/tex4ht

[3] http://tex.stackexchange.com/q/265815/2891

[4] http://tex.stackexchange.com/a/239944/2891

[5] http://tug.org/mailman/listinfo/tex4ht

[6] https://puszcza.gnu.org.ua/bugs/?group=tex4ht

Re:What's new in TeX by e12e on Thursday October 29, 2015 @12:48AM (#10469331)
I 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).

Re:What's new in TeX by ballooney on Thursday October 29, 2015 @03:34AM (#10469690)
nbconvert 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

Re:What's new in TeX by kurlberg on Thursday October 29, 2015 @11:40AM (#10471870)
If 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.)
Re:What's new in TeX by copperx on Thursday October 29, 2015 @10:55PM (#10475911)
org-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.
Re:What's new in TeX by jimhefferon on Thursday October 29, 2015 @07:15AM (#10470199)
Reflowing math, in a sensible way, is an unsolved problem.
Re:What's new in TeX by GrumpySimon on Thursday October 29, 2015 @12:10AM (#10469232)
Tried pandoc with markdown?