chenyanming / calibredb.el

Emacs calibre client - An Ebook Management Solution in Emacs.
GNU General Public License v3.0
324 stars 17 forks source link

Choosing the location where the bib file will be stored #23

Closed darcamo closed 3 years ago

darcamo commented 4 years ago

The instructions in How to interact with org-ref set the value of the calibredb-ref-default-bibliography variable such that the bib file generated by calibredb is inside the folder with my calibre library, as shown below

(setq calibredb-ref-default-bibliography (concat (file-name-as-directory calibredb-root-dir) "catalog.bib"))

This gives the impression that if the user wants to put the bib file in a different location all it is necessary is to set the value of calibredb-ref-default-bibliography to something else. However, no matter which value is set, everytime calibredb is started it will just change the value back to the equivalent of (concat (file-name-as-directory calibredb-root-dir) "catalog.bib"). I suspect that this might be the intended behavior due to the comment below

Is it possible to choose the folder where the bib file will be placed? I have a folder with some bib files and I'd prefer if the generated bib file from calibredb was put there as well. Something like "calibre_books.bib" or similar.

chenyanming commented 3 years ago

I supposed the issue already fixed, any issues, feel free to reopen it.