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 4fde9b35ea replace missing fonts 7 years ago
fontrec replace missing fonts 7 years ago
fonts initial source commit 8 years ago
images initial source commit 8 years ago
pdf .gitignore is now working 7 years ago
scribblings correct some tests 7 years ago
.gitignore more ignore 7 years ago
README.md Update README.md 7 years ago
a-brief-history-of-times-new-roman.html.pm initial source commit 8 years ago
about.html.pm tweaks to xrefs 7 years ago
accented-characters.html.pm initial source commit 8 years ago
advocate.html.pm initial source commit 8 years ago
all-caps.html.pm initial source commit 8 years ago
alternate-figures.html.pm initial source commit 8 years ago
ampersands.html.pm initial source commit 8 years ago
apostrophes.html.pm initial source commit 8 years ago
appendix.html.pm initial source commit 8 years ago
arial-alternatives.html.pm initial source commit 8 years ago
baskerville-alternatives.html.pm initial source commit 8 years ago
bates-numbering.html.pm initial source commit 8 years ago
bc.html.p initial source commit 8 years ago
bibliography.html.pm initial source commit 8 years ago
block-quotations.html.pm initial source commit 8 years ago
body-text.html.pm initial source commit 8 years ago
bold-or-italic.html.pm initial source commit 8 years ago
bulleted-and-numbered-lists.html.pm initial source commit 8 years ago
business-cards.html.pm initial source commit 8 years ago
calibri-alternatives.html.pm initial source commit 8 years ago
cambria-alternatives.html.pm initial source commit 8 years ago
caption-pages.html.pm tweaks to xrefs 7 years ago
carriage-returns.html.pm initial source commit 8 years ago
centered-text.html.pm initial source commit 8 years ago
color.html.pm initial source commit 8 years ago
columns.html.pm initial source commit 8 years ago
concourse.html.pm initial source commit 8 years ago
contracts.html.pm initial source commit 8 years ago
courier-alternatives.html.pm initial source commit 8 years ago
court-opinions.html.pm initial source commit 8 years ago
ellipses.html.pm initial source commit 8 years ago
emails.html.pm initial source commit 8 years ago
equity.html.pm initial source commit 8 years ago
error.html.pm initial source commit 8 years ago
favicon.ico initial source commit 8 years ago
firefox.css initial source commit 8 years ago
first-line-indents.html.pm initial source commit 8 years ago
font-recommendations.html.pm OS X → Mac OS 7 years ago
fonts.html.pm initial source commit 8 years ago
foot-and-inch-marks.html.pm initial source commit 8 years ago
footnotes.html.pm initial source commit 8 years ago
foreword.html.pm initial source commit 8 years ago
georgia-alternatives.html.pm initial source commit 8 years ago
gill-sans-alternatives.html.pm initial source commit 8 years ago
goofy-fonts.html.pm initial source commit 8 years ago
grids-of-numbers.html.pm initial source commit 8 years ago
hard-line-breaks.html.pm initial source commit 8 years ago
hard-page-breaks.html.pm initial source commit 8 years ago
header.html.p initial source commit 8 years ago
headings.html.pm initial source commit 8 years ago
helvetica-alternatives.html.pm initial source commit 8 years ago
hierarchical-headings.html.pm initial source commit 8 years ago
how-to-interpret-court-rules.html.pm initial source commit 8 years ago
how-to-make-a-pdf.html.pm OS X → Mac OS 7 years ago
hyphenation.html.pm initial source commit 8 years ago
hyphens-and-dashes.html.pm initial source commit 8 years ago
index.html.pm OS X → Mac OS 7 years ago
index.ptree initial source commit 8 years ago
info.rkt convert pollen.rkt to literate-programming format 8 years ago
introduction.html.pm OS X → Mac OS 7 years ago
justified-text.html.pm initial source commit 8 years ago
keep-lines-together.html.pm initial source commit 8 years ago
keep-with-next-paragraph.html.pm initial source commit 8 years ago
kerning.html.pm initial source commit 8 years ago
letterhead.html.pm initial source commit 8 years ago
letterspacing.html.pm initial source commit 8 years ago
ligatures.html.pm initial source commit 8 years ago
line-length.html.pm initial source commit 8 years ago
line-numbers.html.pm initial source commit 8 years ago
line-spacing.html.pm initial source commit 8 years ago
math-symbols.html.pm initial source commit 8 years ago
maxims-of-page-layout.html.pm initial source commit 8 years ago
mixing-fonts.html.pm initial source commit 8 years ago
monospaced-fonts.html.pm initial source commit 8 years ago
motions.html.pm initial source commit 8 years ago
nonbreaking-spaces.html.pm initial source commit 8 years ago
one-space-between-sentences.html.pm typo 7 years ago
opentype-features.html.pm initial source commit 8 years ago
optional-hyphens.html.pm initial source commit 8 years ago
ordinals.html.pm initial source commit 8 years ago
page-break-before.html.pm initial source commit 8 years ago
page-layout.html.pm initial source commit 8 years ago
page-margins.html.pm initial source commit 8 years ago
palatino-alternatives.html.pm initial source commit 8 years ago
paragraph-and-character-styles.html.pm initial source commit 8 years ago
paragraph-and-section-marks.html.pm fix cross-reference (closes #2) 8 years ago
point-size.html.pm initial source commit 8 years ago
pollen-test.rkt correct some tests 7 years ago
pollen.rkt convert pollen.rkt to literate-programming format 8 years ago
presentations.html.pm initial source commit 8 years ago
pricing-table.rkt initial source commit 8 years ago
printers-and-paper.html.pm initial source commit 8 years ago
research-memos.html.pm initial source commit 8 years ago
resumes.html.pm fix typo 8 years ago
rules-and-borders.html.pm initial source commit 8 years ago
sample-documents.html.pm initial source commit 8 years ago
signature-lines.html.pm initial source commit 8 years ago
sku.rkt initial source commit 8 years ago
small-caps.html.pm initial source commit 8 years ago
space-above-and-below.html.pm initial source commit 8 years ago
space-between-paragraphs.html.pm initial source commit 8 years ago
straight-and-curly-quotes.html.pm initial source commit 8 years ago
styles.css.pp adjust styles 7 years ago
system-fonts.html.pm OS X → Mac OS 7 years ago
tables.html.pm initial source commit 8 years ago
tabs-and-tab-stops.html.pm initial source commit 8 years ago
template.html.p fix last page link 7 years ago
text-formatting.html.pm initial source commit 8 years ago
toc.html.pm initial source commit 8 years ago
trademark-and-copyright-symbols.html.pm initial source commit 8 years ago
triplicate.html.pm initial source commit 8 years ago
type-composition.html.pm initial source commit 8 years ago
typewriter-habits.html.pm initial source commit 8 years ago
underlining.html.pm initial source commit 8 years ago
utility.ptree technical update 8 years ago
verdana-alternatives.html.pm initial source commit 8 years ago
watermarks.html.pm initial source commit 8 years ago
web-and-email-addresses.html.pm initial source commit 8 years ago
what-is-good-typography.html.pm initial source commit 8 years ago
what-is-typography.html.pm initial source commit 8 years ago
where-do-the-rules-come-from.html.pm initial source commit 8 years ago
white-space-characters.html.pm initial source commit 8 years ago
who-is-typography-for.html.pm initial source commit 8 years ago
why-does-typography-matter.html.pm initial source commit 8 years ago
why-typography-matters.html.pm initial source commit 8 years ago
widow-and-orphan-control.html.pm initial source commit 8 years ago
word-spaces.html.pm initial source commit 8 years ago

README.md

© 200817 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.

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 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