vimtex/test/issues/614/test.tex
Karl Yngve Lervåg 9c9091ca7b Fixed #614: Better citation completion
- Support \jobname in bibliography file name
- Support \nobibliography
- Support \bibentry for completion
2016-12-29 19:27:50 +01:00

25 lines
491 B
TeX

\documentclass{article}
\usepackage{natbib}
\usepackage{bibentry}
\bibliographystyle{apalike}
\nobibliography{\jobname}
% This is the sample bib file
\begin{filecontents}{\jobname.bib}
@book{Saussure1995,
Author = {Ferdinand de Saussure},
Origyear = {1916},
Publisher = {Payot},
Title = {Cours de Linguistique G{\'e}n{\'e}rale},
Year = {1995}
}
\end{filecontents}
\begin{document}
This is a complete citation in the middle of the text:
\bibentry{
\end{document}