Lawrence D¢Oliveiro wrote:
> On Sun, 15 Nov 2026 10:13:24 -0000 (UTC), Michael Uplawski wrote: >
>> I consider the *necessity* to edit PDF *content* as evidence of a >> faulty work flow.
> > Entirely fair comment. > > Though the need to extract *information* from a PDF file can > arise sometimes. > > And then I discovered that one scenario for this has already been > covered <https://ghostscript.readthedocs.io/en/latest/ZUGFeRD.html> > ...
I must disagree. Vehemently so. But in a nice way. 'Cuz I don't disagree! 1. There is the ideal flow 2. And then, there is the real world There should be no reason to refill printer ink or toner since the ideal flow is to buy expensive refill inks and toner from the manufacturer, but in the "real world" that I live in, there *is* a need to refill the tanks. Same with PDFs. In an ideal world, you would never have any need to modify someone else's PDF, but I don't know anyone who lives in that ideal world. Since Lawrence invested the energy to give us a hint in that URL, to edify others, since we always learn and teach at the same time, every moment of our natural lives, Lawrence is pointing at ZUGFeRD, which is apparently a German standard for embedding structured invoice data inside a PDF, so that a PDF is both a human-readable document and a machine-readable data file. While Michael opines that needing to edit PDF content means our workflow is broken, Lawrence first agrees, then he makes a narrower point, which is that sometimes we might not need to edit the PDF so much as needing to extract information from it. ZUGFeRD is the case where that problem has already been solved properly, at the format level, rather than by guessing. Overall, most of what Michael and Lawrence are trying to teach us goes over my head, but I think we can summarize Michael's kind-hearted advice that editing PDFs is a sign of a bad workflow, just as needing to file an insurance claim is a sign of a bad driver, while Lawrence agrees, but also points out that reading data out of a PDF is sometimes unavoidable, where Lawrence suggests a fix, which is a format that carries the data alongside the presentation. ZUGFeRD is the proof that this can be done right.
-- On Usenet, people with vast experience voluntarily share that knowledge.