Commented Pollen sample project
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 
 
Matthew Butterick 342673d6ce fix 9 years ago
fontrec initial source commit 9 years ago
fonts initial source commit 9 years ago
images initial source commit 9 years ago
pdf initial source commit 9 years ago
.gitignore ignore scribble stuff 9 years ago
README.md Update README.md 9 years ago
a-brief-history-of-times-new-roman.html.pm initial source commit 9 years ago
about.html.pm initial source commit 9 years ago
accented-characters.html.pm initial source commit 9 years ago
advocate.html.pm initial source commit 9 years ago
all-caps.html.pm initial source commit 9 years ago
alternate-figures.html.pm initial source commit 9 years ago
ampersands.html.pm initial source commit 9 years ago
apostrophes.html.pm initial source commit 9 years ago
appendix.html.pm initial source commit 9 years ago
arial-alternatives.html.pm initial source commit 9 years ago
baskerville-alternatives.html.pm initial source commit 9 years ago
bates-numbering.html.pm initial source commit 9 years ago
bc.html.p initial source commit 9 years ago
bibliography.html.pm initial source commit 9 years ago
block-quotations.html.pm initial source commit 9 years ago
body-text.html.pm initial source commit 9 years ago
bold-or-italic.html.pm initial source commit 9 years ago
bulleted-and-numbered-lists.html.pm initial source commit 9 years ago
business-cards.html.pm initial source commit 9 years ago
calibri-alternatives.html.pm initial source commit 9 years ago
cambria-alternatives.html.pm initial source commit 9 years ago
caption-pages.html.pm initial source commit 9 years ago
carriage-returns.html.pm initial source commit 9 years ago
centered-text.html.pm initial source commit 9 years ago
color.html.pm initial source commit 9 years ago
columns.html.pm initial source commit 9 years ago
concourse.html.pm initial source commit 9 years ago
contracts.html.pm initial source commit 9 years ago
courier-alternatives.html.pm initial source commit 9 years ago
court-opinions.html.pm initial source commit 9 years ago
ellipses.html.pm initial source commit 9 years ago
emails.html.pm initial source commit 9 years ago
equity.html.pm initial source commit 9 years ago
error.html.pm initial source commit 9 years ago
favicon.ico initial source commit 9 years ago
firefox.css initial source commit 9 years ago
first-line-indents.html.pm initial source commit 9 years ago
font-recommendations.html.pm initial source commit 9 years ago
fonts.html.pm initial source commit 9 years ago
foot-and-inch-marks.html.pm initial source commit 9 years ago
footnotes.html.pm initial source commit 9 years ago
foreword.html.pm initial source commit 9 years ago
georgia-alternatives.html.pm initial source commit 9 years ago
gill-sans-alternatives.html.pm initial source commit 9 years ago
goofy-fonts.html.pm initial source commit 9 years ago
grids-of-numbers.html.pm initial source commit 9 years ago
hard-line-breaks.html.pm initial source commit 9 years ago
hard-page-breaks.html.pm initial source commit 9 years ago
header.html.p initial source commit 9 years ago
headings.html.pm initial source commit 9 years ago
helvetica-alternatives.html.pm initial source commit 9 years ago
hierarchical-headings.html.pm initial source commit 9 years ago
how-to-interpret-court-rules.html.pm initial source commit 9 years ago
how-to-make-a-pdf.html.pm initial source commit 9 years ago
hyphenation.html.pm initial source commit 9 years ago
hyphens-and-dashes.html.pm initial source commit 9 years ago
index.html.pm initial source commit 9 years ago
index.ptree initial source commit 9 years ago
info.rkt adjust info.rkt 9 years ago
introduction.html.pm initial source commit 9 years ago
justified-text.html.pm initial source commit 9 years ago
keep-lines-together.html.pm initial source commit 9 years ago
keep-with-next-paragraph.html.pm initial source commit 9 years ago
kerning.html.pm initial source commit 9 years ago
letterhead.html.pm initial source commit 9 years ago
letterspacing.html.pm initial source commit 9 years ago
ligatures.html.pm initial source commit 9 years ago
line-length.html.pm initial source commit 9 years ago
line-numbers.html.pm initial source commit 9 years ago
line-spacing.html.pm initial source commit 9 years ago
math-symbols.html.pm initial source commit 9 years ago
maxims-of-page-layout.html.pm initial source commit 9 years ago
mixing-fonts.html.pm initial source commit 9 years ago
monospaced-fonts.html.pm initial source commit 9 years ago
motions.html.pm initial source commit 9 years ago
nonbreaking-spaces.html.pm initial source commit 9 years ago
one-space-between-sentences.html.pm initial source commit 9 years ago
opentype-features.html.pm initial source commit 9 years ago
optional-hyphens.html.pm initial source commit 9 years ago
ordinals.html.pm initial source commit 9 years ago
page-break-before.html.pm initial source commit 9 years ago
page-layout.html.pm initial source commit 9 years ago
page-margins.html.pm initial source commit 9 years ago
palatino-alternatives.html.pm initial source commit 9 years ago
paragraph-and-character-styles.html.pm initial source commit 9 years ago
paragraph-and-section-marks.html.pm initial source commit 9 years ago
point-size.html.pm initial source commit 9 years ago
pollen-lp-test.rkt start lp version of source 9 years ago
pollen-lp.scrbl fix 9 years ago
pollen.rkt finish "pollen.rkt" comments 9 years ago
presentations.html.pm initial source commit 9 years ago
pricing-table.rkt initial source commit 9 years ago
printers-and-paper.html.pm initial source commit 9 years ago
research-memos.html.pm initial source commit 9 years ago
resumes.html.pm initial source commit 9 years ago
rules-and-borders.html.pm initial source commit 9 years ago
sample-documents.html.pm initial source commit 9 years ago
signature-lines.html.pm initial source commit 9 years ago
sku.rkt initial source commit 9 years ago
small-caps.html.pm initial source commit 9 years ago
space-above-and-below.html.pm initial source commit 9 years ago
space-between-paragraphs.html.pm initial source commit 9 years ago
straight-and-curly-quotes.html.pm initial source commit 9 years ago
styles.css initial source commit 9 years ago
styles.css.pp initial source commit 9 years ago
system-fonts.html.pm initial source commit 9 years ago
tables.html.pm initial source commit 9 years ago
tabs-and-tab-stops.html.pm initial source commit 9 years ago
template.html.p initial source commit 9 years ago
text-formatting.html.pm initial source commit 9 years ago
toc.html.pm initial source commit 9 years ago
trademark-and-copyright-symbols.html.pm initial source commit 9 years ago
triplicate.html.pm initial source commit 9 years ago
type-composition.html.pm initial source commit 9 years ago
typewriter-habits.html.pm initial source commit 9 years ago
underlining.html.pm initial source commit 9 years ago
utility.ptree initial source commit 9 years ago
verdana-alternatives.html.pm initial source commit 9 years ago
watermarks.html.pm initial source commit 9 years ago
web-and-email-addresses.html.pm initial source commit 9 years ago
what-is-good-typography.html.pm initial source commit 9 years ago
what-is-typography.html.pm initial source commit 9 years ago
where-do-the-rules-come-from.html.pm initial source commit 9 years ago
white-space-characters.html.pm initial source commit 9 years ago
who-is-typography-for.html.pm initial source commit 9 years ago
why-does-typography-matter.html.pm initial source commit 9 years ago
why-typography-matters.html.pm initial source commit 9 years ago
widow-and-orphan-control.html.pm initial source commit 9 years ago
word-spaces.html.pm initial source commit 9 years ago

README.md

© 200815 Matthew Butterick

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

The website is built with Pollen. Im sharing this code as a Pollen sample project. Because when Im 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.

Optional 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

Installation is optional because you can also clone the repo in the usual ways and run it with Pollen.

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 thats the stuff I sell for money so that I can keep Pollen itself under the LGPL. Lets not mess with a good thing.

If you have questions not covered here, please post them on the Pollen mailing list: http://groups.google.com/forum/#!forum/pollenpub

Which files are commented?

pollen.rkt