Thanks Richard for the information
> I think you need to use the tocloft package. See section 2.4 of the manual,
> on the \newlistof command. You'll do something like:
> \newlistof{appendix}{loa}{\listofappendices}
I wrote in the latex preamble:
\newcommand{\listofappendices}{\chapter{List of Appendices}}
\newlistof{appendix}{loa}{\listofappendices}
then I use ERT \listofappendices in the page after List of Tables.
The result is what I am expected, print List of Appendices, but blank
(no appendix contents listed)
> You will also need to redefine parts of the \chapter command, or whatever is
> being used for your appendices. In the case of book.cls, it would actually
> be the \...@chapter command you would need to redefine:
>
> \d...@chapter[#1]#2{\ifnum \...@secnumdepth >\...@ne
> \...@mainmatter
> \refstepcounter{chapter}%
> \typeou...@chapapp\space\thechapter.}%
> \addcontentsline{toc}{chapter}%
> {\protect\numberline{\thechapter}#1}%
> \else
> \addcontentsline{toc}{chapter}{#1}%
> \fi
> \else
> \addcontentsline{toc}{chapter}{#1}%
> \fi
> \chaptermark{#1}%
> \addtocontents{lof}{\protect\addvspace{1...@}}%
> \addtocontents{lot}{\protect\addvspace{1...@}}%
> ...@twocolumn
> �...@topnewpage[\@makechapterhead{#2}]%
> \else
> �...@makechapterhead{#2}%
> �...@afterheading
> \fi}
>
> The issue here is the line
> \addcontentsline{toc}{chapter}{...}
> You will need to replace it with:
> \addcontentsline{loa}{chapter}{...}
> where "loa" is your new list of appendices. Put this redefinition right at
> the beginning of your appendix. (Remember to wrap it in \makeatletter and
> \makeatother.)
I copied the \...@chapter definition inside ERT after appendix definition
with \makeatletter in the beginning and \makeatother at the end. Also
changed toc with loa.
When I view pdf, ther is no error, however under List of Appendices,
no appendix contents listed (blank, only the heading List of
Appendices).
I still have a problem to print appendix contents under List of Appendices.
Thanks in advance for generous assistance.
Regards, Waluyo
thesis-template-modified.lyx
Description: application/lyx
