As many people suggest to use BibLatex instead of BibTex, but I cannot get it working in Lyx 2.1.4 with MikTex. I have seen many webpages, but still confused.
I followed the instruction in lyx wiki (http://wiki.lyx.org/BibTeX/Biblatex), but lyx got five errors and cannot output correct PDF file.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage[english,ngerman,frenchb]{babel}
\usepackage{csquotes}
\usepackage[style=authoryear,backend=biber]{biblatex}
\addbibresource{biblatex-examples.bib}
\makeatother
\usepackage{babel}
\begin{document}
This is a test of biblatex. \cite{aksin,almendro,aristotle:anima,aristotle:poetics}
\printbibliography[title=References]
\bibliographystyle{plain}
\bibliography{biblatex-examples}
\end{document}
And it is strange that if I delete the
\bibliographystyle{plain}
\bibliography{biblatex-examples}
in TeXworks, it works fine.
I really do not know what the problem is in Lyx.
\bibliographystyle{plain} \bibliography{biblatex-examples}
to usebiblatex
regardless your editor. AFAIK there is no "native"biblatex
support in LyX (there wasn't a while ago, at least), have a look at wiki.lyx.org/BibTeX/Biblatex