Hi here,

I've the following use scenario:

1. Use helm-bibtex to manage and insert bib entries.
2. Use auctex to do the document creation.
3. I save the bib files used for each master tex file in a subfolder
located under the same directory as it.

I want to set the `bibtex-completion-bibliography` variable of
helm-bibtex to the dynamical generated bib files list corresponding to
the current master tex file.

The example setting of this variable is as follows:

(setq bibtex-completion-bibliography (directory-files-recursively
                        (concat (getenv "HOME")
"/texmf/bibtex/bib/local") "^[A-Za-z].+.bib$"))

But the above setup uses a fixed directory, so it doesn't meet the
requirements here. Any suggestions for achieving the goal will be
appreciated.

Regards,
Zhao
-- 
Assoc. Prof. Hongsheng Zhao <hongyi.z...@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province

Reply via email to