Live data from Hacker News

Laying Out a Print Book with CSS

iangmcdowell.com

1–10 of 121 posts

Re: Laying Out a Print Book with CSS

#3
Excellent work. This is good time to remind web front-end developers that you don't need to click a link to bring up a "printable" version of a page. You can make every HTML page print-compatible through stylesheet rules wrapped in @media print { ... } or .

Re: Laying Out a Print Book with CSS

#5
I love reading printed books and blog posts. For those interested, a starting point for printable CSS is Gutenberg[1]. This has been my go-to for the print media in CSS. I believe I stopped looking for another one with my lack of deeper involvement in development of styles.

I'm also guilty of picking Baskerville as the default classic look to printable font-family and even had resorted to it for screen.

Besides the tools mentioned in the article (Vellum and Atticus), Ulysses also has a good option for print-ready output.

1. https://github.com/BafS/Gutenberg

Re: Laying Out a Print Book with CSS

#7
post #6

If the objective was not spend on design software, why not use latex?

I just scrolled through the page. I think https://iangmcdowell.com/blog/book_breaks.png says it all, quite openly. For anyone who delved a bit deeper into the topic, this is horrible to look at.

Re: Laying Out a Print Book with CSS

#8
Awesome writeup! I enjoyed the tongue-in-cheek style along with the technical stuff! And CSS is like he mentions - "One he'll of a hammer"

Also, towards the end, this gave me a chuckle!

> It’s like Linux: free so long as your time has no value.

Re: Laying Out a Print Book with CSS

#9

Awesome writeup! I enjoyed the tongue-in-cheek style along with the technical stuff! And CSS is like he mentions - "One he'll of a hammer" Also, towards the end, this gave me a chuckle! > It’s like Linux: free so long as your time has no value.

Yeah. I was going to echo this sentiment but it looks like you pre emptively followed me.

The article has the air of a hack done just for the fun of it because the author can. This was popular once upon a time but these days, it's mostly stuff written to promote certain things or as marketing copy.

Re: Laying Out a Print Book with CSS

#10

Awesome writeup! I enjoyed the tongue-in-cheek style along with the technical stuff! And CSS is like he mentions - "One he'll of a hammer" Also, towards the end, this gave me a chuckle! > It’s like Linux: free so long as your time has no value.

Yeah. I was going to echo this sentiment but it looks like you pre emptively followed me. The article has the air of a hack done just for the fun of it because the author can. This was popular once upon a time but these days, it's mostly stuff written to promote certain things or as marketing copy.

This is marketing, don’t kid yourself.
Post reply on HN