auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Select and insert multiple bibliography entries into one \cite comma


From: Hongyi Zhao
Subject: Re: Select and insert multiple bibliography entries into one \cite command with regexp search.
Date: Thu, 12 Aug 2021 21:33:48 +0800

On Thu, Aug 12, 2021 at 8:41 PM Vladimir Lomov <lomov.vl@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

[Prev in Thread] Current Thread [Next in Thread]