frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

I Bypassed Adobe and Microsoft to Build a Git-Tracked Book Production Pipeline

https://www.djspeckhals.com/posts/2026-05-22-how-i-bypassed-adobe-and-microsoft-to-build-a-git-tracked-book-production-pipeline/
31•dustin1114•4d ago

Comments

arikrahman•58m ago
Did the author create the Christian novellas he's mentioned? Can't tell by the phrasing. That would be impressive enough on its own, combined with the tech stack?
gchamonlive•54m ago
From the about page:

  D. J. Speckhals is the author of the “Witnesses of the Light” historical fiction trilogy, which transports readers to fifteenth-century Europe to explore the resilient faith of the Waldensians.
diamondap•49m ago
Kudos to you for doing that.

I've been publishing print and ebooks since 2015, and I can attest to the fact the Word to PDF X-1/a to epub/kindle pipeline is painful. Making minor edits after publication is also painful, as the author notes, and can be error prone if you fail to make identical changes to all formats.

The problem was bad enough that I built by own markdown to HTML to PDF/X-1a processor using Python, WeasyPrint, and ghostscript. This also allows me to use git for version control, and I can make formatting changes using vanilla CSS. My tools are currently too crude for the average non-tech writer to use, but they save me hours every time I use them.

For any of you hackers out there looking for an untapped market, try making a user-friendly tool that converts Word, PDF and/or similar formats to the print-ready PDF/X-1a, PDF/X-3 and PDF/X-4 formats. At the moment, all the existing tools are proprietary and expensive, and many are difficult to use. This won't be a big money maker, but it will certainly be welcome by many indie authors.

helterskelter•46m ago
My only problem using git and a text editor is deciding whether I want hard or soft wraps. Vim handles hard wraps better IMO and you can change the git diff engine to something like difft, which makes it much more bearable than the default for hard wrap prose.

But softwrap definitely has its advantages: no hard line breaks makes copying the text into other mediums easier, git diffs show only which paragraphs you edited and not a bunch of line diff noise no matter which engine you use. Only problem is it breaks my yy, dd, cc muscle memory, as AFAIK you can't force those to work on virtual (vs logical) lines.

BrenBarn•16m ago
The annoyances of using "soft wraps" with various kinds of tools is one of the maddening irritations of our software landscape. Inserting non-semantic newlines in content just to make things fit the screen is insane.
kyboren•44m ago
AKA what CS PhD students have been doing ~forever.

I guess this is like medical researchers "discovering" basic calculus or an office worker discovering that SFTP, sshfs, and git work fine and they don't need Dropbox after all.

What's common knowledge in one field can apparently still be alien to people outside the field, even in the age of LLMs.

Just wait until the author finds out about Overleaf...

KPGv2•21m ago
> what CS PhD students have been doing ~forever.

Or what every researcher has been doing for literally decades (except with other versioning systems, but still typesetting without Word or Adobe).

No need for techbros to pat themselves on the back as innovators.

I typeset my novels in LaTeX and use GIT. I even just clone a base repo whenever I'm going to release another.

Exoristos•31m ago
As someone who worked for years in commercial print, before most manufacturing moved overseas, I recall the workflows the article discusses as being more automate-able than the author seems to understand. For example, "Making the slightest change became a chore. [1.] Update the 'master' DOCX. [2.] Update the InDesign file ..." --the appropriate way to use an external document as master in InDesign is to use the Place command, which autoupdates text changes as they are made in Word. As another example, InDesign supports multiple formats of EPUB by direct export. I also question the author's familiarity with common LaTeX workflows. "'Why didn’t you just author it in LaTeX? ...' you might ask. [B]ut I prefer writing novels in a word processor, not a text editor." And, "How do I convert an ODT file to TeX?" Word processors offer exports of all kinds, including to plain text, and the purpose of a TeX editor is, like InDesign, to typeset text that is often written elsewhere. Capturing the styling from the word processor seems antithetical to the desire for an advanced typesetting tool.

Overall, as a technical writeup I enjoyed the article; however, I would caution that the author seems to approach publishing from an amateur perspective.

g42gregory•29m ago
Hopefully some of the writers are reading this:

I love buying and reading physical books. However, about half of the books (I read mostly programming books) have letters that are printed pixelated. This is infuriating to me. No one bothers to run a trial print and see what comes out?

The root cause of this: PDF will look fine, but the text color is usually set slightly off black (why!!??). The eye couldn’t really see the difference and PDF renders smoothly. However, commercial printers couldn’t handle that properly.

Solution: set the text color to full black, you are using (most of the time) black and white printer!

You might need to have two PDF versions: one for printing and one for digital distribution (but why would you have off-black text anyway?).

sscaryterry•26m ago
This is why PDF/X exists
KPGv2•23m ago
> why is the text color set slightly off black

Because pure black causes eye strain. Dark gray on white is superior for long reading sessions when your paper is white. The contrast really hurts after a while if you do pure black on pure white. This is a known phenomenon.

In fact, there's experimental evidence (https://www.nature.com/articles/s41598-018-28904-x) that this high contrast plays a hand in the onset of myopia, which in extreme forms is correlated with glaucoma and other vision disorders.

HanClinto•4m ago
Setting up good book publishing pipelines with version control + CI/CD might sounds simple, but I don't think it's trivial.

One of the best examples of this that I've ever seen is The Sourdough Framework [0] -- really impressed with the way that versioning and publishing is integrated in that book.

And yes -- I know it sounds like yet another Javascript library -- but it's actually a book about sourdough bread making. It's been discussed here several times before, but this one from 2023 [1] may have been the most popular (103 comments)

[0] - https://github.com/hendricius/the-sourdough-framework [1] - https://news.ycombinator.com/item?id=35961590

sixtyj•3m ago
Pandoc, typst, openleaf, asciidoc, quarkdown… all of them are text-based and you can achieve almost everything with them. The only exception is a magazine or newspaper or leaflets or brochures layout that can be profesionally made with Affinity or InDesign. (I am talking from 25 years’ experience in typesetting.)

Stop Advertising in Your Commits

https://akselmo.dev/posts/stop-advertising-in-your-commits/
71•speckx•1h ago•39 comments

A few interesting modern pixel fonts

https://unsung.aresluna.org/a-few-interesting-modern-pixel-fonts/
67•zdw•23h ago•17 comments

The Ballad of TIGIT

https://www.owlposting.com/p/the-ballad-of-tigit
68•crescit_eundo•3h ago•10 comments

I Bypassed Adobe and Microsoft to Build a Git-Tracked Book Production Pipeline

https://www.djspeckhals.com/posts/2026-05-22-how-i-bypassed-adobe-and-microsoft-to-build-a-git-tr...
31•dustin1114•4d ago•13 comments

Rosalind: A genomics toolkit in Rust running whole-genome pipelines on a laptop

https://github.com/logannye/rosalind
49•samuell•5d ago•7 comments

Spain blocks prediction markets Polymarket, Kalshi over lack of gambling licence

https://www.reuters.com/business/spain-blocks-prediction-markets-polymarket-kalshi-over-lack-gamb...
509•thm•6h ago•235 comments

Launch HN: Minicor (YC P26) – Windows desktop automations at scale

https://www.minicor.com/
51•fchishtie•4h ago•40 comments

C64 Basic: Game Map Overhead "Camera View"

https://retrogamecoders.com/overhead-camera-view/
52•ibobev•5h ago•7 comments

Outsourcing plus local AI will soon become more economical vs. frontier labs

https://www.signalbloom.ai/posts/outsourcing-plus-localai-will-soon-become-more-economical-vs-fro...
171•GodelNumbering•7h ago•179 comments

Language Models Need Sleep

https://arxiv.org/abs/2605.26099
138•juxtapose•4h ago•111 comments

Sage Care (YC S24) Is Hiring Software Engineers

https://www.ycombinator.com/companies/sagecare/jobs/xtloH8r-senior-software-engineer
1•ian-gillis•2h ago

DynIP – Dynamic DNS with RFC 2136, IPv6, DNSSEC, and BYOD

https://dynip.dev/
278•dynip•12h ago•112 comments

Dropbox CEO Drew Houston to step down

https://www.cnbc.com/2026/05/26/dropbox-ceo-drew-houston-ashraf-alkarmi.html
144•aghuang•6h ago•152 comments

Are we self-sovereign PKI yet?

https://buffrr.dev/blog/are-we-self-sovereign-pki-yet/
44•ca98am79•4d ago•13 comments

Taking a walk may lead to more creativity than sitting, study finds (2014)

https://www.apa.org/news/press/releases/2014/04/creativity-walk
550•bilsbie•21h ago•217 comments

Opaque Types in Python

https://blog.glyph.im/2026/05/opaque-types-in-python.html
83•lumpa•3d ago•34 comments

Netherlands blocks US takeover of vital digital supplier

https://www.politico.eu/article/netherlands-blocks-us-takeover-vital-digital-supplier/
423•vrganj•7h ago•162 comments

The real cost of owning a home

https://ericturner.dev/posts/cost-of-home-ownership/
105•ggcr•3h ago•291 comments

Performance of Rust Language [pdf]

https://github.com/yugr/rust-slides/
98•tanelpoder•20h ago•76 comments

Use boring languages with LLMs

https://jry.io/writing/use-boring-languages-with-llms/
101•evakhoury•4d ago•79 comments

Extending MySQL with VillageSQL

https://maxdemarzi.com/2026/05/21/extending-mysql-with-villagesql/
4•maxdemarzi•2d ago•0 comments

Phantasy Star IV – 1993 Developer Interviews

https://shmuplations.com/phantasystariv/
120•speckx•4d ago•47 comments

The user is visibly frustrated

https://pscanf.com/s/354/
241•croes•15h ago•209 comments

Uber, Lyft drivers in Massachusetts form first US ride-share union

https://www.reuters.com/business/world-at-work/uber-lyft-drivers-massachusetts-form-first-us-ride...
216•onemoresoop•3h ago•114 comments

How Shamir's Secret Sharing Works

https://ente.com/blog/how-shamirs-secret-sharing-works/
349•subract•21h ago•64 comments

What color is your function? (2015)

https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/
58•tosh•3h ago•47 comments

How do you build a semiconductor company on something that's free?

https://www.siliconimist.com/p/the-open-source-silicon-business
69•johncole•4d ago•26 comments

Ferrari Luce

https://www.ferrari.com/en-EN/auto/ferrari-luce
453•jumploops•22h ago•840 comments

Using AI to write better code more slowly

https://nolanlawson.com/2026/05/25/using-ai-to-write-better-code-more-slowly/
1089•signa11•20h ago•402 comments

Incident with Actions and Pages

https://www.githubstatus.com/incidents/gnftqj9htp0g
78•hakube•8h ago•24 comments