On Thu, Aug 12, 2021 at 8:41 PM Vladimir Lomov <lomov...@yandex.ru> wrote:
[...]
> The advice is simple: don't use full path, try to put your bibtex files into
> $HOME/texmf/bibtex/bib/hongyi/

This will work by just using the bibliography file name, but it still
can't let the `C-c [' find the bib file:

werner@X10DAi:~$ ls $HOME/texmf/bibtex/bib/hongyi/
sample.bib

doc-samp8.ltx
---
\documentclass{article}

\usepackage{natbib}

\begin{document}

Sample text. Cite: \cite{test:2021aug}.

\begin{verbatim}
(insert "\n" (format "%S" (symbol-value reftex-docstruct-symbol)))
((xr nil "\\\\\\\\\\\\") (index-tags) (is-multi nil) (bibview-cache)
(master-dir . "/home/werner/Desktop/work/emacs-auctex/")
(label-numbers) (bof
"/home/werner/Desktop/work/emacs-auctex/doc-samp7.ltx") (eof
"/home/werner/Desktop/work/emacs-auctex/doc-samp7.ltx"))
\end{verbatim}

Another cite: \cite{test2:2021aug}.

\bibliographystyle{plainnat}
\bibliography{sample.bib}

\end{document}

%%% Local Variables:
%%% TeX-master: t
%%% End:
---

Best, Hongyi

Reply via email to