I'm using a template called Legrand Orange Book from http://www.latextemplates.com
It compiles fine with TeXShop
(part of the MacTeX
distribution), but I'm not sure I'm doing it exactly right. I have to compile it several times to get the index and bibliography (I'm assuming that's expected behaviour). What method should I be using (if any, besides using the compile button) to ensure it compiles correctly (i.e., how do I know for certain how many times to run compile)?
The instructions in the template say:
% Compiling this template:
% This template uses biber for its bibliography and makeindex for its index.
% This means that to update the bibliography and index in this template you
% will need to run the following sequence of commands in the template
% directory:
%
% 1) pdflatex main
% 2) makeindex main.idx -s StyleInd.ist
% 3) biber main
% 4) pdflatex main
And I see the following references in the template, so I assume TeXShop
is calling the necessary programs internally(?):
% Bibliography
\usepackage[style=alphabetic,sorting=nyt,sortcites=true,autopunct=true,babel=hyphen,hyperref=true,abbreviate=false,backref=true,backend=biber]{biblatex}
\addbibresource{bibliography.bib} % BibTeX bibliography file
\defbibheading{bibempty}{}
% Index
\usepackage{calc} % For simpler calculation - used for spacing the index letter headings correctly
\usepackage{makeidx} % Required to make an index
\makeindex % Tells LaTeX to create the files required for indexing