~dricottone/blog

d44855ff98122d2366681d3bda5bd9144ba90c95 — Dominic Ricottone 2 years ago ae09e17
Minor change
3 files changed, 8 insertions(+), 2 deletions(-)

M Makefile
M content/cv.md
R scripts/{cv.awk => cv_tex.awk}
M Makefile => Makefile +5 -1
@@ 10,10 10,14 @@ clean:
static/files/dominic-ricottone.pdf: content/cv.md
	sed content/cv.md \
		-e 's/南山大学/\\begin{CJK}{UTF8}{min}&\\end{CJK}/' \
		| scripts/cv.awk > scripts/cv.tex
		| scripts/cv_tex.awk > scripts/cv.tex
	cd scripts && pdflatex cv.tex
	mv scripts/cv.pdf static/files/dominic-ricottone.pdf

static/files/dominic-ricottone.html: content/cv.md
	cat content/cv.md \
		| scripts/cv_html.awk > static/files/dominic-ricottone.html

dev: static/files/dominic-ricottone.pdf
	hugo server --buildDrafts --bind 127.0.0.1 --port 8080


M content/cv.md => content/cv.md +2 -0
@@ 8,6 8,8 @@ toc: true

**Contact:** [me@dominic-ricottone.com](mailto:me@dominic-ricottone.com)

<!-- Ignore above content for PDF and HTML versions -->

Five years experience in survey research operations.
Training in econometric analysis and quantitative methods.
Self-trained programmer and systems administrator.

R scripts/cv.awk => scripts/cv_tex.awk +1 -1
@@ 170,7 170,7 @@ BEGIN {
      print $0;
    }
  }
  else if ($0 ~ /Contact:/) ignore=0;
  else if ($0 ~ /Ignore above content for PDF and HTML versions/) ignore=0;
}

END {