3 ms·
> the PDF is not a format fit for sharing, discussing, and reading on the web. PDFs are (mostly) static, 2-dimensional and non-actionable objects. It is not a s
by wolverine876 5y ago
> the PDF is not a format fit for sharing, discussing, and reading on the web. PDFs are (mostly) static, 2-dimensional and non-actionable objects. It is not a stretch to say that a PDF is merely a digital photograph of a piece of paper.
It is too far a stretch, murdering the poor subject:
PDFs are the best format available for long-term information, such as research papers. They have the advantages of digital data: Searchable, copy-able, transmittable, and data is extractable. They are also an open format, don't rely on a central service to be available, and they preserve presentation across platforms. They have metadata, and are annotatable and reviewable. And the PDF format is the best for long-term preservation, carefully designed to be readable in 50 years - partly because they preserve presentation across platforms - and that includes the metadata, annotations, and reviews.
PDFs are like paper in that they will look the same 50 years from now as they do today, unlike (almost?) any other digital format.
Yes, I wish they were a bit more dynamic in layout, and that the text was more cleanly extracted.
- rhn_mk1 5y ago> data is extractable That's true for plain text (in the best case), but try extracting an equation, table or a diagram. Stepping away from best case, PDFs in theory look the same everywhere, but turn into a mess on buggy implementations or differing rendering engines – due to the insistence on having a stable presentation, they assume positining and sizing always works, so when that fails, it fails worse than a buggy rendering of a presentation-agnostic document like an HTML page. (In my experience, bugs either enter just before printing, or when displaying using JS-based renderers).
- wolverine876 5y ago> That's true for plain text (in the best case), but try extracting an equation, table or a diagram. Good point. From what format are tables, diagrams, and formulas extractable (while retaining format)? I've had good luck moving tables between my web browser and email applications, though it always surprises me that the html is implemented similarly enough. > PDFs in theory look the same everywhere, but turn into a mess on buggy implementations or differing rendering engines I don't deal with PDFs programatically, and it sounds like you might, but from the user end, and from running networks of thousands of users, I've hardly ever seen problems in practice except for the browsers' JavaScript renderers.
- cxr 5y agoOf all the properties you mention, that PDFs "preserve presentation across platforms" is the only one that isn't shared with responsibly wielded HTML (e.g. the sort of thing that Zotero produces when stashing a local copy—which uses SingleFile under the hood). It's also the one property that is net undesirable—being more liability than benefit. Being sent a PDF of an academic paper to read (or do anything with other than send it to a printer) is about ten times lower on the user preference scale than having someone send a link to a blog post on the same subject. (The other reason for that being that when people are in the mode that involves writing an academic paper, they forget how to write anything that anyone would actually want to read. Most academic writing sucks.) Of the properties you listed that PDF does share with self-contained HTML, on the other hand, there isn't one that PDF isn't worse at—not even "transmittable". (Initially I would have put them on the same level there, but of course that's wrong. When you're in an environment where for whatever reason a file copy is not an option, PDF's binary format makes it harder to transmit the bytestream than HTML.) Who cares if a PDF looks the same everywhere if that means everyone who encounters it bounces away rather than having to slog through any attempt to actually read it?
- wolverine876 5y ago> responsibly wielded HTML That would be fantastic, but there are no available solutions that meet the specs I listed, including long-term preservation and annotation (what annotation subsystems are there for HTML?). ePub is 'responsibly wielded HTML', but it lacks annotation and long-term preservation is iffy. I much prefer PDFs to blog posts, personally - they are mine, I can annotate them, etc. Also, I find much more thought is put into a PDF than a blog post (which both beat Twitter!).
- cxr 5y ago> there are no available solutions that meet the specs I listed We're going in circles. "Preserve presentation across platforms" is an anti-feature. No one has created a solution that satisfies that constraint because it's (a) a lot of work for (b) something that is the opposite of what the people involved are actually aiming for. If you're preparing material for print and it's important to be able to represent the exact printed layout (e.g. to print again), then PDF makes sense. If printing doesn't appear in the pipeline twice or even once, then PDF is very, very bad. > I much prefer PDFs to blog posts, personally - they are mine, I can annotate them, etc. You can do that with blog posts. > I find much more thought is put into a PDF than a blog post I don't. I find, as I alluded to before, that there's much less thought put into trying to express things clearly and economically. Instead, that concern is replaced with a concern for writing in a way that sounds "academic" but is painful to read. PS: > ePub is 'responsibly wielded HTML' Not at all. EPUB is very irresponsibly designed. "The format works in my browser today" should have been the #1 sanity check on that workgroup's output. They failed.
- j-pb 5y agoNone of those virtues hold in practice. I've worked both at public library digitization efforts and machine learning companies that did document ingestion and analytics. You always OCR the PDF visuals to get the text, because that's the only thing reliable about PDF. Everything else is often wrong, broken, or non-existent. By separating the meaning from the visual representation there is no incentive to keep the invisible data workable. PDF might as well be replaced with SVG, in terms of rendering consistency and metadata extraction capabilities. Because for a plain vector image format it's not that impressive.
- wolverine876 5y agoIf I understand correctly, your comment addresses PDFs created from scanning paper. PDFs at arXiv are converted from LaTeX inputs, per the OP, and not via scanning and OCR; therefore they contain perfect renditions of the text. >> Searchable, copy-able, transmittable, and data is extractable. They are also an open format, don't rely on a central service to be available, and they preserve presentation across platforms. They have metadata, and are annotatable and reviewable. And the PDF format is the best for long-term preservation, carefully designed to be readable in 50 years - partly because they preserve presentation across platforms - and that includes the metadata, annotations, and reviews. > None of those virtues hold in practice. > You always OCR the PDF visuals to get the text, because that's the only thing reliable about PDF. Everything else is often wrong, broken, or non-existent. Which don't hold in practice? Are they not searchable? Is presentation not preserved? I use a lot of PDFs and they hold for me. PDFs are very popular, so they must work pretty well. > SVG Is there a standard way to do review and annotation, and is presentation preserved, for example when printing? Also, PDFs contain various image formats; do they contain SVG?
- j-pb 5y agoI'm not talking about scanned data. I'm talking about digitally born PDF, which have to be OCRed nevertheless because their text layer is unusable. LaTex is one of the worst offenders when it comes to producing mangled text layers. Multi column text is often stored with both columns interleaving, or not at all. Verbatim is mangled, formulas are a hot mess. The text order between paragraphs is not preserved. LaTex is an angstrom accurate type setting system and it's great for that, but it's abysimal at producing digital formats. Could it produce better PDF documents? Sure. Does it do so, and do package authors care about any other layer except the printed visual one? No. All those extra features you mention make your "still readable in 50 years" requirement go out the window pretty quickly. Long term archival is super tricky and considered an unsolved problem by libraries. There's a reason ArXiv stores the LaTex as the canonical representation and not the PDF. The source code is simply a better archival format.