@@ -2,21 +2,22 @@ This is a simple Markdown resumé template, LaTeX header, and pre-processing
22script that can be used with [ Pandoc] ( http://johnmacfarlane.net/pandoc/ ) to
33create professional-looking PDF and HTML output.
44
5- Dependencies
6- ------------
5+ ## Dependencies
76
8- * Pandoc >= 1.9 (you can adjust the Makefile to use an earlier version -- the
9- arguments format changed)
7+ * Pandoc >= 1.9
108* Python >= 2.7
119* A Tex installation with pdflatex and the Tex Gyre Pagella font, and some
12- packages needed by pandoc. On Ubuntu you can get this by installing
13- ` texlive ` , ` texlive-latex-extra ` , and ` tex-gyre ` .
10+ packages needed by pandoc. On Ubuntu you can get this by doing:
1411
15- Usage
16- -----
12+ ```
13+ sudo apt-get install texlive texlive-latex-extra tex-gyre
14+ ```
1715
18- Simply run ` make ` to generate PDF and HTML versions of each .md file in the
19- directory.
16+ ## Usage
17+
18+ To generate PDF and HTML versions of each .md file in the directory:
19+
20+ $ make
2021
2122In order to enable visually appealing display of contact information, the
2223Markdown is passed through a Python script that looks for contact details
@@ -25,5 +26,18 @@ box at the top of the document. Lines with bullets (•) will be treated as
2526separate contact lines in the output.
2627
2728By default, an image of your [ Gravatar] ( http://www.gravatar.com ) will be added
28- to the HTML resumé. This feature can be disabled by setting the environment
29- variable ` GRAVATAR_OPTION=--no-gravatar ` .
29+ to the HTML resumé. To avoid this:
30+
31+ $ GRAVATAR_OPTION=--no-gravatar make
32+
33+ ## Unicode characters
34+
35+ The default setup should handle most unicode characters. If you still get
36+ errors (such as for Chinese characters), install XeTeX and a font that has
37+ glyphs for the characters you need.
38+
39+ $ sudo apt-get install texlive-xetex ttf-wqy-zenhei
40+
41+ Modify ` header.tex ` to use the name of your preferred font, then run:
42+
43+ $ PANDOCARGS='--latex-engine=xelatex' make
0 commit comments