2

I am trying to compile a large document with several chapters in ShareLatex. Each Chapter compiles correctly with minor (often unavoidable) errors but when I try to compile more than 2 chapters together I get the following error: Server error, Sorry, something went wrong and your project could not be compiled. Please try again in a few moments. Trying again later does nothing to rectify the issue. This is in draft mode as well so images are not the issue.

EDIT: MWE included

\documentclass[12pt, twoside]{report} 
\usepackage[utf8]{inputenc} 
\setlength{\parindent}{0pt} 
\usepackage{parskip}
\usepackage{setspace}
\usepackage{array}
\doublespacing
\usepackage[a4paper, left=40mm, top=25mm, right=20mm, bottom=25mm]{geometry}
\usepackage{graphicx} 
\graphicspath{{Images/}{../Images/}} 
\usepackage[outdir=./]{epstopdf}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{arydshln}
\renewcommand{\arraystretch}{1.5}
\usepackage{rotating}
\usepackage{makecell}
\usepackage[justification=justified]{caption}
\usepackage{comment}
\usepackage{fancyhdr} 
\pagestyle{fancy}
\fancyhead{}                                
\fancyhead[C]{Chapter \thechapter} 
\setlength{\headheight}{14.5pt}
\fancyfoot{}                                
\fancyfoot[RO,LE]{\thepage}  
\usepackage[version=4]{mhchem} %for equations
\usepackage{chemnum}
\usepackage{xparse}
\NewDocumentCommand{\cecount}{ O{#2} m }{\ce{#2} (\cmpd{#1})}
\usepackage{etoolbox,calc}
\makeatletter
\pretocmd{\@makechapterhead}{\setcounter{cmpdmain}{100*\thechapter-1}}{}{}
\makeatother
\usepackage[journal = angew]{chemstyle}
\cstsetup{radhyphen = false,radsuper = true,abbremph = true}
\usepackage{chemscheme}
\usepackage{siunitx}
\usepackage[backend = biber, style=chem-angew]{biblatex} 
\addbibresource{mendeley.bib}

\begin{document}
\chapter{Introduction}
   \input{Chapters/chapter1.tex} 
   \input{Chapters/chapter2.tex}
etc...
  • 1
    Everything will remain pure speculation unless you don't provide a Minimal Working Example. – AlexG Aug 30 '18 at 13:35
  • 1
    What happens when you compile locally? – Jeffrey J Weimer Aug 30 '18 at 13:37
  • 1
    I am trying to compile locally now to see if that works, thanks for the suggestion. MWE added above – Tmr90 Aug 30 '18 at 13:55
  • 1
    It will compile locally but my references (biblatex) are now not working and the headers and footers and page numbers are messed up! – Tmr90 Aug 30 '18 at 14:05
  • 2
    The comment compiles correctly with minor (often unavoidable) errors is very suspicious, no tex errors are unavoidable, and given tex's error recovery strategies I would never use any pdf generated by a tex run that makes any error. But you have not said what errors you get or given any other indication of the problem. – David Carlisle Aug 30 '18 at 16:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.