Skip to content

lee2sman/library-of-sir-herbert-quain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Library of Sir Herbert Quain

This is a repo for my NaNoGenMo 2023 project.

NaNoGenMo is an annual event where programmer-artists generate a novel of at least 50,000 words.

Initial idea

From the introduction:

Programmed, compiled and edited by Lee Tusman.

A list of books, pamphlets, zines and assorted publications consisting of rants, screeds, denouncements, manifestos, disagreements, rejoinders and more.

It is a laborious madness and an impoverishing one, the madness of composing vast books - setting out in five hundred pages an idea that can be perfectly related orally in five minutes. The better way to go about it is to pretend that those books already exist, and offer a summary, a commentary on them. --Jorge Luis Borges

Lee Tusman 2023

Content: CC BY

Code: ACSL

Example output

Large PDFs (1750 pages, about 3MB):

cover screenshot
Cover

example page
Example page output

Images were public domain, no known copyright and creative commons licensed images found through various searches for book covers and pamphlets on flickr.com.

Imagemagick was used in the command line with the following incantation to get the particular aesthetic I settled on:

convert *.jpg -remap pattern:gray50 -density 150 *.jpg

To produce a book

The program outputs markdown, which can then be rendered to lovely latex-rendered output via pandoc.

lua main.lua > book.md
pandoc -s book.md -o book.pdf

About

a NaNoGenMo 2023 project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages