4 ms·
I wish there was a good web-based alternative to PDF.
by zagrebian 4y ago
I wish there was a good web-based alternative to PDF.
- deleted 4y ago[deleted]
- bioemerl 4y agoI wish there was a markup language that gave you the full power relatively of PDF, with page sizes and all of that. And a fairly universal converter to turn that markup language into a document. Then we could use our pre-existing template systems that we use for all the HTML for PDFs and get rid of all these crazy systems that enterprises used to build all the PDF reports
- zagrebian 4y agoWhy not HTML + CSS?
- bioemerl 4y agoHTML and CSS are built for web pages, which means they don't really have a strong concept of page size. If I want to build a table with headers that repeat on every page of a printed document, it's an absolute pain to do it with HTML and CSS. You need something with constructs that can express pages, repeated tables, headers and footers, stuff like that in a much more native format.
- zagrebian 4y agoSorry if I wasn’t clear. I didn’t mean “Make it work with HTML and CSS today”. I meant, Why couldn’t HTML and CSS be used as a basis for a PDF-like format? New features are constantly being added to HTML and CSS. In 5 to 10 years, maybe we’ll have a revamped powerful paged layout that will have all the features that you mentioned. So my point is, why create a new format when you can enhance HTML and CSS?