GithubHelp home page GithubHelp logo

Comments (10)

jkitchin avatar jkitchin commented on July 17, 2024

Thanks for the heads up. I don't use notes too often, but if anything comes up I will keep this in mind.

from org-ref.

jagrg avatar jagrg commented on July 17, 2024

@jkitchin we are unable to fully change the notes title template because drawer and links are inserted automatically. The changes in jagrg@a18abde gives more flexibility but keeps the original format, except for the pdf, which can be accessed via the cite link anyway. What do you think?

from org-ref.

tmalsburg avatar tmalsburg commented on July 17, 2024

I may not understand org-ref well enough, but I assumed that the new code in helm-bibtex could handle notes such that this doesn't need to be duplicated in org-ref.

from org-ref.

jagrg avatar jagrg commented on July 17, 2024

@tmalsburg this is needed for opening notes via cite links.

from org-ref.

tmalsburg avatar tmalsburg commented on July 17, 2024

Why can't you simply call helm-bibtex-edit-notes in org-ref-open-bibtex-notes after the key is copied to the clipboard?

from org-ref.

jagrg avatar jagrg commented on July 17, 2024

You are probably right. Maybe John can comment.

from org-ref.

jkitchin avatar jkitchin commented on July 17, 2024

@jagrg your suggestion looks fine. I made that change. I am ambivalent on one file per note or all notes in one file. I decided to create a new customization for org-ref-notes-function that allows users to specify how they want to open notes at point, either a function that does the old way (Default) or helm-bibtex-edit-notes. I think that covers everyone.

from org-ref.

tmalsburg avatar tmalsburg commented on July 17, 2024

There is a misunderstanding. I was not proposing that org-ref switches to one file per note. Helm-bibtex allows to use both kinds of notes. This means that helm-bibtex-edit-notes could be used to implement the org-ref way of handling notes, however, it could also be used to do one file per note if that is preferred. Either way, it would be redundant and potentially more error-prone to have two implementations of the same functionality.

from org-ref.

jkitchin avatar jkitchin commented on July 17, 2024

I see. So it should be fine to have helm-bibtex-edit-notes do the work, and leave the configuration on helm-bibtex then. Can you point me to the relevant configuration variables?

from org-ref.

tmalsburg avatar tmalsburg commented on July 17, 2024

If you prefer not to use helm-bibtex' implementation of notes handling, that is of course perfectly fine with me. Otherwise: To get org-ref style notes, you have to set helm-bibtex-notes-path to point to the notes file and you have to set the template for new notes using helm-bibtex-notes-template-one-file. Another relevant variable is helm-bibtex-notes-key-pattern which is used to find BibTeX entries in the notes file, but I think you don't have to change it because its current default is consistent with org-ref format.

from org-ref.

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.