update makefile, add some comments on biblatex
This commit is contained in:
parent
d07c27f8f3
commit
fa7c655dc4
29
Makefile
29
Makefile
@ -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)
|
||||
|
||||
thesis.pdf: thesis.tex $(wildcard *.tex) refs.bib thesis.xmpdata
|
||||
pdflatex $<
|
||||
bibtex thesis
|
||||
pdflatex $<
|
||||
pdflatex $<
|
||||
$(NAME).pdf: $(wildcard *.tex) $(REFS) $(NAME).xmpdata
|
||||
$(TEX) $(NAME)
|
||||
$(BIB) $(NAME)
|
||||
$(TEX) $(NAME)
|
||||
$(TEX) $(NAME)
|
||||
|
||||
abstract-%.pdf: abstract-%.tex abstract-%.xmpdata metadata.tex
|
||||
pdflatex $<
|
||||
$(ABSTRACT)-%.pdf: $(ABSTRACT)-%.tex $(ABSTRACT)-%.xmpdata metadata.tex
|
||||
$(TEX) $<
|
||||
|
||||
clean:
|
||||
rm -f *.log *.dvi *.aux *.toc *.lof *.lot *.out *.bbl *.blg *.xmpi
|
||||
rm -f $(PDFS)
|
||||
$(RMF) *.log *.dvi *.aux *.toc *.lof *.lot *.out *.bbl *.blg *.xmpi
|
||||
$(RMF) $(PDFS)
|
||||
|
19
thesis.tex
19
thesis.tex
@ -47,8 +47,25 @@
|
||||
|
||||
% load bibliography tools
|
||||
\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}
|
||||
%
|
||||
% 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
|
||||
\addbibresource{refs}
|
||||
|
Loading…
Reference in New Issue
Block a user