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 07037ce803 update README 2 years ago
fontrec update samples 6 years ago
fonts substitute MB Type fonts with open-source fonts (fixes #5) 2 years ago
images initial source commit 9 years ago
pdf .gitignore is now working 8 years ago
scribblings Revert "remove misleading designation" 4 years ago
.gitignore ignore 7 years ago
Makefile substitute MB Type fonts with open-source fonts (fixes #5) 2 years ago
README.md update README 2 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
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
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
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
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 remove font pages 5 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
main.rkt add main.rkt 4 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 don't delete *sh 5 years ago
presentations.html.pm 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 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
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 substitute MB Type fonts with open-source fonts (fixes #5) 2 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 missing tag 2 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
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 substitute MB Type fonts with open-source fonts (fixes #5) 2 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

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

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 thats the stuff I sell for money so that I can keep Pollen itself free. Lets 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.