Skip to content
Commented Pollen source for typographyforlawyers.com
Perl Racket Pascal OpenEdge ABL Puppet CSS Makefile
Branch: master
Clone or download
Latest commit 26b4cff Aug 25, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
fontrec update samples May 24, 2019
fonts .gitignore is now working Dec 22, 2017
images initial source commit Dec 10, 2015
pdf .gitignore is now working Apr 25, 2017
scribblings remove font pages Jul 23, 2019
.gitignore ignore Mar 23, 2018
Makefile update makefile Dec 1, 2018
README.md Update README.md Aug 25, 2019
a-brief-history-of-times-new-roman.html.pm initial source commit Dec 10, 2015
about.html.pm tweaks to xrefs Jan 5, 2017
accented-characters.html.pm initial source commit Dec 10, 2015
all-caps.html.pm initial source commit Dec 10, 2015
alternate-figures.html.pm initial source commit Dec 10, 2015
ampersands.html.pm initial source commit Dec 10, 2015
apostrophes.html.pm initial source commit Dec 10, 2015
appendix.html.pm initial source commit Dec 10, 2015
arial-alternatives.html.pm initial source commit Dec 10, 2015
baskerville-alternatives.html.pm initial source commit Dec 10, 2015
bates-numbering.html.pm initial source commit Dec 10, 2015
bc.html.p initial source commit Dec 10, 2015
bibliography.html.pm initial source commit Dec 10, 2015
block-quotations.html.pm initial source commit Dec 10, 2015
body-text.html.pm initial source commit Dec 10, 2015
bold-or-italic.html.pm initial source commit Dec 10, 2015
bulleted-and-numbered-lists.html.pm initial source commit Dec 10, 2015
business-cards.html.pm initial source commit Dec 10, 2015
calibri-alternatives.html.pm initial source commit Dec 10, 2015
cambria-alternatives.html.pm initial source commit Dec 10, 2015
caption-pages.html.pm tweaks to xrefs Jan 5, 2017
carriage-returns.html.pm
centered-text.html.pm
color.html.pm initial source commit Dec 10, 2015
columns.html.pm initial source commit Dec 10, 2015
contracts.html.pm initial source commit Dec 10, 2015
courier-alternatives.html.pm initial source commit Dec 10, 2015
court-opinions.html.pm initial source commit Dec 10, 2015
ellipses.html.pm initial source commit Dec 10, 2015
emails.html.pm initial source commit Dec 10, 2015
error.html.pm initial source commit Dec 10, 2015
favicon.ico initial source commit Dec 10, 2015
firefox.css initial source commit Dec 10, 2015
first-line-indents.html.pm
font-recommendations.html.pm OS X → Mac OS Apr 24, 2017
foot-and-inch-marks.html.pm initial source commit Dec 10, 2015
footnotes.html.pm initial source commit Dec 10, 2015
foreword.html.pm initial source commit Dec 10, 2015
georgia-alternatives.html.pm initial source commit Dec 10, 2015
gill-sans-alternatives.html.pm initial source commit Dec 10, 2015
goofy-fonts.html.pm initial source commit Dec 10, 2015
grids-of-numbers.html.pm initial source commit Dec 10, 2015
hard-line-breaks.html.pm initial source commit Dec 10, 2015
hard-page-breaks.html.pm initial source commit Dec 10, 2015
header.html.p initial source commit Dec 10, 2015
headings.html.pm initial source commit Dec 10, 2015
helvetica-alternatives.html.pm initial source commit Dec 10, 2015
hierarchical-headings.html.pm initial source commit Dec 10, 2015
how-to-interpret-court-rules.html.pm initial source commit Dec 10, 2015
how-to-make-a-pdf.html.pm OS X → Mac OS Apr 24, 2017
hyphenation.html.pm initial source commit Dec 10, 2015
hyphens-and-dashes.html.pm initial source commit Dec 10, 2015
ie.css.pp IE support warning Mar 23, 2018
index.html.pm remove font pages Jul 23, 2019
index.ptree initial source commit Dec 10, 2015
info.rkt convert pollen.rkt to literate-programming format Dec 31, 2015
introduction.html.pm OS X → Mac OS Apr 24, 2017
justified-text.html.pm initial source commit Dec 10, 2015
keep-lines-together.html.pm initial source commit Dec 10, 2015
keep-with-next-paragraph.html.pm initial source commit Dec 10, 2015
kerning.html.pm initial source commit Dec 10, 2015
letterhead.html.pm initial source commit Dec 10, 2015
letterspacing.html.pm initial source commit Dec 10, 2015
ligatures.html.pm initial source commit Dec 10, 2015
line-length.html.pm initial source commit Dec 10, 2015
line-numbers.html.pm initial source commit Dec 10, 2015
line-spacing.html.pm initial source commit Dec 10, 2015
math-symbols.html.pm initial source commit Dec 10, 2015
maxims-of-page-layout.html.pm initial source commit Dec 10, 2015
mixing-fonts.html.pm initial source commit Dec 10, 2015
monospaced-fonts.html.pm initial source commit Dec 10, 2015
motions.html.pm initial source commit Dec 10, 2015
nonbreaking-spaces.html.pm initial source commit Dec 10, 2015
one-space-between-sentences.html.pm typo Apr 22, 2017
opentype-features.html.pm initial source commit Dec 10, 2015
optional-hyphens.html.pm initial source commit Dec 10, 2015
order-failure.html.pm new payment system Oct 29, 2017
order-success.html.pm adjust order success page Oct 31, 2017
ordinals.html.pm initial source commit Dec 10, 2015
page-break-before.html.pm initial source commit Dec 10, 2015
page-layout.html.pm initial source commit Dec 10, 2015
page-margins.html.pm initial source commit Dec 10, 2015
palatino-alternatives.html.pm initial source commit Dec 10, 2015
paragraph-and-character-styles.html.pm initial source commit Dec 10, 2015
paragraph-and-section-marks.html.pm fix cross-reference (closes #2) Feb 20, 2016
point-size.html.pm initial source commit Dec 10, 2015
pollen-test.rkt correct some tests Jan 7, 2017
pollen.rkt IE support warning Mar 23, 2018
presentations.html.pm initial source commit Dec 10, 2015
printers-and-paper.html.pm initial source commit Dec 10, 2015
research-memos.html.pm initial source commit Dec 10, 2015
resumes.html.pm fix typo Jan 21, 2016
rules-and-borders.html.pm initial source commit Dec 10, 2015
sample-documents.html.pm initial source commit Dec 10, 2015
signature-lines.html.pm initial source commit Dec 10, 2015
small-caps.html.pm initial source commit Dec 10, 2015
space-above-and-below.html.pm initial source commit Dec 10, 2015
space-between-paragraphs.html.pm initial source commit Dec 10, 2015
straight-and-curly-quotes.html.pm initial source commit Dec 10, 2015
styles.css.pp remove font pages Jul 23, 2019
system-fonts.html.pm OS X → Mac OS Apr 24, 2017
tables.html.pm initial source commit Dec 10, 2015
tabs-and-tab-stops.html.pm
template.html.p remove font pages Jul 23, 2019
text-formatting.html.pm initial source commit Dec 10, 2015
toc.html.pm initial source commit Dec 10, 2015
trademark-and-copyright-symbols.html.pm initial source commit Dec 10, 2015
type-composition.html.pm initial source commit Dec 10, 2015
typewriter-habits.html.pm initial source commit Dec 10, 2015
underlining.html.pm initial source commit Dec 10, 2015
utility.ptree IE support warning Mar 23, 2018
verdana-alternatives.html.pm initial source commit Dec 10, 2015
watermarks.html.pm initial source commit Dec 10, 2015
web-and-email-addresses.html.pm initial source commit Dec 10, 2015
web-code.html.pm restore font samples Sep 16, 2018
what-is-good-typography.html.pm initial source commit Dec 10, 2015
what-is-typography.html.pm initial source commit Dec 10, 2015
where-do-the-rules-come-from.html.pm initial source commit Dec 10, 2015
white-space-characters.html.pm initial source commit Dec 10, 2015
who-is-typography-for.html.pm initial source commit Dec 10, 2015
why-does-typography-matter.html.pm initial source commit Dec 10, 2015
why-typography-matters.html.pm initial source commit Dec 10, 2015
widow-and-orphan-control.html.pm initial source commit Dec 10, 2015
word-spaces.html.pm initial source commit Dec 10, 2015

README.md

© 2008–19 Matthew Butterick

This is the source code for an earlier version of the Typography for Lawyers web-based book, which is an abbreviated version of the paperback.

The website is built with Pollen. I’m sharing this code as a Pollen sample project. Because when I’m trying to learn a new programming tool, I prefer to study real projects rather than synthetic examples.

To run this project, you need to first install Racket and Pollen.

Installation

Using Racket 6.0+, install from the command line:

raco pkg install pollen-tfl

And update like so:

raco pkg update --update-deps pollen-tfl

Documentation

Scribble documentation is provided for the main pollen.rkt file. (Search for the pollen-tfl module in the Racket docs.)

Other source files contain comments.

You can also read the docs online, right now.

But this repo is not open source

Everything in this repository belongs to me and not you.

I give you permission to use this repo to learn about Pollen, including running and modifying the files.

I also give you permission to reuse or adapt any of the Racket & Pollen source code, or JavaScript / CSS / HTML, for your own Racket & Pollen projects.

I do NOT give you permission to reuse any of the content of this web-based book (including text, images, and PDFs), nor the fonts that are embedded in the CSS. Why not? Because that’s the stuff I sell for money so that I can keep Pollen itself under the LGPL. Let’s not mess with a good thing.

If you have questions not covered here, please post them on pollen-users: https://github.com/mbutterick/pollen-users/issues

You can’t perform that action at this time.