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

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

This repo contains fonts licensed under the OFL (= Source Serif 4, Fira Sans, Fira Mono, and Cooper Hewitt).

Everything else 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). Why not? Because that’s the stuff I sell for money so that I can keep Pollen itself free. Let’s not mess with a good thing.

If you have questions not covered here, please post them in the Pollen forum: https://forums.matthewbutterick.com/c/pollen/

Project status

Complete. Maintained but no further updates planned.