update makefile, add some comments on biblatex

This commit is contained in:
Mirek Kratochvil 2020-06-22 12:33:06 +02:00
parent d07c27f8f3
commit fa7c655dc4
2 changed files with 37 additions and 11 deletions

View File

@ -1,16 +1,25 @@
PDFS=thesis.pdf abstract-en.pdf abstract-cz.pdf NAME=thesis
ABSTRACT=abstract
REFS=refs.bib
TEX=pdflatex #possibly switch to lualatex/xelatex
BIB=bibtex #possibly switch to biber (remove backend=bibtex from biblatex opts)
RMF=rm -f
PDFS=$(NAME).pdf $(ABSTRACT)-en.pdf $(ABSTRACT)-cz.pdf
all: $(PDFS) all: $(PDFS)
thesis.pdf: thesis.tex $(wildcard *.tex) refs.bib thesis.xmpdata $(NAME).pdf: $(wildcard *.tex) $(REFS) $(NAME).xmpdata
pdflatex $< $(TEX) $(NAME)
bibtex thesis $(BIB) $(NAME)
pdflatex $< $(TEX) $(NAME)
pdflatex $< $(TEX) $(NAME)
abstract-%.pdf: abstract-%.tex abstract-%.xmpdata metadata.tex $(ABSTRACT)-%.pdf: $(ABSTRACT)-%.tex $(ABSTRACT)-%.xmpdata metadata.tex
pdflatex $< $(TEX) $<
clean: clean:
rm -f *.log *.dvi *.aux *.toc *.lof *.lot *.out *.bbl *.blg *.xmpi $(RMF) *.log *.dvi *.aux *.toc *.lof *.lot *.out *.bbl *.blg *.xmpi
rm -f $(PDFS) $(RMF) $(PDFS)

View File

@ -47,8 +47,25 @@
% load bibliography tools % load bibliography tools
\usepackage[backend=bibtex,natbib,style=numeric]{biblatex} \usepackage[backend=bibtex,natbib,style=numeric]{biblatex}
% alternative with alphanumeric citations (more informative than plain numbers): % alternative with alphanumeric citations (more informative than numbers):
%\usepackage[backend=bibtex,natbib,style=alphabetic]{biblatex} %\usepackage[backend=bibtex,natbib,style=alphabetic]{biblatex}
%
% alternatives that conform to iso690
% (iso690 is not formally required on MFF, but may help elsewhere):
%\usepackage[backend=bibtex,natbib,style=iso-numeric]{biblatex}
%\usepackage[backend=bibtex,natbib,style=iso-alphabetic]{biblatex}
%
% additional option choices:
% - add `giveninits=true` to typeset "E. A. Poe" instead of full Edgar Allan
% - add `maxnames=10` to limit (or loosen) the maximum number of authors in
% bibliography entry before shortening to `et al.` (useful when referring to
% book collections that may have hundreds of authors)
% - for additional flexibility (e.g. multiple reference sections, etc.),
% remove `backend=bibtex` and compile with `biber` instead of `bibtex` (see
% Makefile)
%
% possibly reverse the names of the authors with the default styles:
%\DeclareNameAlias{default}{family-given}
% load the file with bibliography entries % load the file with bibliography entries
\addbibresource{refs} \addbibresource{refs}