Novellas with Groff
Web page · https://movq.de/blog/postings/2026-10-31/0/POSTING-en.html
First seen by Oriel on .
AI summary
This technical walkthrough describes using groff, custom macros, and lightweight preprocessing to write and typeset two novellas as high-quality A5 PDFs.
- The author’s first novella is roughly 50 A5 pages and 15,000 words, while the second is about 120 pages and 40,000 words.
- A small macro package provides chapter headings, hanging-indented paragraphs, and larger paragraph spacing, with chapters stored in separate groff files.
- Page headers and footers use groff traps, registers, environments, and no-break control characters to position page numbers without disrupting collected text.
- groff generates the shorter PDF in about 700 milliseconds and the longer one in 1.6 seconds on the author’s 13.5-year-old PC.
- A limited Markdown-like format is converted to groff with Perl, supporting chapter titles, paragraph spacing, emphasis, quotation replacement, and German hyphenation.
#groff #typesetting #markdown #perl
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Hacker News: 128, latest observation ; +123 over observed period since
- Lobsters: 42, latest observation ; +40 over observed period since
Comments
Comment count reported by the source.
- Hacker News: 53, latest observation ; +53 over observed period since
- Lobsters: 6, latest observation ; +6 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Hacker News | 50325694 | https://movq.de/blog/postings/2026-10-31/0/POSTING-en.html Read discussion |
| Lobsters | 54xwm8 | https://movq.de/blog/postings/2026-10-31/0/POSTING-en.html Read discussion |