I get this error when I compile on sharelatex, but the strange thing is that it appears only when I'm compiling in normal mode and instead it works fluently when I'm compiling in draft mode (with sharelatex built in).
The error suggestions tells me the error is in chapter1.aux (that I don't have).
l.7 \@LN
{0}{18}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
Any suggestions are appreciated since I can't understand how to fix it.
UPDATE: chapter1.tex is a file that I still have to complete and as of now is super simple:
\chapter{Introduction} %Title of the First Chapter
\ifpdf
\graphicspath{{Chapter1/Figs/Raster/}{Chapter1/Figs/PDF/}{Chapter1/Figs/}}
\else
\graphicspath{{Chapter1/Figs/Vector/}{Chapter1/Figs/}}
\fi
\todo[inline]{Write Introduction}
\section{Outline}
\todo[inline]{Write outline}
\@LNthat you are presumably not loading. (most likelylineno.styfor line numbers – David Carlisle Jan 23 '18 at 19:42\makeatletter \providecommand{\@LN}[2]{} \makeatother. – Werner Jan 23 '18 at 20:27lineno– Werner Jan 23 '18 at 21:18