I'm using Lyx 2.1.4 and I have a custom class generated by my school I'm using to write my Thesis. I'm using JabRef to build my .bib (not important for this question but FYI). I'm using the built-in citation and bib creation (insert-> List/TOC ->BibTeX Bibliography) and everything works fine except I'm getting a double chapter 4:
excerpt from lyx file:CHAPTER 4
DISCUSSION
Talk about stuff
4.1 Challenges?
4.2 Future work?
7
CHAPTER 4
REFERENCES
I've attempted to use the Bibliography backmatter from the top drop down but that doesn't seem to help much. Is there a way to format how the bibtex displays using the built-in function? I looked through the Wiki but didn't see anything relevant, unless I simply missed something.\begin_layout Chapter
DISCUSSION
\end_layout
\begin_layout Standard
Talk about stuff
\end_layout
\begin_layout Section
Challenges?
\end_layout
\begin_layout Section
Future work?
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
\begin_inset CommandInset bibtex
LatexCommand bibtex
bibfiles "thesis"
options "bibtotoc,alpha"
\end_inset
\end_layout
Appreciate any thoughts, please let me know if any other files would help. Thanks!
UPDATE:
I found http://wiki.lyx.org/BibTeX/Tips#toc1 and did what it said, but it didn't work. Still has Chapter X above REFERENCE. I looked at the class and see that bibname is set right and has no reference to any "chapters".
Thanks!