-
-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Isolated bibliographies for different projects #1079
Comments
I don't think there is a way to integrate org-ref with git this way. The right thing to do is just clone the git repo locally, and use a relative path in your org file, or a directory local variable that points to it. There are already functions to extract the entries cited in an org-file: one of these does some of what you want. I don't think it copies the pdfs anywhere though.
|
Thanks, these functions are a start. I should be able to write a lisp function to extract the pdf filenames accordingly. |
Would you have any ideas for 'making cite&:' citations double as links with relative paths to pdf in the git project. So readers of the readme for example, can open the pdfs. I am trying to keep a copy of the biblios I use for any given project together bundled to the project repos. |
The way to make cite links work to pdfs is to have a file or directory local definition of |
These kinds of links work for me. But there probably is no way of doubling the cite&: links as [[foobar]] type of links, as used by readme.org files, or markdown-flavoured links. that way the links could be used on repo pages. |
They way they are rendered on GH pages is independent of org-mode, I think it is done by some Ruby library. If you are using emacs to generate the pages, you could write a special backend I think to convert the citations to urls that point to some repo. |
Yeah I was thinking more for the github pages, so that that i guess. But I wrote a function, that extracts the pdfs from
maybe it would be useful along side the |
what do you think of 26c0691#diff-7b61d0f80eb55fdf9a5f5e0ae44ec3f417d96bfab30073f9de771967691cff72R1262? |
Hi jkitchen and community,
thanks for the amazing work you have done on org-ref. I have been using it for about half a year and like the way it works a lot.
As an undergraduate academic I have a few different bibliographies that I am working on simultaneously (subject and/or projects). Adding all of them to my bibtex-completion-bibliographies and libraries, work on my system for me, but I would love to be able to export or share them with my collegues. This might be something other people can relate to as well. An idea, is sharing org bibliographies (directories for pdf, bibtex, etc) over a version control system like git. I have that setup already for backup purposes. Using a gitclient even lets me use my bibliography on other devices, in case I need a quick glance at a pdf. Using git for orf-ref bibliographies can let other people quickly clone my biblio in case they need it for a shared project. Is there a way to include bibliographies from git into the org-ref system?
Maybe we can develop function to use a relative path to the bibtex-completion-library, such as to a ~/biblio included in git projects. Then maybe the [[cite:&name-yyyy-foo-bar]] links would become usable in readmes. I don't know enough about org-ref for that. Being able to share bibliographies between configures emacs setups could be a helpful for collaborative research.
I would love to start with a lisp-function that can select bib-text entries cited in a longer org-file. Similar to the way latex is able to build a reference list from [[printbibliography:]] in org, is there a way to extract the bib entries for cited articles? Such as a final list of references I want to include before publishing my report or repository. This function could match the names of the bibtex entries from my bibtex file and copy the pdfs (potentially notes too) into an accompanying directory. This can also be
used to split bibliographies in case they get too large.
Sadly I don't know enough lisp yet to write such a function, maybe it isn't even that difficult. If someone is interested in working on such a feature (or providing some helpful tips on how to attempt this), feel free to contact me at [email protected]. I'd be very interested in working an some solutions.
Best,
Philip
The text was updated successfully, but these errors were encountered: