B. Bogart wrote:
Hello all,
I've started converting my CV over to moderncv.
I see a few hacks on the wiki which I will play with, but I'm stuck on
using a bibtex database as a "publications" section.
I tried the using code from the moderncv example using ERT:
\nocite{*}
\bibliographystyle{plain}
\bibliography{publications}
This results in a "References" section header, but no content.
I expect the problem is that LyX thinks you don't have a bibliography,
so it isn't running bibtex. Export to LaTeX and compile from the command
line. That will likely work.
I managed to get output by including only \nocite{*} as ERT, and adding
the bib in the normal lyx way beneath.
Now this works, but does not appear to fit with the rest of the moderncv
text, the line wrap is much wider and the font looks too small (see
attached).
Here again, export to LaTeX (or View>Source), and you'll be able to see
what LyX is doing. It may be that you've got the bibliography inside
some other environment.
Also how can I change the name of the section to "Publications" rather
than "References"?
\renewcommand{\refname}{Whatever You Want}
rh