News for hackers. Stuff that matters.
Re:You too can write a book by schneems on Saturday November 09, 2024 @04:56PM (#42097147)
I agree. I DID write a book! https://howtoopensource.dev/

My biggest tip is this: Don’t skip getting beta readers. High quality feedback is really hard to come by. I changed my tool chain to add a google form at the end of each chapter and got strong buy in from a handful of people with the finished first draft in a beta state. In the end some bailed but one left amazing feedback resulting in massive structural changes.

The process of writing a book is two things (to me). The most obvious is sharing information. The second, often overlooked, but biggest benefit IMHO is how you will grow and learn the source material even better than you already do. Even if you don’t ever publish it, it’s still worthwhile to putting in the effort to write a book. GLHF.

[dead]
Re:You too can write a book by stogot on Saturday November 09, 2024 @06:03PM (#42097469)
Hackers? Racist slave owners? Stock options? You’ve written several but haven’t had time to publish? What are you going on about?
Re:You too can write a book by dang on Saturday November 09, 2024 @09:23PM (#42098218)
Hi there - from your recent comments it sounds as if you might have been going through some difficult experiences. (If I'm misreading you, I apologize—it's not easy to be sure if one is reading these things correctly.) If so, we all send good wishes.

At the same time, we can't have accounts posting comments like these on HN—especially comments like https://news.ycombinator.com/item?id=42097195 or https://news.ycombinator.com/item?id=42097177. I've therefore banned your account for the time being. I just wanted you to know that it's nothing personal, and that if you get to the point where it won't happen again, we'd be happy to unban you in the future.

Re:You too can write a book by UncleOxidant on Saturday November 09, 2024 @08:44PM (#42098046)
What kind of software did you use to write your book?
Re:You too can write a book by luv2code on Saturday November 09, 2024 @10:20PM (#42098398)
Check out https://typst.app/ if you're looking to write a book yourself.

https://hypermedia.systems/ was written with it.

Re:You too can write a book by tenacious_tuna on Monday November 11, 2024 @03:53PM (#42110330)
edit: the github page directly includes an example of PDF output, so maybe the site is just out of date.

----

I'm a bit confused; the site claims HTML and PDF outputs are "Coming soon"

what export formats are supported? HTML and PDF seem very significant to me, and are how I'd likely share most documents with non-tech inclined people.

Re:You too can write a book by a_gray on Tuesday November 19, 2024 @09:18AM (#42183689)
I started using it a few days ago, but I've been under the impression that PDF has been possible in Typst since mid-2023 at least.

As of 0.4.0, Typst supports PDF, SVG and PNG outputs. The Typst team seem to be rapidly adding features, but I don't think HTML support is coming soon.

Re:You too can write a book by flokl on Thursday November 21, 2024 @06:00PM (#42209574)
There is currently work done to support basic HTML support. PDF is supported since day one of the public release in march 2023 (before v0.1). The roadmap mentions tagged PDF which is mainly needed for accessibility.
Re:You too can write a book by larperdoodle on Saturday November 09, 2024 @11:32PM (#42098555)
I'm writing my book in Markdown files in IntelliJ and pushing it to GitHub. Use the tools you know.
Re:You too can write a book by schneems on Saturday November 09, 2024 @09:04PM (#42098131)
It was a mix of markdown, liquid, scss and ruby scripts via a Rakefile to tie it together to generate html.

I bought a prince XML license for PDF generation. It was a hodgepodge of stuff.

Re:You too can write a book by Daub on Sunday November 10, 2024 @08:33AM (#42100123)
For very long documents Word can be very difficult to maintain. Anything that requires you first write in simple text and then compiles is preferred. I tried Skrivenr, but found it old, clunky, buggy and poorly designed. I was far more productive in LaTex, but encountered problems when converting to Word (which most publishers prefer). Sure I tried Pandoc, but maintaining flow between versions of my book was a small hell.

In the end, I believe that there is no easy solution.

Typst has excellent collaboration tools. Both Typst and Overleaf do not support Doc export, but pdf to doc is relatively easy.