Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think LaTeX has one disadvantage and it is not mentioned in the linked article. It has nothing to do with this "Cargo cult" thing, which I'm not sure it used correctly in this text but nevermind that.

The disadvantage is, that while LaTeX has an excellent support for PDF or PS its support for e.g. EPUB is awful.

Otherwise there is nothing better to write longer text than LaTeX.



> The disadvantage is, that while LaTeX has an excellent support for PDF or PS its support for e.g. EPUB is awful.

Well, yeah, but ePub is just a packaging format for HTML as input to a system that does its own layout and pagination, LaTeX is a layout/pagination system. Using it to generate ePub makes about as much sense as using ePub reading system to generate LaTeX.

It'd be better to just have end-user device-side apps that compiled LaTeX to PS/PDF/etc. after plugging in a device-appropriate page size, using LaTex as the distribution format and the rendered format as the viewing format than to use LaTeX to generate ePub


LaTeX is but the code of a LaTeX isn't. You should be able to create whatever you want out of it. The commands in the file (just) have to be interpret differently and yes, this "just" thing is the big point, because it is not easy, especially for a language which is as old as LaTeX.

For me it is odd, I currently rely on LaTeX for my workflow. Creating documents which includes other PDF files and a certain pre defined layout is (for me) very easy to do in LaTeX. Especially if the ground work (layout) is done.


The whole article is exactly about that point. Epub is just a packaged set of html pages, for which tex is horrible, because it's page-centric.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: