Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • stefan3/markdown-cv
1 result
Show changes
Commits on Source (2)
......@@ -6,35 +6,19 @@ INPUTDIR+=$(BASEDIR)/cv
OUTPUTDIR+=$(BASEDIR)/cv
STYLEDIR=$(BASEDIR)/style
help:
@echo ' '
@echo 'Makefile for the Markdown CV '
@echo ' '
@echo 'Usage: '
@echo ' make html (re)generate the web site '
@echo ' make pdf generate a PDF file '
@echo ' make docx generate a Docx file '
@echo ' make tex generate a tex file '
@echo ' '
@echo 'Set the DEBUG variable to 1 to enable debugging, e.g. make DEBUG=1 html'
@echo ' '
@echo 'pandoc test.md -o test.pdf --bibliography=test_ref.bib --csl=plos.csl '
@echo ' '
@echo 'get templates from: https://github.com/jgm/pandoc-templates '
pdf:
pandoc -s -f markdown-auto_identifiers \
"$(INPUTDIR)"/*.md \
-o "$(OUTPUTDIR)/cv.pdf" \
--template="$(STYLEDIR)/template.tex" \
--pdf-engine=xelatex
--latex-engine=xelatex
tex:
pandoc -s \
"$(INPUTDIR)"/*.md \
-o "$(OUTPUTDIR)/cv.tex" \
--template="$(STYLEDIR)/template.tex" \
--pdf-engine=xelatex
--latex-engine=xelatex
docx:
pandoc "$(INPUTDIR)"/*.md \
......