Hot answers tagged

3

If you are using org-ref see org-ref-extract-bibtex-entries or org-ref-extract-bibtex-to-file.


2

org-ref does not play well (natively) with docx, odt or html export. Its creator (J. Kitchin) explains why in several blog posts. I don't know if this is the canonical (or even a good) way to proceed, but here is the workaround I use when I want clean references for an html export. Install ox-bibtex (i.e., put it your load-path and add (require 'ox-bibtex) ...


1

In org-ref, you can only cite a bibtex entry, and not a note. You can annotate the cite link with page numbers e.g. [[cite:some-key][p200]], and that annotation is done manually.


1

One strategy that is very simple is to define a function, and bind it to a convenient key. Here is one example. You just type C-o on a key, this function finds the key, then uses bibtex-completion to open it. (require 'bibtex-completion) (defun open-key-at-point () (interactive) (let (start end key) (save-excursion (setq start (progn (re-...


1

I guess the best way to do this would be along these lines: Write a function that takes a bibtex key and generates the pdf filename you want, e.g. it looks up the bibtex entry, gets the authors, year and title, and constructs a legitimate filename from them. There might be lots of corner cases to deal with latex markup in author names and titles. I think ...


1

I just went crazy looking for an answer as well. I've done it numerous times in the past, but never remembered how to do it. The key was to google without mentioning emacs! I copy an answer from here (that I normally use): https://tex.stackexchange.com/questions/41821/creating-bib-file-containing-only-the-cited-references-of-a-bigger-bib-file With a TeX Live ...


1

I have a large refs.bib file where I collect all my bibliography. I'd like to export only the relevant bibtex entries cited in a org document. The bog package provides a command bog-create-combined-bib that can do something like this: bog-create-combined-bib is an autoloaded interactive compiled Lisp function in `bog.el'. (bog-create-combined-bib &...


1

I have pushed a lot of commits to fix issues like these in the last two weeks. The issues were due to differences in dolist, and cl-lib, etc. I think they are all working now. The answer is probably to update to the latest org-ref, and all the issues should go away. If not, I would consider it a bug in org-ref still and it would be helpful to report it at ...


1

[This is not an answer: it's more debugging suggestions to avoid a long comment thread] I evaluated (org-ref-list-index "einstein" '("knuthwebsite" "latexcompanion" "einstein")) in 26.3 and I get 2 there as well: no error (I started with emacs -q and initialized the package system by hand in order to load org-ref which ...


1

The best way is to define your own cite export function like this and then set it on the cite link. (defun my-html-cite-export (keys desc format) (mapconcat (lambda (key) (format "<a class='org-ref-reference' href=\"#%s\" title=\"%s\">%s</a>" key (org-ref-format-entry key) ...


1

That bothered me too. My solution was to add #+LATEX_HEADER: \renewcommand{\bibsection}{} and keep those bibliography: and bibliographystyle: links under a References (or whatever you like) heading. So, you are not hiding the heading in .org, but the one that is generated by the link, in order to avoid a duplicate. So, in your case you can do: #+TITLE: Title ...


1

A feature to set absolute path for bib file has been merged in org-ref. Update org-ref and add (setq org-ref-latex-bib-resolve-func #'expand-file-name). See org-ref github issues here and here.


Only top voted, non community-wiki answers of a minimum length are eligible