News for hackers. Stuff that matters.
Re:Entire website in a single HTML file by mmh0000 on Thursday December 23, 2021 @09:25PM (#29669311)
I wouldn't call that a limitation. In fact that is one of the major selling points of the PDF format. The document looks as intended* by the creator on all platforms whether display or print media.

* Yes, I know, PDF doesn't -always- do this, but a well designed PDF generally does.

Re:Entire website in a single HTML file by vgel on Thursday December 23, 2021 @09:33PM (#29669356)
It is a limitation. Anyone who's ever tried to read a PDF journal article on their phone has experienced it. (and don't even get me started on Unicode copy/paste...)

HTML can be styled in a fixed layout if desired, and reflowed by a reader mode if needed. PDF can't be styled in a responsive way, and there's no (easily accessible) reader mode equivalent for PDFs.

HTML is a far better document format than PDF.

Re:Entire website in a single HTML file by dragonwriter on Thursday December 23, 2021 @10:20PM (#29669721)
> there's no (easily accessible) reader mode equivalent for PDFs.

It’s called Liquid Mode in Reader, and it is, in fact, easily accessible.

> HTML is a far better document format than PDF.

HTML is better for some things, PDF for others. That's why PDF is widely used on the web when HTML is available.

Re:Entire website in a single HTML file by bananamerica on Friday December 24, 2021 @09:10AM (#29673695)
Liquid mode only works we for a subset of PDF files. And sometimes it doesn't work at all.
Re:Entire website in a single HTML file by dragonwriter on Friday December 24, 2021 @11:13AM (#29674745)
Reader mode only works well for a subset of HTML files, too.
Re:Entire website in a single HTML file by bananamerica on Friday December 24, 2021 @12:16PM (#29675358)
Yes, of course.
Re:Entire website in a single HTML file by bee_rider on Thursday December 23, 2021 @09:59PM (#29669550)
A significant advantage of the two column journal format (although still they end up feeling pretty clunky on a phone).
Re:Entire website in a single HTML file by Tagbert on Thursday December 23, 2021 @09:37PM (#29669388)
True, but the rigid layout is what makes PDF unsuitable for some use cases. It’s main use is to represent a printed page of a very specific size. Anything outside that just requires too much flexibility.