Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
mwhite committed Jul 16, 2012
2 parents cf33963 + d388dc5 commit 7019ed1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
7 changes: 6 additions & 1 deletion Makefile
@@ -1,4 +1,9 @@
all: clean resume.html resume.pdf
SRC = $(wildcard *.md)

PDFS=$(SRC:.md=.pdf)
HTML=$(SRC:.md=.html)

all: clean $(PDFS) $(HTML)

%.html: %.md
pandoc -t html -c resume.css -o $@ $<
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion header.tex
Expand Up @@ -10,7 +10,7 @@
\hyphenation{Media-Wiki}

\renewcommand{\labelitemi}{}
%\renewcommand{\labelitemii}{\scale[scale=700]{•}}
\renewcommand{\labelitemii}{\raise .5ex\hbox{\tiny$\blacktriangleright$}}

% from http://tex.stackexchange.com/a/29796/16139
\newsavebox{\zerobox}
Expand Down
15 changes: 7 additions & 8 deletions process.py
Expand Up @@ -5,14 +5,13 @@

lines = sys.stdin.readlines()

name = lines[0]
contact = [x.strip() for x in lines[3].split("•")]
for i, line in enumerate(list(lines[3:])):
stripped = line.strip()
if not stripped:
break
lines[3 + i] = "\n%s\n" % stripped

if len(contact) > 1:
lines.pop(3)
lines.pop(3)
lines.insert(0, "\\begin{nospace}\\begin{flushright}\n" +
"\n\n".join(contact) +
"\\end{flushright}\\end{nospace}\n")
lines.insert(3, "\\begin{nospace}\\begin{flushright}")
lines.insert(4 + i, "\\end{flushright}\\end{nospace}\n")

print "".join(lines)

0 comments on commit 7019ed1

Please sign in to comment.