Skip to content
Browse files

PDF and single-page editions.

Fixed minor typo reported by Richard Albury.
  • Loading branch information...
1 parent 4c52aa1 commit 24457941c4c052a9941941a4ec79c39e99bcb73d @blynn blynn committed Aug 7, 2008
Showing with 10 additions and 7 deletions.
  1. +2 −2 Makefile
  2. +1 −1 basic.txt
  3. +1 −1 branch.txt
  4. +0 −2 custom-nochunks.xsl
  5. +6 −1 preface.txt
View
4 Makefile
@@ -1,6 +1,6 @@
.PHONY: target clean sync push
-target: book book/default.css
+target: book book/default.css book.html book.pdf
TXTFILES=preface.txt intro.txt basic.txt clone.txt branch.txt grandmaster.txt secrets.txt drawbacks.txt
@@ -28,7 +28,7 @@ clean:
-rm -rf book.xml book.html book
sync: target
- rsync -r book/* blynn@tl1.stanford.edu:www/gitmagic/
+ rsync -r book.html book.pdf book/* blynn@tl1.stanford.edu:www/gitmagic/
public:
git push blynn@git.or.cz:srv/git/gitmagic.git
View
2 basic.txt
@@ -89,7 +89,7 @@ In a court of law, events can be stricken from the record. Likewise, you can pic
will undo just the commit with the given hash. Running *git log* reveals the revert is recorded as a new commit.
-=== Dowloading Files ===
+=== Downloading Files ===
Get a copy of a project managed with Git by typing:
View
2 branch.txt
@@ -119,7 +119,7 @@ It's easy to extend this trick for any number of parts.
=== Reorganizing a Medley ===
-Perhaps you like to work on all aspects of a project in the same branch. You want to keep works-in-progress to yourself and want others to see your commits only when they have been neatly organized. Make a couple of clones:
+Perhaps you like to work on all aspects of a project in the same branch. You want to keep works-in-progress to yourself and want others to see your commits only when they have been neatly organized. Start a couple of branches:
$ git checkout -b sanitized
$ git checkout -b medley
View
2 custom-nochunks.xsl
@@ -2,8 +2,6 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
version="1.0">
-<xsl:param name="html.stylesheet" select="'default.css'"/>
-<xsl:param name="generate.toc" select="'book toc'"/>
<xsl:output method="html" encoding="UTF-8" indent="no"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
/>
View
7 preface.txt
@@ -10,9 +10,14 @@ As Arthur C. Clarke observed, any sufficiently advanced technology is indistingu
Rather than go into details, we provide rough instructions for particular effects. After repeated use, gradually you will understand how each trick works, and how to tailor the recipes for your needs.
+.Other Editions
+
+ - link:book.html[Single webpage]: barebones HTML, with no CSS.
+ - link:book.pdf[PDF file]: printer-friendly.
+
=== Thanks! ===
-Kudos to Dustin Sallings, Alberto Bertogli, James Cameron, Douglas Livingstone, Michael Budde, Tarmigan and Derek Mahar for suggestions and improvements. [If I've left you out, please tell me because I often forget to update this section.]
+Kudos to Dustin Sallings, Alberto Bertogli, James Cameron, Douglas Livingstone, Michael Budde, Richard Albury, Tarmigan and Derek Mahar for suggestions and improvements. [If I've left you out, please tell me because I often forget to update this section.]
=== Links ===

0 comments on commit 2445794

Please sign in to comment.
Something went wrong with that request. Please try again.