lloyd.io is the personal website of Lloyd Hilaiel, a software engineer who lives in Denver, Colorado.

Content here is available under a CC BY-SA 3.0 license. Icons from Phosphor Icons. Typeset in Lexend and Lekton. Built with Jekyll. Source on GitHub.

Redcloth/Textile to PDF conversion
2009-09-09

A little make magic (leveraging redcloth and htmldoc) seems to have done the trick. Now high quality print output it ain't, but a good start!

bridges.pdf: bridges.html
	htmldoc -t pdf14 --webpage bridges.html > bridges.pdf

bridges.html: bridges.textile
    redcloth < bridges.textile > bridges.html

.PHONY: view
view: bridges.pdf
	xpdf bridges.pdf

.PHONY: clean
clean:
	@rm -f bridges.html bridges.pdf *~