I use TexStudio to write my PhD thesis (large document), and I have set up the compiler options on: txs:///pdflatex | txs:///biber | txs:///pdflatex | txs:///pdflatex
However, when I ask TexStudio to compile my file, it runs this whole sequence (pdflatex/biber/pdflatex/pdflatex) multiple times before finally producing the pdf file. It can sometimes repeat it 6 or 7 times, with no particular error message displayed. Do you have any suggestion as to what is happening and how to solve this as it takes an awfully long time to run the whole document? I am fairly new to LaTex and probably doing something wrong, so would welcome any suggestion. My preamble is as follows (prety long sorry):
\documentclass[a4paper,12pt,oneside]{report}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{sectsty}
\usepackage{mathptmx}
\usepackage[a4paper,left=4cm,right=2cm,bottom=3cm,headheight=14.5pt]{geometry}
\usepackage{tocloft}
\setlength{\cftbeforechapskip}{10pt}
\setlength{\cftbeforesecskip}{10pt}
\setlength{\cftbeforesubsecskip}{10pt}
\renewcommand\cftfigafterpnum{\vskip10pt\par}
\renewcommand\cfttabafterpnum{\vskip10pt\par}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{}
\fancyhead[R]{Chapter \thechapter}
\fancyfoot{}
\fancyfoot[R]{\thepage}
\usepackage{textcomp}
\usepackage[font={color=blue(pigment),small},labelfont=it,bf]{caption}
\usepackage{subcaption}
\captionsetup[subfigure]{hangindent=0pt, indention=0pt,position=top,labelfont=bf,textfont=normalfont,singlelinecheck=off,justification=raggedright}
\DeclareCaptionLabelFormat{blank}{}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{rotating}
\usepackage{pdflscape}
\usepackage{float}
\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
\usepackage{colortbl}
\usepackage{array}
\usepackage{mathtools}
\usepackage{nicefrac}
\usepackage{anyfontsize}
\definecolor{ceruleanblue}{rgb}{0.16, 0.32, 0.75}
\definecolor{darkcerulean}{rgb}{0.03, 0.27, 0.49}
\definecolor{blue(pigment)}{rgb}{0.2, 0.2, 0.6}
\definecolor{beaublue}{rgb}{0.74, 0.83, 0.9}
\definecolor{palecornflowerblue}{rgb}{0.67, 0.8, 0.94}
\definecolor{babyblue}{rgb}{0.54, 0.81, 0.94}
\definecolor{babyblueeyes}{rgb}{0.63, 0.79, 0.95}
\chapterfont{\fontsize{28}{30}\selectfont\color{darkcerulean}}
\sectionfont{\fontsize{14}{16.8}\selectfont}
\subsectionfont{\fontsize{12}{14.4}\selectfont}
\usepackage[compact]{titlesec}
\titlespacing*{\subsection}{0cm}{0.5\baselineskip}{0.5\baselineskip}
\usepackage[backend=biber, style=authoryear-comp, citestyle=authoryear-comp, isbn=false, url=false, doi=false, uniquelist=false ,uniquename=false, maxcitenames=2]{biblatex}
\usepackage[british]{babel}
\usepackage{csquotes}
\addbibresource{Thesis.bib}
\usepackage{setspace}
\overfullrule=2cm
Many thanks for your help!
xcolor
package with the optiontable
, there's no need to load thecolortbl
package separately.