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.

37 lines
1.8 KiB
Markdown

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

## © 200815 Matthew Butterick
This is the source code for the Typography for Lawyers [web-based book](http://typographyforlawyers.com), which is an abbreviated version of the [paperback](http://typo.la/oc).
The website is built with [Pollen](http://pollenpub.com). 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](https://github.com/racket/racket) and [Pollen](https://github.com/mbutterick/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](http://pollenpub.com) 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`](https://github.com/mbutterick/pollen-tfl/blob/master/pollen.rkt)