I have a main reftex-default-bibliography but I want to use a sepecific bib file in my tex file. I am using Emacs-AucTeX-RefTeX. At the end of my Tex file I wrote:
%%% Local Variables:
%%% reftex-default-bibliography: "~/texmf/tex/latex/demo2LatexEmacs/mini.bib"
%%% End:
When I try to use the Ref command \cite
I can only search my main bib file and not the local mini.bib file. Is there anything wrong with the way I wrote the code for the Local Variables?
The start of the docstring for reftex-default-bibliography
says:
List of BibTeX database files which should be used if none are specified.
In other words, it looks like it's expecting a list, so you'll need to enclose your file in parentheses to make it a list of one element:
%%% Local Variables:
%%% reftex-default-bibliography: ("~/texmf/tex/latex/demo2LatexEmacs/mini.bib")
%%% End: