Hacker News new | ask | show | jobs
by airstrike 2253 days ago
I know this is tangential, but I would love for someone to talk about writing a more visual type of book, full of images, tables and charts for the business world.

A table like the one in the first screenshot of this post works well because the author is not repeatedly iterating on it, there's very little text and information flows top-to-bottom very neatly. That's great, but it's also extremely basic.

Take a look at something like https://www.jpmorgan.com/jpmpdf/1320605428574.pdf and imagine writing that. How do you lay things out on a page? How do you make content fit a layout? There's no grid.

The reality is people use PowerPoint to do that, but PowerPoint is a slide authoring tool that assumes you have a few bullets, maybe one or two images per slide.

Dense presentations make its shortcomings obvious and quite painful.

It boggles the mind that with all of the resources dumped into CSS/JS and web development in general, nobody has leveraged that experience to build an authoring tool that's 21st-century ready, with version control, with a clear separation but nonetheless linked relationship of raw data, actual content output and formatting and final publishing into PDF.

What am I missing?

EDIT: one more example for good measure https://www.jefferies.com/CMSFiles/Jefferies.com/files/W%201...

3 comments

Those aren't books, they are presentation slides.

Using Powerpoint, for every slide the author chose (potentially) a different Powerpoint template (2×1 columns, 2×2 etc). They have complete freedom to "break" the structure, such as with callouts pointing to the "other" column, images going beyond the margins.

A automatic template removes this flexibility, but allows scripting or rebuilding the document with different text/data. That's the compromize.

Remark.js achieves some of the most basic parts of this, but would need some fiddling to add some CSS grid support and/or default templates: https://remarkjs.com/ (Except for being ugly, http://mobmad.github.io/js-tdd-erfaringer/ shows some possible structure with Remark.js).

Going by the strict definition of a book [1] a file, a webpage or a website isn’t a book either.

[1] https://en.m.wikipedia.org/wiki/Book

I'm not so sure... I make them pretty much daily, and we print them and call them "books".

I'm not saying you shouldn't be able to tweak them manually, but there's got to be a more ergonomic language for drafting pages than literally dragging objects pixel by pixel, especially when most of the content comes in four forms: tables pasted in from Excel, charts pasted in from Excel, bullet lists and simple graphics around text like circles and squares

Learning LaTex and tiKz help out with this. It looks like a presentation. So latex beamer package with some custom templates. The downside is that latex and tikz has a little bit of a learning curve. But it is worth it in the long run.
Have you used Katex in place of Latex? The latter is much lighter, especially if you're trying to publish a tome for the web.
No, I haven't. But I'll check it out! I had to go the full route a while back. Yes, it was bulky, but got the job done.
That's part of it, but the content still flows top-to-bottom for the most part and is not quite enterprise-ready, packaged into a standalone app.
I assume organisations that need such complex layout also have a budget to pull together immersive HTML pages, infographic design or comprehensive reports. For instance the WHO has some pretty complex and visually pleasing reports; they seem to be using InDesign and I'm sure they use actual designers and researchers to produce them.

I like the idea of using open-source tools to create books and documentation because you could incorporate the process into a workflow that pulls in actual code or on-the-fly generated graphics. I don't own any commercial software, so I don't know how feasable that process would be with something like InDesign.

> I assume organisations that need such complex layout also have a budget to pull together immersive HTML pages

You'd be surprised

> For instance the WHO has some pretty complex and visually pleasing reports; they seem to be using InDesign and I'm sure they use actual designers and researchers to produce them.

That workflow works for once-a-quarter, or maybe once-a-year books. When you need to crank out 3-4 books a week and go through 50 versions in 10 days, InDesign is just too slow, so we resort to PowerPoint