E GCP wrote:
> >Date: Tue, 25 Sep 2001 07:12:33 +0200
> >
> >E GCP wrote:
> > >
> > > Attached are the example files. All are taken from the Thesis-Style for
> >LyX
> > > without modifications, except in the LaTeX preamble of demo3.lyx to add
> >the
> > > hyperref package.
> > >
> > > Install the Thesis class, open in lyx the demo3.lyx file then
> > > File->Export->PDF
> > >
> > > demo3.lyx, demobody.lyx, and demo-pre.tex have to be in the same
> >directory
> >
> >there are problems togehther with the hyperref-package.
> >comment this out in latex preamble and all works well.
> >
> Herbert,
>
> I found some more information. If I comment out the following lines at the
> end of the thesis.cls file then hyperref works out fine, but I don't get
> ToC, LoF, or LoT. I hope this helps track out the problem.
the following lines in the thesis.cls are the problem. if you could comment
them out,
all should work. hyperref can't handle such command structure. with these
changes
it worked for me and the changes are only for the toc, lof and lot and not
important.
Herbert
% Adds the appropriate label to the ToC/LoF/LoT
%\addtocontents{lof}{\protect\contentsline {part}%
% {\protect\figurenameToC}{\protect\relax}%
%}
%\addtocontents{lot}{\protect\contentsline {part}%
% {\protect\tablenameToC}{\protect\relax}%
%}
%\addtocontents{toc}{\protect\contentsline {part}%
% {\protect\chapternameToC}{\protect\relax}%
%}
--
http://www.educat.hu-berlin.de/~voss/lyx/