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
RefTeX cannot find .bib file or cross references in multifile document #10822
Comments
any work around for this, @davidpasztor ? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
Bump! |
@inzouzouwetrust unfortunately I haven't used spacemacs for quite a while now, so not sure if this has been fixed since. |
I'm not familiar with LaTeX so it is a bit hard to handle this kind of bug. Can someone provide some files so we can try to reproduce this bug ? |
I found that I am able to replicate this bug without needing a large latex project or even alternate files accessed via Specific steps for reproducing:
Hope this helps! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
Description
I have a large LaTex project, which I organized into several
.tex
files and use\input{}
in a single file to include the content of the other files. However, when editing this project from spacemacs, I run into some trouble, because spacemacs cannot find cross references from the other.tex
files nor can it find citations from my.bib
file at all.Autocomplete only works for labels defined in the same
.tex
file when I use\ref{}
, while autocomplete doesn't work at all when using\cite{}
Reproduction guide 🪲
.tex
files and try to cross reference them/use citations.My project structure is the following: I have a
makefile
in the root directory in my project and all.tex
files along with thebib
file is located in a subdirectory. I include the bibliography in my main.tex
file using\bibliography{Texfiles/references.bib}
.Observed behaviour: 👀 💔
when using
\cite{}
, I receive the following error when trying to use autocomplete in acite
command:Then if I push
M-RET r v
, I receive a new error:Calling
reftex-citation
results in the following error:Expected behaviour: ❤️ 😄
Autocomplete works by listing all available citations from the
.bib
file specified in the\bibliography
command when using the\cite
command and lists all cross references from labels from all.tex
files when using the\ref
command.System Info 💻
(typescript latex bibtex helm auto-completion emacs-lisp git markdown org spell-checking syntax-checking themes-megapack)
The text was updated successfully, but these errors were encountered: