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 66297a529e new clicky beacon 6 years ago
fontrec accidents will happen 6 years ago
fonts .gitignore is now working 7 years ago
images initial source commit 9 years ago
pdf .gitignore is now working 8 years ago
scribblings Fix paren (closes #3) 6 years ago
.gitignore ignore 7 years ago
Makefile replace build with Makefile 7 years ago
README.md Update README.md 7 years ago
a-brief-history-of-times-new-roman.html.pm initial source commit 9 years ago
about.html.pm tweaks to xrefs 8 years ago
accented-characters.html.pm initial source commit 9 years ago
advocate.html.pm update descriptions 6 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 tweaks to xrefs 8 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 update descriptions 6 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 update descriptions 6 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 OS X → Mac OS 8 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 OS X → Mac OS 8 years ago
hyphenation.html.pm initial source commit 9 years ago
hyphens-and-dashes.html.pm initial source commit 9 years ago
ie.css.pp IE support warning 7 years ago
index.html.pm OS X → Mac OS 8 years ago
index.ptree initial source commit 9 years ago
info.rkt convert pollen.rkt to literate-programming format 9 years ago
introduction.html.pm OS X → Mac OS 8 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 typo 8 years ago
opentype-features.html.pm initial source commit 9 years ago
optional-hyphens.html.pm initial source commit 9 years ago
order-failure.html.pm new payment system 7 years ago
order-success.html.pm adjust order success page 7 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 fix cross-reference (closes #2) 9 years ago
point-size.html.pm initial source commit 9 years ago
pollen-test.rkt correct some tests 8 years ago
pollen.rkt IE support warning 7 years ago
presentations.html.pm initial source commit 9 years ago
pricing-table.rkt update font packages 6 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 fix typo 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 update font packages 6 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.pp correct safari rendering 6 years ago
system-fonts.html.pm OS X → Mac OS 8 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 new clicky beacon 6 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 update descriptions 6 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 IE support warning 7 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
web-code.html.pm restore font samples 6 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

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