- 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
A picture is worth a thousand words.
- Attachments
-
- lyx_question.pdf
- (54.27 KiB) Downloaded 344 times
-
- lyx question.lyx
- (1.92 KiB) Downloaded 294 times
NEW: TikZ book now 40% off at Amazon.com for a short time.

Re: Missing Heading for References Section
i know it's the summer...but i am working on my thesis, would be nice if someone could help!
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Missing Heading for References Section
Hi,
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:
Regarding your second question: I recommend to use
BibTeX, since you use
natbib, instead of manually writing the list of references.
Stefan
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
LaTeX.org admin
Re: Missing Heading for References Section
can you please show me a sample lyx file where one uses that? I can't seem to get it to work as I don't know much about latex in general.
Re: Missing Heading for References Section
when i replied last i only saw the second half of your post somehow.
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...
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: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Missing Heading for References Section
If it works without BibTeX, and if you don't know it already and your bibliographies are not too complex, perhaps you don't need to change. Regarding BibTeX and LyX, here's a start: BibTeX in the LyX wiki. BibTeX is pretty complex, so it cannot be summarized in just a forum post.
Stefan
Stefan
LaTeX.org admin