- the word "References" does not appear in my compiled PDF. I need it to indicate the beginning of the references.
- when I insert a citation, it always shows an error.
LyX ⇒ Missing Heading for References Section
Missing Heading for References Section
- Attachments
-
- lyx_question.pdf
- (54.27 KiB) Downloaded 336 times
-
- lyx question.lyx
- (1.92 KiB) Downloaded 285 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Re: Missing Heading for References Section
- Stefan Kottwitz
- Site Admin
- Posts: 10334
- Joined: Mon Mar 10, 2008 9:44 pm
Missing Heading for References Section
I had to install LyX to verify the problem, and did that when I saw that nobody responded yet. You posted a complete small example, so it deserves to be tested.
I noticed, that there's no \bibsection. If you define it yourself, the heading for the list of references would be shown. You could add to your document preamble, via LyX menu / Document / Settings:
Code: Select all
\newcommand{\bibsection}{\section*{\refname}}


Stefan
Re: Missing Heading for References Section
Re: Missing Heading for References Section
i just added \newcommand{\bibsection}{\section*{\refname}} to my preamble and it worked!
References now shows! thank you so much!
So my only question now is, what exactly do i need to do to switch to BibTeX from the default natbib? I am a noobie when it comes to latex, or computers in general...
- Stefan Kottwitz
- Site Admin
- Posts: 10334
- Joined: Mon Mar 10, 2008 9:44 pm
Missing Heading for References Section
Stefan