Git Product home page Git Product logo

Comments (2)

joostkremers avatar joostkremers commented on August 17, 2024

In a LaTeX file, there is a \bibliography or \addbibresource command that defines the bib-files associated with the file. Ebib uses this to search the key. For orgmode files, Ebib simply uses the current database, because it doesn't know which bib files are associated with the org file. If orgmode has a away of defining the bib files for a specific org file, let me know, it shouldn't be difficult to let Ebib use that information.

If there is no such way, what you can do is set the variable ebib-local-bibtex-filenames to a list of bib files. In orgmode, the following should work, I think:

** Local Variables:
** ebib-local-bibtex-filenames: '("one.bib" "two.bib")
** End:

The files will need to be open in Ebib, they won't be loaded automatically. (I guess that's something that could be improved. As soon as I have the time... ;-)

You can also use absolute paths in ebib-local-bibtex-filenames, e.g., "~/path/to/bibfile.bib". If you have a relative path, e.g., "path/to/bibfile.bib" then Ebib only considers the filename itself, i.e., "bibfile.bib". (That too is something that could be improved...)

from ebib.

demon386 avatar demon386 commented on August 17, 2024

Thanks for reply.

My problem is solved by setting ebib-local-bibtex-filenames (global value) to my bibtex files. Worked in my situation because I just want to automatically locate entry in my libraries, consisting of 3 bibtex files.

from ebib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.