diff --git a/Makefile b/Makefile index 3be0338..ecd3ba8 100644 --- a/Makefile +++ b/Makefile @@ -8,14 +8,17 @@ MAKEFLAGS += --no-builtin-rules LATEX_CMD = lualatex --halt-on-error --synctex=1 --output-directory=out -.PHONY: clean clean_fonts +.PHONY: clean clean_fonts basics fonts/sentinel: mkdir -p fonts fc-list | grep -E 'Lato-|DejaVu' | grep -v -- "-minimal" | cut -d : -f 1 | xargs -I{} bash -c 'ln -s {} fonts/$$(basename {})' touch fonts/sentinel -base.pdf: base.tex cv_base.cls fonts/sentinel +basics: fonts/sentinel + mkdir -p out + +base.pdf: base.tex cv_base.cls basics ${LATEX_CMD} base.tex clean: diff --git a/README.md b/README.md index cf66f34..574f037 100644 --- a/README.md +++ b/README.md @@ -2,5 +2,8 @@ This repo tries to provide a uniform CV and cover letter document class (and template) +## Requirements + +You need lato and DejaVu Sans Extra installed on your system. On ubuntu, you need the packages `tf-dejavu-extra` and `fonts-lato` installed. diff --git a/cv_base.cls b/cv_base.cls index a663641..18b53b3 100644 --- a/cv_base.cls +++ b/cv_base.cls @@ -14,7 +14,7 @@ % Set main fonts \usepackage{fontspec} \setmainfont[Color=2b2b2b, Path = fonts/,BoldItalicFont=Lato-Italic,BoldFont=Lato-Regular,ItalicFont=Lato-LightItalic]{Lato-Light} -\setsansfont[Scale=MatchLowercase,Ligatures=TeX, Path = fonts/]{DeJaVuSans-ExtraLight} +\setsansfont[Scale=MatchLowercase,Ligatures=TeX, Path = fonts/]{DejaVuSans-ExtraLight} % link styling and helpers \RequirePackage[dvipsnames]{xcolor}