I have a multi-part book class document and 2 appendices. They don't get renamed properly as Appendix A and Appendix B when I include them in the multipart document. Here's the lyx file where I include all my chapters and appendices. What's needed for automatically generating the sequencing of appendices? Thanks
#LyX 1.2 created this file. For more info see http://www.lyx.org/ \lyxformat 220 \textclass book \begin_preamble \usepackage{algorithm} \usepackage[hang]{caption} \usepackage{times} \usepackage{sectsty} \chapterfont{\centering} \usepackage{babel} \addto\captionsenglish{ \renewcommand{\contentsname}{Table of Contents} } \addtocontents{toc}{\hfill Page\endgraf} \addtocontents{lof}{\ Figure \hfill Page \endgraf} \addtocontents{lot}{\ Table \hfill Page \endgraf} \addtocontents{loa}{\ Algorithm \hfill Page \endgraf} \renewcommand{\thealgorithm}{\thechapter.\arabic{algorithm}} \@addtoreset{algorithm}{chapter} \def\@makechapterhead#1{% \vspace*{-0.50in}% {\parindent \z@ \center \normalfont \ifnum \c@secnumdepth >\m@ne \if@mainmatter \huge\bfseries \@chapapp\space \thechapter \par\nobreak \vskip 0\p@% \fi \fi \interlinepenalty\@M \Huge \bfseries #1\par\nobreak \vskip 40\p@% } } \end_preamble \options !ht \language english \inputencoding auto \fontscheme times \graphics default \float_placement !ht \paperfontsize 12 \spacing double \papersize Default \paperpackage a4 \use_geometry 1 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \leftmargin 1.5in \topmargin 1.25in \rightmargin 1in \bottommargin 1.25in \secnumdepth 2 \tocdepth 2 \paragraph_separation skip \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash pagenumbering{roman} \backslash pagestyle{myheadings} \backslash markright{} \layout Standard \backslash singlespace \end_inset \layout Standard \begin_inset Include \include{TitlePage.lyx} \end_inset \layout Standard \begin_inset Include \include{Abstract.lyx} \end_inset \layout Standard \begin_inset LatexCommand \tableofcontents{} \end_inset \layout Standard \begin_inset FloatList figure \end_inset \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash addcontentsline{toc}{chapter}{List of Figures} \end_inset \layout Standard \begin_inset FloatList table \end_inset \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash addcontentsline{toc}{chapter}{List of Tables} \end_inset \layout Standard \begin_inset FloatList algorithm \end_inset \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash addcontentsline{toc}{chapter}{List of Algorithms} \layout Standard \backslash doublespace \layout Standard \backslash clearpage \layout Standard \backslash pagenumbering{arabic} \end_inset \layout Standard \begin_inset Include \include{Chapter1.lyx} \end_inset \begin_inset Include \include{backgroundRL.lyx} \end_inset \layout Standard \begin_inset Include \include{Chapter2.lyx} \end_inset \layout Standard \begin_inset Include \include{backgroundGame.lyx} \end_inset \layout Standard \begin_inset Include \include{SlvqGo.lyx} \end_inset \layout Standard \begin_inset Include \include{Chapter4.lyx} \end_inset \layout Standard \begin_inset Include \include{Chapter3.lyx} \end_inset \layout Standard \begin_inset Include \include{Chapter5.lyx} \end_inset \layout Standard \begin_inset Include \include{Conclusions.lyx} \end_inset \layout Standard \begin_inset Include \include{AppendixA.lyx} \end_inset \layout Standard \begin_inset Include \include{AppendixB.lyx} \end_inset \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash addcontentsline{toc}{chapter}{Bibliography} \end_inset \layout Standard \begin_inset LatexCommand \BibTeX[plain]{thesis} \end_inset \the_end