Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False undefined reference error with thebibliography #1171

Closed
bilichboris opened this issue Jul 21, 2024 · 1 comment · Fixed by #1244
Closed

False undefined reference error with thebibliography #1171

bilichboris opened this issue Jul 21, 2024 · 1 comment · Fixed by #1244
Labels
enhancement New feature or request

Comments

@bilichboris
Copy link

Texlab marks every \cite{} as an undefined reference, although they correspond to entries in "\begin{thebibliography}". For a particular example, one can run texlab on the attached latex source code.
arXiv-2106.04884v2.gz

@gi1242
Copy link

gi1242 commented Aug 2, 2024

I have the same issue (texlab 5.17.0, on arch linux, neovim v0.10.1). Here's a minimal example to reproduce:

\documentclass{article}
See~\cite{ref1}

\begin{thebibliography}
  \bibitem{ref1} Reference 1
\end{thebibliography}
\end{document}

It complies cleanly without errors (using latexmk); however, texlab shows Undefined reference error on ref1.

Please let me know if there's anything I can do to help you reproduce this problem.

Thanks,

GI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants