Commit ea8b7070 authored by Lukas Nagel's avatar Lukas Nagel
Browse files

use biber instead of pandocs citations

parent 2ccec84c
......@@ -8,3 +8,4 @@
*.out/
.docker
example/example.tar.gz
paper/paper.bib
......@@ -83,16 +83,22 @@ paper/paper.md: literatur.yaml
example/example.tar.gz: $(example)
tar -acf $@ $^
paper/paper.bib: references.bib
cp $< $@
# Generic Recipes
%.tex: %.md
pandoc --citeproc -s -o $@ -i $<
%.tex: %.md %.bib
pandoc --bibliography=$(*F).bib --biblatex -s -o $@ -i $<
%.pdf: %.tex
@echo "make: Entering directory '$(@D)'"
cd $(@D) && \
latexrun --latex-cmd lualatex \
-o $(@F) -O $(*F).out $(<F)
latexrun \
--latex-cmd lualatex \
--bibtex-cmd biber \
-o $(@F) -O $(*F).out $(<F)
@echo "make: Leaving directory '$(@D)'"
@touch -c $@ # latexrun quirk
......@@ -113,6 +119,8 @@ clean: polish
polish:
rm -rf $(buildirs)
rm -rf paper/paper.bib
# Docker
......
......@@ -23,6 +23,9 @@ classoption: twocolumn
bibliography: literatur.yaml
lang: de-DE
link-citations: true
header-includes: |
\usepackage{csquotes}
---
# Motivation
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment