Novellas with Groff
Posted by dverlaeckt80 19 hours ago
Comments
Comment by tmoertel 17 hours ago
When I started writing fiction, here’s what I came up with. I write in Google Docs because it’s lightweight, works everywhere, and can easily export to Markdown format. From there, I manage the Markdown source in Git and Emacs. For typesetting—I cannot abide crappy word-processor output—I used to use Pandoc to generate LaTeX markup and run LuaLaTeX to produce PDFs. But that took several seconds. Now, I use Typst to go straight from Markdown to PDF files. It’s pretty much instant.
If you want to see what the output looks like, here’s the first chapter of my current project:
https://drive.google.com/file/d/1Wl4k_rdYGFZp-r5nq864r5CNzD1...
(Notice: This is a typesetting sample, not a writing sample. It’s my W40k-adjacent fanfic, so you have been warned.)
It’s set in 12pt Erewhon, which is an enhanced version of Andrey V. Panov’s Heuristica font family, which extends Robert Slimbach’s Utopia font family. Slimbach is a sublime type designer—he created Minion—and Utopia is one of his early works that is especially spirited.
Comment by pmdr 16 hours ago
And perhaps infinitely procrastinating on the actual writing itself...
Comment by Semiapies 16 hours ago
Me, I just write in Emacs, set up a makefile, and export to PDF with Pandoc. But I admire the work to make a comfortable yet undistracting writing environment.
Comment by computerfriend 12 hours ago
Comment by kzrdude 10 hours ago
Comment by tmoertel 16 hours ago
Comment by marttt 5 hours ago
Comment by anthk 11 hours ago
https://t3x.org has two novels and tons of comp sci books probably made with very little...
Comment by sloum 17 hours ago
I like Erewhon. Nice font.
Comment by kragen 12 hours ago
She didn't have much choice of fonts on the pre-Graftrax Epson MX-80 she used. I think it was Pica or Elite.
Typesetting is certainly very satisfying, but it's not essential to writing.
Comment by solyin 10 hours ago
Comment by tmoertel 5 hours ago
For epubs, right now I'm using Pandoc: https://pandoc.org/epub.html. But, again, that's just now for the writing and proofing stages. For final output, I'll consider my options. (I may still go with Pandoc, but right now I'm using it because I was already using it for typesetting and so it was a low-friction choice.)
Comment by breuleux 11 hours ago
Comment by dofm 17 hours ago
Might still have the source code to that work somewhere. And it probably still parses.
Can't remember why I did it but on reflection it might simply have been that LaTeX was not going to fit on my extremely space-constrained Linux machine but troff was already there.
ETA: this sentence made me chuckle. "It's much easier to read without the inline comments:" Oh yes, much ;-)
Comment by fweimer 15 hours ago
Comment by 2b3a51 14 hours ago
Larry Kollar has provided a recreated source code repository at
https://github.com/larrykollar/Unix-Text-Processing
I recollect compiling the source from the github account having only to sort out one font path issue.
Comment by tmoertel 8 hours ago
> The text of this book is set in Times Roman; headings are Helvetica; examples are Courier. Text was prepared using the troff text formatter and the devps PostScript filter. Figures are produced with a Macintosh. Printing is done on an Apple LaserWriter.
Comment by staplung 13 hours ago
Groff seems to be somewhat supplanted by mandoc these days, at least on the BSDs.
Comment by kragen 12 hours ago
Comment by throwaway81523 8 hours ago
I also remember writing a crude HTML to text renderer for an old Linux box because lynx -dump was too slow then. I wonder if the code I wrote is still around anywhere. Lynx on today's hardware is extremely fast.
Comment by 2b3a51 15 hours ago
Nils Holm (https://www.t3x.org/) also publishes ebooks using groff, but he does not (so far as I am aware) publish his markup or macros.
As to the writing: I'm still working on the sentences, so 45 pages is a distant goal.
Comment by armcat 17 hours ago
Comment by tmoertel 17 hours ago
Comment by howunfortunate 16 hours ago
Comment by bawolff 12 hours ago
Personally i feel for the guy, imagine the whole world insisting you only work on the project you started back in 1991.
Comment by 3eb7988a1663 15 hours ago
Comment by literallyanythi 15 hours ago
Honestly, the amount of writing doesn't even seem that useful of a metric. Stephen king only wrote ~3x more than George, and about 6x more than someone like Nabakov (1.5 to 2 million words across two languages). The real takeaway IMO is to just write regardless of the technology you use
Comment by sloum 15 hours ago
Comment by literallyanythi 14 hours ago
And while not a novelist, Tarantino famously writes his screenplays all by hand as well.
Comment by atombender 12 hours ago
Some notable examples I remember include J. R. R. Tolkien, Patrick O'Brian (who wrote all 21 books in the Aubrey-Maturin series by hand, and claimed at one point to write with "ink and quill"), Nabokov, Joyce Carol Oates, Ursula LeGuin, and Truman Capote.
Comment by themadturk 9 hours ago
Comment by viccis 16 hours ago
Comment by ggm 9 hours ago
When we had a continuous paper wet process xerography printer, the cut-marks were a godsend. Once we stopped having that printer, they were a major annoyance.
For quite a long time TBL would spit out misformed tables. Mike Lesk told me this was an adustment added for the throwback function in the printer they used at bell labs and was needed to "shoogle" the table horizontals back into place for the next table. -Apparently printing a page-width worth of underscores in sequence caused an accumulating mis-alignment so they added some code to throw it back.
Comment by marttt 15 hours ago
"This book was typeset (troff -ms|lp -dstdout|ps2pdf) in URW Garamond No. 8 by the author, using an MNT Reform laptop running the 9front operating system."
Comment by anthk 11 hours ago
Comment by tosti 13 hours ago
Comment by pawn1911 10 hours ago
Comment by helterskelter2 17 hours ago
Comment by gcapell 10 hours ago
Comment by viccis 16 hours ago
Sometimes I wonder if writing more short stories would be like playing 9x9 Go games for new authors. It won't exercise the big structural challenges, and it comes with its own challenges, but it does practice a lot of this in a much more digestable size.
As far as world building goes, I think GRRM/Rothfuss/Sanderson style "world building through epic scales of structures and systems kept consistent" is overrated and maybe even Considered Harmful if you look at what it's done to my first two examples. By contrast, Borges does more world building with the ontological tricks in his <20 page short stories than it feels like Rothfuss ever did, in much the same way Tolkien did it with similar tricks. For example, treating himself as a mere translator and even doing some philologist tricks like telling you he's simplifying some names into English (Sam's real name? "Banazîr"), and withholding more information rather than dumping it on you, means that his stories feel like recovered translated works from a world just as real as ours and that's why people still devour The Silmarillion just to get more of a look into it.
Borges would do similar in his short stories, even embracing a little bit of inaccuracies in the (fictional) narrator's account of some events, then hitting you with a surprise endnote at the end of the story with scholia about the provenance of the story given that narrator's mistakes.
Wolfe was famous for it too. Embrace some of the challenge of getting the details right and if you frame it right, it makes it more human and more "real".
Comment by egypturnash 9 hours ago
Comment by delusional 16 hours ago
Comment by jmclnx 18 hours ago
export GROFF_NO_SGR="Y"
or setenv GROFF_NO_SGR "Y"
depending upon your shell. Useful for old printers like I have :)Comment by hagbard_c 13 hours ago
Comment by WorseIsBetter 14 hours ago
Comment by TeaVMFan 17 hours ago
I suspect many people will prefer HTML for markup. That's why I built EPublish, which is related but for an HTML -> EPub workflow:
Comment by pasc1878 16 hours ago
Comment by forgotpwd16 14 hours ago
Comment by kragen 12 hours ago
Comment by forgotpwd16 13 hours ago
Most people hate writing HTML by hand. That's why we got lightweight markup languages like Markdown, Asciidoc, reST, etc.
Comment by kragen 12 hours ago
Many people will prefer Markdown or Commonmark for markup.