several cleanup steps
authorBenjamin Mako Hill <mako@atdot.cc>
Mon, 19 Feb 2018 00:37:57 +0000 (16:37 -0800)
committerBenjamin Mako Hill <mako@atdot.cc>
Mon, 19 Feb 2018 00:37:57 +0000 (16:37 -0800)
- fully incorporated back sayamindu's stuff for dealing with encrypted
  signatures files (not a bad idea!)

- removed an old uw-header file from a previous version

.gitignore
Makefile
figures/fake-signature.pdf [deleted file]
figures/signature.pdf.gpg [new file with mode: 0644]
figures/signature.png.gpg [deleted file]
figures/uw-header.pdf [deleted file]
washington_letterhead_letter-matrix-deptartment.tex

index c77fc3b..f05e9ec 100644 (file)
@@ -1,6 +1,6 @@
 ## files from here
 *.pdf
-figures/signature.png
+figures/signature.pdf
 
 ## From: https://github.com/github/gitignore/blob/master/TeX.gitignore
 ## Core latex/pdflatex auxiliary files:
index 1211cf3..3441f9b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,23 +1,24 @@
 #!/usr/bin/make
-.RECIPEPREFIX +=
-SIGIMAGE = figures/signature.png.gpg
 
-all: $(patsubst %.tex,%.pdf,$(wildcard *.tex)) 
+ENC_SIGIMAGE = figures/signature.pdf.gpg
+DEC_SIGIMAGE = figures/signature.pdf
 
-%.pdf: update-sig %.tex 
-       latexmk -f -xelatex $<
+all: figures/signature.pdf $(patsubst %.tex,%.pdf,$(wildcard *.tex))
+
+figures/signature.pdf:
+       gpg --yes --output $(DEC_SIGIMAGE) --decrypt $(ENC_SIGIMAGE)
 
-<update-sig:
-    gpg --yes --output figures/signature.png --decrypt $(SIGIMAGE)
+%.pdf: %.tex
+       latexmk -f -xelatex $<
 
-clean: 
+clean:
        latexmk -C *.tex
        $(RM) -f *.tmp *.run.xml
-       $(RM) -f figures/signature.png
+       $(RM) -f $(DEC_SIGIMAGE)
 
 viewpdf: all
        evince *.pdf
 
 pdf: all
 
-.PHONY: clean all
+.PHONY: clean all update-sig
diff --git a/figures/fake-signature.pdf b/figures/fake-signature.pdf
deleted file mode 100644 (file)
index b76d285..0000000
Binary files a/figures/fake-signature.pdf and /dev/null differ
diff --git a/figures/signature.pdf.gpg b/figures/signature.pdf.gpg
new file mode 100644 (file)
index 0000000..0903831
Binary files /dev/null and b/figures/signature.pdf.gpg differ
diff --git a/figures/signature.png.gpg b/figures/signature.png.gpg
deleted file mode 100644 (file)
index ad18b06..0000000
Binary files a/figures/signature.png.gpg and /dev/null differ
diff --git a/figures/uw-header.pdf b/figures/uw-header.pdf
deleted file mode 100644 (file)
index b524256..0000000
Binary files a/figures/uw-header.pdf and /dev/null differ
index 1508150..464f1fa 100644 (file)
@@ -119,7 +119,7 @@ Sed ullamcorper morbi tincidunt ornare massa eget egestas purus. Feugiat pretium
 
 Sincerely,
 
-\includegraphics[width=2.2in]{figures/fake-signature.pdf}\\
+\includegraphics[width=1.7in]{figures/signature.pdf}\\
 John Hancock\\
 Assistant Professor of Communication\\
 Adjunct Assistant Professor of Human-Centered Design and Engineering

Community Data Science Collective || Want to submit a patch?