From 0fbf73b50cb88d7f66c58385a17ec2aa9392a017 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 17 Nov 2010 07:24:42 -0500 Subject: [PATCH] Add Thesis post. --- .gitignore | 2 ++ Makefile | 3 ++- posts/LaTeX.mdwn | 5 +---- posts/Thesis.mdwn | 14 ++++++++++++++ posts/Thesis/Makefile | 22 ++++++++++++++++++++++ 5 files changed, 41 insertions(+), 5 deletions(-) create mode 100644 posts/Thesis.mdwn create mode 100644 posts/Thesis/Makefile diff --git a/.gitignore b/.gitignore index ca87a89..aa3a10e 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,8 @@ posts/drexel-thesis/drexel-thesis/ /posts/sawsim/README.rst /posts/sawsim/sawsim.pdf /posts/sawsim/sawsim/ +posts/Thesis/thesis/ +posts/Thesis/draft.pdf /posts/XSLT/chapter/chapter.html /posts/XSLT/code/index.shtml /posts/Xmodmap/_Xmodmap diff --git a/Makefile b/Makefile index 51acdb4..32dee29 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,8 @@ # Build everything necessary to compile the wiki. SUBDIRS = posts/drexel-thesis posts/Hooke posts/problempack posts/rel-vcs \ - posts/sawsim posts/yacc2dot posts/Xmodmap posts/XSLT/chapter posts/XSLT/code + posts/sawsim posts/Thesis posts/yacc2dot posts/Xmodmap \ + posts/XSLT/chapter posts/XSLT/code TARGETS = all clean all : diff --git a/posts/LaTeX.mdwn b/posts/LaTeX.mdwn index 5a543f4..ea76896 100644 --- a/posts/LaTeX.mdwn +++ b/posts/LaTeX.mdwn @@ -5,12 +5,9 @@ Hate repeating yourself? Love macros? [LaTeX][] lets you write bit tricky to get things *just right*, but once you figure it out, it's easy to reuse the code. -[[!template id=gitrepo repo=thesis]] - Take a look at [my packages][code], the [Drexel Liki page][liki], the source for most of my [papers][] (if you scroll to the bottom of a -paper's HTML, there is a `source files` link), and my thesis (in -progress). +paper's HTML, there is a `source files` link), and my [[thesis]]. If you're interested in LaTeX and graphics, you'll probably be interested in [[Asymptote]] and [[PGF]]. diff --git a/posts/Thesis.mdwn b/posts/Thesis.mdwn new file mode 100644 index 0000000..5261717 --- /dev/null +++ b/posts/Thesis.mdwn @@ -0,0 +1,14 @@ +[[!template id=gitrepo repo=thesis]] + +The source for my Ph.D. thesis (in progress). A [[draft|draft.pdf]] +is compiled after each commit. I use the [[drexel-thesis]] class, +which I also maintain. + +Exciting features: [[SCons]] build; [[Asymptote]]/asyfig, [[PGF]], and +[PyMOL][] figures. + +[PyMOL]: http://www.pymol.org/ + +[[!tag tags/latex]] +[[!tag tags/papers]] +[[!tag tags/theory]] diff --git a/posts/Thesis/Makefile b/posts/Thesis/Makefile new file mode 100644 index 0000000..214df30 --- /dev/null +++ b/posts/Thesis/Makefile @@ -0,0 +1,22 @@ +REPO = http://www.physics.drexel.edu/~wking/code/git/thesis.git +PACKAGE = thesis + +.PHONY : all checkout clean + +all : draft.pdf + +clean : + rm -rf $(PACKAGE) draft.pdf + +$(PACKAGE) : + git clone $(REPO) $@ + +checkout : $(PACKAGE) + (cd $(PACKAGE) && git pull) + +.PHONY : $(PACKAGE:%=%/tex/thesis.pdf) +$(PACKAGE:%=%/tex/thesis.pdf) : checkout + (cd $(PACKAGE:%=%/tex) && scons) + +draft.pdf : $(PACKAGE:%=%/tex/thesis.pdf) + cp $(PACKAGE:%=%/tex/thesis.pdf) $@ -- 2.26.2