cv

Simple (ATS) CV LaTeX Template
git clone https://git.ckiri.com/cmk/cv.git
Log | Files | Refs | README

commit b83d149ef8bb07ffce6b1f5f85306d25da3b943c
parent 3b35ea108b59d7fa96996cfe96576f44f0b74044
Author: Chris Kiriakou <chris@kiriakou.net>
Date:   Fri, 25 Sep 2026 01:22:04 +0200

Cleanup

Diffstat:
MMakefile | 22+++++++++-------------
MREADME.md | 31+++++++++----------------------
Dcv.jpg | 0
3 files changed, 18 insertions(+), 35 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,29 +1,25 @@ doc ?= template -output_dir ?= $$(xdg-user-dir DOCUMENTS)/bewerbungen/$(doc) -filename ?= cv ENGINE = pdflatex -BUILD_DIR = ./build/ -MAIN = main.tex -CONTENT_DIR = ./content/ +BUILD_DIR = ./build +MAIN = ./main.tex +CONTENT_DIR = ./content -.PHONY: all ats clean dirs +.PHONY: all dirs ats clean all: pdf dirs: @mkdir -p $(BUILD_DIR) - @mkdir -p $(output_dir) ats: $(MAKE) pdf doc=$(doc) ATS_FLAG="\def\ats{1}" -pdf: $(MAIN) $(CONTENT_DIR) dirs - $(ENGINE) -output-directory=$(BUILD_DIR) -jobname=$(filename) "$(ATS_FLAG)\def\doc{$(doc)}\input{config}\input{$(MAIN)}" - @cp $(BUILD_DIR)/$(filename).pdf $(output_dir) +pdf: $(MAIN) $(CONTENT_DIR)/$(doc).tex dirs + $(ENGINE) -output-directory=$(BUILD_DIR) -jobname=$(doc) "$(ATS_FLAG)\def\doc{$(doc)}\input{config}\input{$(MAIN)}" -flatten: $(PDF).pdf - gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dSAFER -sOutputFile=$(PDF)-flat.pdf $(PDF).pdf +flatten: $(BUILD_DIR)/$(doc).pdf + gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dSAFER -sOutputFile=$(BUILD_DIR)/$(doc)-flat.pdf $(BUILD_DIR)/$(doc).pdf clean: $(BUILD_DIR) - @rm -rf $(BUILD_DIR)/* + @rm -rf $(BUILD_DIR)/{*.aux,*.log} diff --git a/README.md b/README.md @@ -1,13 +1,10 @@ # A simple LaTeX curriculum vitae template -![Example CV](./cv.jpg) - ## How To Create a `config.tex` inside the projects root directory, specifying your personal information: - -```make +```tex \def\authorname{Chris Kiriakou} \def\authorplace{Musterstadt} \def\authoraddress{Musterstraße 1, 10115 \authorplace} @@ -18,30 +15,25 @@ personal information: \def\authorbirth{07.04.1996, Musterstadt} ``` -Create a new document inside `content/` (use either `ats-template.tex` or -`template.tex` ): +To build the PDF document, run: ```sh -cd content -cp ats-template.tex <application_name>.tex +make ats doc=<content_name> ``` -Build the PDF document by running the following: -```sh -make ats doc=<application_name> -``` +NOTE: The document (`<content_name>`) specified needs to be available inside +the `content` directory. -If the `doc` cli parameter isn't specified, it defaults to `ats-template` (a simple +If the `doc` cli parameter isn't specified, it defaults to `template` (a simple showcase document). -To build the ATS document `ats-template.tex` has to be created (look previous -steps) and the following make command has to be specified: +To build a ATS compliant CV, run: ```sh -make ats doc=<application_name> +make ats doc=<cv_name> ``` ## Misc -### Flatten a CV +### Flatten the document If *active* contents are prohibited (due to security concerns), flatten the PDF after building it: @@ -53,8 +45,3 @@ make doc=<document_name> flatten To use the german locale, make sure `\usepackage[ngerman]{babel}` inside `main.tex` is not commented out. - -### Specifying a build/output directory - -The Makefile defaults to your current document directory `xdg-user-dir -DOCUMENTS`. If this is not wanted, change it to something else. diff --git a/cv.jpg b/cv.jpg Binary files differ.