Skip to content

Commit

Permalink
Update Makefile and base.tex template
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxDaten committed Mar 26, 2024
1 parent baf8e9a commit ac1ae6a
Show file tree
Hide file tree
Showing 5 changed files with 82 additions and 938 deletions.
7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SRC_DIR := ./src/cv
TEMPLATE_DIR := ./src/templates

PANDOC_OPTIONS := --standalone --from markdown+latex_macros
PANDOC_PDF_OPTIONS := --include-in-header $(TEMPLATE_DIR)/base.tex --template $(TEMPLATE_DIR)/new-template.tex
PANDOC_PDF_OPTIONS := --include-in-header $(TEMPLATE_DIR)/base.tex --template $(TEMPLATE_DIR)/template.tex
PANDOC_HTML_OPTIONS := --embed-resources --write html5 --css $(TEMPLATE_DIR)/template.css --template $(TEMPLATE_DIR)/template.html --verbose
PANDOC_DOCX_OPTIONS := --write docx

Expand All @@ -15,11 +15,6 @@ build:
pages:
mkdir -p $(BUILD_DIR)

@echo "Generate curriculum-vitae files"
pandoc $(PANDOC_OPTIONS) $(PANDOC_PDF_OPTIONS) --output $(BUILD_DIR)/curriculum-vitae.pdf $(SRC_DIR)/curriculum-vitae.md
pandoc $(PANDOC_OPTIONS) $(PANDOC_HTML_OPTIONS) --output $(BUILD_DIR)/curriculum-vitae.html $(SRC_DIR)/curriculum-vitae.md
pandoc $(PANDOC_OPTIONS) $(PANDOC_DOCX_OPTIONS) --output $(BUILD_DIR)/curriculum-vitae.docx $(SRC_DIR)/curriculum-vitae.md

@echo "Generate curriculum-vitae-short files"
pandoc $(PANDOC_OPTIONS) $(PANDOC_PDF_OPTIONS) --output $(BUILD_DIR)/curriculum-vitae-short.pdf $(SRC_DIR)/curriculum-vitae-short.md
pandoc $(PANDOC_OPTIONS) $(PANDOC_DOCX_OPTIONS) --output $(BUILD_DIR)/curriculum-vitae-short.docx $(SRC_DIR)/curriculum-vitae-short.md
Expand Down
325 changes: 0 additions & 325 deletions src/cv/curriculum-vitae.md

This file was deleted.

2 changes: 0 additions & 2 deletions src/templates/base.tex
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
\usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry}

\usepackage{fancyhdr}
\pagestyle{fancy}
\pagenumbering{arabic}
Expand Down
Loading

0 comments on commit ac1ae6a

Please sign in to comment.