]> code.communitydata.science - uw_tex_letterhead.git/commitdiff
merge sayamindu's old repository with my new one
authorBenjamin Mako Hill <mako@atdot.cc>
Mon, 19 Feb 2018 00:22:46 +0000 (16:22 -0800)
committerBenjamin Mako Hill <mako@atdot.cc>
Mon, 19 Feb 2018 00:22:46 +0000 (16:22 -0800)
.gitignore
Makefile
README
figures/signature.png.gpg [new file with mode: 0644]
figures/uw-header.pdf [new file with mode: 0644]

index 5504ab4b64f0476f77393d88b61806ab11a195a6..c77fc3b53d6888286b62908e7e27d3016d47ca3b 100644 (file)
-/auto/
-/cache/
-/vc
-/refs-processed.bib
-/*.aux
-/*.bbl
-/*.blg
-/*.log
-/*.out
-/*.pdf
-/*.fdb_latexmk
-/*.fls
-/*.ttt
-/*.bcf
-/*.run.xml
+## files from here
+*.pdf
+figures/signature.png
+
+## From: https://github.com/github/gitignore/blob/master/TeX.gitignore
+## Core latex/pdflatex auxiliary files:
+*.aux
+*.lof
+*.log
+*.lot
+*.fls
+*.out
+*.toc
+*.fmt
+*.fot
+*.cb
+*.cb2
+
+## Intermediate documents:
+*.dvi
+*.xdv
+*-converted-to.*
+# these rules might exclude image files for figures etc.
+# *.ps
+# *.eps
+# *.pdf
+
+## Generated if empty string is given at "Please type another file name for output:"
+.pdf
+
+## Bibliography auxiliary files (bibtex/biblatex/biber):
+*.bbl
+*.bcf
+*.blg
+*-blx.aux
+*-blx.bib
+*.run.xml
+
+## Build tool auxiliary files:
+*.fdb_latexmk
+*.synctex
+*.synctex(busy)
+*.synctex.gz
+*.synctex.gz(busy)
+*.pdfsync
+
+## Auxiliary and intermediate files from other packages:
+# algorithms
+*.alg
+*.loa
+
+# achemso
+acs-*.bib
+
+# amsthm
+*.thm
+
+# beamer
+*.nav
+*.pre
+*.snm
+*.vrb
+
+# changes
+*.soc
+
+# cprotect
+*.cpt
+
+# elsarticle (documentclass of Elsevier journals)
+*.spl
+
+# endnotes
+*.ent
+
+# fixme
+*.lox
+
+# feynmf/feynmp
+*.mf
+*.mp
+*.t[1-9]
+*.t[1-9][0-9]
+*.tfm
+
+#(r)(e)ledmac/(r)(e)ledpar
+*.end
+*.?end
+*.[1-9]
+*.[1-9][0-9]
+*.[1-9][0-9][0-9]
+*.[1-9]R
+*.[1-9][0-9]R
+*.[1-9][0-9][0-9]R
+*.eledsec[1-9]
+*.eledsec[1-9]R
+*.eledsec[1-9][0-9]
+*.eledsec[1-9][0-9]R
+*.eledsec[1-9][0-9][0-9]
+*.eledsec[1-9][0-9][0-9]R
+
+# glossaries
+*.acn
+*.acr
+*.glg
+*.glo
+*.gls
+*.glsdefs
+
+# gnuplottex
+*-gnuplottex-*
+
+# gregoriotex
+*.gaux
+*.gtex
+
+# hyperref
+*.brf
+
+# knitr
+*-concordance.tex
+# TODO Comment the next line if you want to keep your tikz graphics files
+*.tikz
+*-tikzDictionary
+
+# listings
+*.lol
+
+# makeidx
+*.idx
+*.ilg
+*.ind
+*.ist
+
+# minitoc
+*.maf
+*.mlf
+*.mlt
+*.mtc[0-9]*
+*.slf[0-9]*
+*.slt[0-9]*
+*.stc[0-9]*
+
+# minted
+_minted*
+*.pyg
+
+# morewrites
+*.mw
+
+# nomencl
+*.nlo
+
+# pax
+*.pax
+
+# pdfpcnotes
+*.pdfpc
+
+# sagetex
+*.sagetex.sage
+*.sagetex.py
+*.sagetex.scmd
+
+# scrwfile
+*.wrt
+
+# sympy
+*.sout
+*.sympy
+sympy-plots-for-*.tex/
+
+# pdfcomment
+*.upa
+*.upb
+
+# pythontex
+*.pytxcode
+pythontex-files-*/
+
+# thmtools
+*.loe
+
+# TikZ & PGF
+*.dpth
+*.md5
+*.auxlock
+
+# todonotes
+*.tdo
+
+# easy-todo
+*.lod
+
+# xindy
+*.xdy
+
+# xypic precompiled matrices
+*.xyc
+
+# endfloat
+*.ttt
+*.fff
+
+# Latexian
+TSWLatexianTemp*
+
+## Editors:
+# WinEdt
+*.bak
+*.sav
+
+# Texpad
+.texpadtmp
+
+# Kile
+*.backup
+
+# KBibTeX
+*~[0-9]*
+
+# auto folder when using emacs and auctex
+/auto/*
+
+# expex forward references with \gathertags
+*-tags.tex
+
index 1c36b49df6aa2418d0b52f9df91d3bb721d09c3b..1211cf32d878da70a2ead061d231718001bcf3cb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,19 @@
 #!/usr/bin/make
+.RECIPEPREFIX +=
+SIGIMAGE = figures/signature.png.gpg
 
 all: $(patsubst %.tex,%.pdf,$(wildcard *.tex)) 
 
-%.pdf: %.tex 
+%.pdf: update-sig %.tex 
        latexmk -f -xelatex $<
 
+<update-sig:
+    gpg --yes --output figures/signature.png --decrypt $(SIGIMAGE)
+
 clean: 
        latexmk -C *.tex
-       rm -f *.tmp *.run.xml
+       $(RM) -f *.tmp *.run.xml
+       $(RM) -f figures/signature.png
 
 viewpdf: all
        evince *.pdf
@@ -15,4 +21,3 @@ viewpdf: all
 pdf: all
 
 .PHONY: clean all
-
diff --git a/README b/README
index 9bd1afaf184337aaa04272275e01b00880adf94d..51e34130ac8d5730473909f936eddbf25cac9113 100644 (file)
--- a/README
+++ b/README
@@ -1,9 +1,10 @@
 This is a LaTeX version of the University of Washington "matrix"
 stationery or letterhead.
 
-It uses the same fonts (Matrix II and OpenSans) and attempts to be
-pica-for-pica identical to the stationery template distributed as a
-Microsoft Word "DOCX" file by UW Brand and Creative Services.
+It uses the fonts provided by the UW website (Matrix II and OpenSans)
+and attempts to be pica-for-pica identical to the stationery template
+distributed as a Microsoft Word "DOCX" file by UW Brand and Creative
+Services.
 
 
 Requirements
@@ -15,6 +16,9 @@ https://sharelatex.com/ although it not the default. It should be
 installable on GNU/Linux, Windows, and MacOSX. More details are
 available here: https://tug.org/xetex/
 
+A number of the normal LaTeX font packages will not work with
+XeLaTeX. For more information, see http://xetex.sourceforge.net/
+
 The two required fonts Matrix-II And OpenSans are both included in
 this repository.
 
@@ -25,6 +29,11 @@ will required:
 * GNU Make: https://www.gnu.org/software/make/
 * latexmk: https://ctan.org/pkg/latexmk?lang=en
 
+The signature file (a gray image) is GPG encrypted file using a
+symmetric cipher. The passphrase is "weakpassword" (without
+quotes). You will want to customize this. For this file, you will also
+need GPG installed in the system.
+
 
 Contributing changes
 =======================
diff --git a/figures/signature.png.gpg b/figures/signature.png.gpg
new file mode 100644 (file)
index 0000000..ad18b06
Binary files /dev/null and b/figures/signature.png.gpg differ
diff --git a/figures/uw-header.pdf b/figures/uw-header.pdf
new file mode 100644 (file)
index 0000000..b524256
Binary files /dev/null and b/figures/uw-header.pdf differ

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