several cleanup steps
- 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
This commit is contained in:
parent
7095325c61
commit
1f74ac2ea0
2
.gitignore
vendored
2
.gitignore
vendored
@ -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:
|
||||
|
21
Makefile
21
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
|
||||
all: figures/signature.pdf $(patsubst %.tex,%.pdf,$(wildcard *.tex))
|
||||
|
||||
figures/signature.pdf:
|
||||
gpg --yes --output $(DEC_SIGIMAGE) --decrypt $(ENC_SIGIMAGE)
|
||||
|
||||
%.pdf: %.tex
|
||||
latexmk -f -xelatex $<
|
||||
|
||||
<update-sig:
|
||||
gpg --yes --output figures/signature.png --decrypt $(SIGIMAGE)
|
||||
|
||||
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
|
||||
|
Binary file not shown.
BIN
figures/signature.pdf.gpg
Normal file
BIN
figures/signature.pdf.gpg
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user