Add drexel-thesis post.
authorW. Trevor King <wking@drexel.edu>
Tue, 16 Nov 2010 22:14:45 +0000 (17:14 -0500)
committerW. Trevor King <wking@drexel.edu>
Tue, 16 Nov 2010 22:14:45 +0000 (17:14 -0500)
Makefile
posts/drexel-thesis.mdwn [new file with mode: 0644]
posts/drexel-thesis/Makefile [new file with mode: 0644]

index 2e04d9324f94213999682a870b3109f06f489e37..51acdb40dd40e03117c4bb62abc4b24ca67768d7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 # Build everything necessary to compile the wiki.
 
-SUBDIRS = posts/Hooke posts/problempack posts/rel-vcs posts/sawsim \
-       posts/yacc2dot posts/Xmodmap posts/XSLT/chapter posts/XSLT/code
+SUBDIRS = posts/drexel-thesis posts/Hooke posts/problempack posts/rel-vcs \
+       posts/sawsim posts/yacc2dot posts/Xmodmap posts/XSLT/chapter posts/XSLT/code
 TARGETS = all clean
 
 all :
diff --git a/posts/drexel-thesis.mdwn b/posts/drexel-thesis.mdwn
new file mode 100644 (file)
index 0000000..143247f
--- /dev/null
@@ -0,0 +1,20 @@
+[[!template id=gitrepo repo=drexel-thesis]]
+
+Drexel, like every other academic institution, has very particular
+standards for the format of a Masters or Ph.D. Thesis.  The library
+publishes a [requirements manual][].  The [[LaTeX]] wisdom of
+generations of grad students has been assembled into the
+`drexel-thesis` class which you, dear reader, can use to easily format
+your thesis.
+
+I'm the current maintainer, so besides the [post][] in the department
+wiki, I'm including a page in this blog.
+
+Your compiled thesis will look something like [[example.pdf]] (or, in
+draft mode, [[example-draft.pdf]]).  Take a look at the
+[[manual|manual.pdf]] to get started.  You might also want to look at
+how I've used the class in my own [[thesis]].
+
+[requirements manual]: http://www.library.drexel.edu/services/thesis/thesismanual.pdf
+
+[[!tag tags/latex]]
diff --git a/posts/drexel-thesis/Makefile b/posts/drexel-thesis/Makefile
new file mode 100644 (file)
index 0000000..f5383b1
--- /dev/null
@@ -0,0 +1,23 @@
+REPO = http://www.physics.drexel.edu/~wking/code/git/drexel-thesis.git
+PACKAGE = drexel-thesis
+TARGETS = drexel-thesis.pdf example.pdf example-draft.pdf
+
+.PHONY : all checkout clean
+
+all : $(TARGETS)
+
+clean :
+       rm -rf $(PACKAGE) $(TARGETS)
+
+$(PACKAGE) :
+       git clone $(REPO) $@
+
+checkout : $(PACKAGE)
+       (cd $(PACKAGE) && git pull)
+
+.PHONY : $(TARGETS:%=$(PACKAGE)/%)
+$(TARGETS:%=$(PACKAGE)/%) : $(PACKAGE)/% : checkout
+       $(MAKE) -C $(PACKAGE) $(@:$(PACKAGE)/%=%)
+
+$(TARGETS) : % : $(PACKAGE)/%
+       cp $< $@