From: W. Trevor King Date: Thu, 13 Jan 2011 13:09:37 +0000 (-0500) Subject: Update Makefiles and some source for Asymptote 2.09. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=336be67de8487d23676913b9dc31660284de7faa;p=course.git Update Makefiles and some source for Asymptote 2.09. --- diff --git a/latex/hwk/hwk1/Makefile b/latex/hwk/hwk1/Makefile index 375c9ad..7e457a0 100644 --- a/latex/hwk/hwk1/Makefile +++ b/latex/hwk/hwk1/Makefile @@ -1,10 +1,10 @@ THIS_DIR = $(shell basename $(PWD)) -HOMEWORK_NUMBER = $(THIS_DIR:hwk%=%) +RECITATION_NUMBER = $(THIS_DIR:rec%=%) SOURCE_FILES = all_problems.tex probs.tex sols.tex problem[0-9].tex OTHER_FILES = Makefile DIST_FILES = $(SOURCE_FILES) $(OTHER_FILES) DIST_FILE = $(THIS_DIR)_source.tar.gz -DIST_DIR = hwk +DIST_DIR = rec all : sols.pdf probs.pdf @@ -14,11 +14,11 @@ view : all %.pdf : %.tex $(SOURCE_FILES) pdflatex $(patsubst %.tex,%,$<) - asy $(patsubst %.tex,%,$<) + asy -noprc -render=0 $(patsubst %.tex,%-*.asy,$<) pdflatex $(patsubst %.tex,%,$<) semi-clean : - rm -f rm -f *.log *.aux *.out *.thm *.toc *.pre *_[0-9]_.tex *.asy + rm -f *.log *.aux *.out *.thm *.toc *.pre *-[0-9].tex *.js *.prc *.asy clean : semi-clean rm -f *.pdf $(DIST_FILE) $(DIST_DIR) install* @@ -32,10 +32,10 @@ $(DIST_FILE) : $(DIST_FILES) install : install-probs install-solns install-probs : probs.pdf - scp -p $< $(INSTALL_USER)@$(INSTALL_HOST):$(INSTALL_DIR)/hwk$(HOMEWORK_NUMBER)_problems.pdf + scp -p $< $(INSTALL_USER)@$(INSTALL_HOST):$(INSTALL_DIR)/rec$(RECITATION_NUMBER)_problems.pdf @date > $@ install-solns : sols.pdf $(DIST_FILE) - scp -p $< $(INSTALL_USER)@$(INSTALL_HOST):$(INSTALL_DIR)/hwk$(HOMEWORK_NUMBER)_solutions.pdf + scp -p $< $(INSTALL_USER)@$(INSTALL_HOST):$(INSTALL_DIR)/rec$(RECITATION_NUMBER)_solutions.pdf scp -p $(DIST_FILE) $(INSTALL_USER)@$(INSTALL_HOST):$(SOURCE_DIR) @date > $@ diff --git a/latex/notes/style/Makefile b/latex/notes/style/Makefile index a4b5451..6aa621e 100644 --- a/latex/notes/style/Makefile +++ b/latex/notes/style/Makefile @@ -8,12 +8,11 @@ view : all xpdf style.pdf & %.pdf : %.asy - asy style.asy + asy -noprc -render=0 style.asy semi-clean : - rm -f *.1 *.log *.mp *.mpx *.aux *.out *.cut style_* - rm -f mp*.tex # remove metapost-generated tex + rm -f *.aux clean : semi-clean rm -f *.pdf diff --git a/latex/notes/style/drawing.asy b/latex/notes/style/drawing.asy index 47ef2b6..859bef4 100644 --- a/latex/notes/style/drawing.asy +++ b/latex/notes/style/drawing.asy @@ -14,16 +14,16 @@ currentpen = black; label("$\rho_a$", (0,2.5u,0)); label("$\rho_c$", (0,-2.5u,0)); -draw((0,-1u,0)--(0,1u,0), Arrow); +draw((0,-1u,0)--(0,1u,0), Arrow3); label("$I$", (0, 1u,0), E); label("$A$", (0, -5.5u, 0)); draw((0,-5u,-u)--(0,-5u,u)); label("$d$", (0, -4.9u /*hack*/, 0), W); -draw((0,-5u,-1.1u)--(0,0,-1.1u), Arrows); +draw((0,-5u,-1.1u)--(0,0,-1.1u), Arrows3); label("$l$, $R_c$, $V_c$", (0, -2.5u,-1.1u), S); -draw((0,5u,-1.1u)--(0,0,-1.1u), Arrows); +draw((0,5u,-1.1u)--(0,0,-1.1u), Arrows3); label("$l$, $R_a$, $V_a$", (0, 2.5u,-1.1u), S); -draw((0,-5u,1.1u)--(0,5u,1.1u), Arrows); +draw((0,-5u,1.1u)--(0,5u,1.1u), Arrows3); label("$R_T$, $V_T$", (0, 0,1.1u), N); diff --git a/latex/notes/topics/kirchoff/Makefile b/latex/notes/topics/kirchoff/Makefile index 54249eb..3aba170 100644 --- a/latex/notes/topics/kirchoff/Makefile +++ b/latex/notes/topics/kirchoff/Makefile @@ -4,13 +4,12 @@ view : beamer.pdf xpdf -z 300 beamer.pdf & clean : semi-clean - rm -f *[.]pdf + rm -f *.pdf semi-clean : - rm -f *[.]aux *[.]log *[.]out *[.]toc *[.]nav *[.]snm *[.]vrb \ - *_[.]tex *[.]asy *_[.]pre *~ || echo "clean" + rm -f *.aux *.log *.nav *.out *.pre *.snm *.toc beamer-* *~ beamer.pdf : *.tex pdflatex beamer - asy beamer + asy -noprc -render=0 beamer-*.asy pdflatex beamer diff --git a/latex/rec/rec1/Makefile b/latex/rec/rec1/Makefile index 7d9a65a..7e457a0 100644 --- a/latex/rec/rec1/Makefile +++ b/latex/rec/rec1/Makefile @@ -14,11 +14,11 @@ view : all %.pdf : %.tex $(SOURCE_FILES) pdflatex $(patsubst %.tex,%,$<) - asy $(patsubst %.tex,%,$<) + asy -noprc -render=0 $(patsubst %.tex,%-*.asy,$<) pdflatex $(patsubst %.tex,%,$<) semi-clean : - rm -f *.log *.aux *.out *.thm *.toc *.pre *_[0-9]_.tex *.asy + rm -f *.log *.aux *.out *.thm *.toc *.pre *-[0-9].tex *.js *.prc *.asy clean : semi-clean rm -f *.pdf $(DIST_FILE) $(DIST_DIR) install*