8000 Force citar to use citar-bibliography (not citar-latex-local-bib-files) for PDFs and notes · Issue #859 · emacs-citar/citar · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Force citar to use citar-bibliography (not citar-latex-local-bib-files) for PDFs and notes #859
Open
@rdiaz02

Description

@rdiaz02

Is your feature request related to a problem? Please describe.
When I write papers, I initially have the bib file be a symlink to my full bib file. Before the final submission, I prepare a .bib file that contains only the entries with the required fields (e.g., bibexport -o paper.bib paper.aux). In that bib file, the file field disappears (as it should).

But if I now want to see the PDFs (citar-open-files) I often can't, as citar will often use first the new bib, not the global one I specify via citar-bibliography in my init.el (both bib files have the same keys).

Describe the solution you'd like
Search PDFs and notes in the global citar-bibliography file.

Describe alternatives you've considered
I think I could set to nil or remove, from citar-major-mode-functions the entry for local-bib-files. I can also redefine citar-latex-local-bib-files to return nil; this I've tested adding advice in my init.el and it seems to work.

  (advice-add 'citar-latex-local-bib-files :override
5D4B

		(lambda (&rest _) nil))

But I am not sure if this is a good idea. If it is, well, I am done and happy with the solution 😃 .

Additional context

While searching for similar issues, I found these to be somewhat related:

though I think citar-local-bibliography was not finally added?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0