News for hackers. Stuff that matters.
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.