2017-03-13 8:27 GMT+01:00 Guenter Milde <mi...@users.sf.net>:

> On 2017-03-12, Steve Burnham wrote:
> > On Sat, Mar 11, 2017 at 10:35 PM CarLaTeX <carlatex...@gmail.com> wrote:
> >> Il 12 Mar 2017 4:05 AM, "Steve Burnham" <dan...@gmail.com> ha scritto:
>
> >> I'm having a hard time figuring an error out LyX gives on compilation.
> I'm
> >> trying to include a list of figures in my document. One document based
> on
> >> the same template (custom university thesis template) but this document
> >> throws the following error:
>
> >> Contents.
>
> >> ! Undefined control sequence.
>
> >> l.117 \listoffigures
>
> ...
>
> > I was trying to avoid the minimal example since I have to use a
> > dropbox link because of all of the custom class and layout files.
>
> We still ask to provide a minimal example. It is far more easy for you
> than for anyone else (downloading and experimenting with uncommon stuff)
> and has to be done anyway to get to the core of the problem.
>
> Günter
>
>
Sorry, I did "reply" instead of "reply to all":

----------------------------------
The culprits are these commented lines in your uuthesis.cls:

%\newif\iflistoffigures
...
%\listoffigurestrue
...
%
%\def\listoffigures{
%  \iflistoffigures
%    \newpage
%    \thispagestyle{empty}
%    \addcontentsline{toc}{chapter}{LIST OF FIGURES}
%    \mainheading{LIST OF FIGURES}\vskip 3pt
%    \ifnoisy \typeout{List of Figures.} \fi
%    \@starttoc{lof}
%  \else
%    \ifnoisy \typeout{No list of figures.} \fi
%  \fi
%}

If you leave out all the "%", you'll get your LoF.

However, I think you have to ask who provided you the uuthesis.cls, maybe
they have commented those lines because they don't want LoFs in that kind
of thesis.

Good luck for your graduation!

Carla
-----------------------------

P.S. = However, Günter is right, I you had done a MWE, you would probably
have found the problem by yourself!

Reply via email to