←back to thread

235 points volemo | 2 comments | | HN request time: 0.494s | source
Show context
oh_my_goodness ◴[] No.43517392[source]
Uh ... where is it written that LaTeX can only provide pdf output?

Turn that around. Thought experiment. Say we work like pigdogs for 5 years and we completely replace all of Latex except the part that produces pdf. What value have we provided to users at that point?

replies(1): >>43518141 #
xworld21 ◴[] No.43518141[source]
The article talks about converting LaTeX to HTML, which is feasible today, if only buggy and fragile. This is the textbook the author talks about, which is written in LaTeX (but compiled with LaTeXML instead of pdflatex): https://forallx.openlogicproject.org/html/
replies(1): >>43519590 #
oh_my_goodness ◴[] No.43519590[source]
It does. But why can't LaTex produce png or something? Why does it have to be either pdf or pretty much abandon the idea of typesetting? Or am I misunderstanding?
replies(2): >>43519963 #>>43522578 #
1. raegis ◴[] No.43522578[source]
By the way, LaTeX and TeX existed long before PDFs were ubiquitous. A common workflow in the 1990s and prior was

TeX/LaTeX -> DVI -> PostScript -> printer

And DVI stands for "device independent", so the idea was you can take a DVI and convert it to any format. PDFs just eventually became the dominate format.

replies(1): >>43522886 #
2. oh_my_goodness ◴[] No.43522886[source]
Yeah, I remember.