[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-humanities] Best workflow for Emacs + Zotero ?
From: |
Colin Baxter |
Subject: |
Re: [emacs-humanities] Best workflow for Emacs + Zotero ? |
Date: |
Tue, 06 Dec 2022 13:53:53 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (gnu/linux) |
>>>>> Sergei Pashakhin <pashakhin@gmail.com> writes:
> --Apple-Mail=_282D6DBD-B6DE-47F9-A419-CF6167752A70 Content-Type:
> multipart/mixed;
> boundary="Apple-Mail=_7589E9F5-61C7-4A32-B0B9-16D9AEEE5FC6"
> --Apple-Mail=_7589E9F5-61C7-4A32-B0B9-16D9AEEE5FC6
> Content-Transfer-Encoding: quoted-printable Content-Type:
> text/plain; charset=utf-8
> Dear Colin,
> Please find attached an org file and a bib file to try on your
> Emacs = config. Let me know if it works =E2=80=94 I am not sure
> that I have = gathered all the relevant configs.
> Best,
> Sergei
> --Apple-Mail=_7589E9F5-61C7-4A32-B0B9-16D9AEEE5FC6
> Content-Disposition: attachment; filename=presentation.org
> Content-Type: application/octet-stream; x-unix-mode=0644;
> name="presentation.org" Content-Transfer-Encoding: 7bit
> #+TITLE: A template #+OPTIONS: toc:nil #+BIBLIOGRAPHY:
> references.bib #+cite_export: csl apa.csl
> I think this should work on org-mode 9.5.5 and any Ivy version.
> #+BEGIN_SRC emacs-lisp ; tell org where to look for CSL's
> (use-package citeproc :straight t :config (setq
> org-cite-csl-styles-dir "~/Zotero/styles")) #+END_SRC
> * Org-cite and Ivy - Press =C-c C-x @= (org-cite-insert) - Select
> an item or items - Press =C-M-j= (=ivy-immediate-done=) to insert
> the citation [cite:@Graeberdawneverythingnew2021;
> @DodonovPolemologicalParadigmHybrid2017;
> @AlyukovMakingSenseNews2022]
> * =ivy-bibtex=
> If the workflow above does not work, try addaing my ivy-bibtex
> config:
> #+BEGIN_SRC emacs-lisp (use-package ivy-bibtex :straight t :after
> ivy :config (autoload 'ivy-bibtex "ivy-bibtex" "" t) ; not sure if
> this is need here (global-set-key (kbd "C-M-,")
> 'ivy-bibtex-with-local-bibliography) ; call' ivy-bibtex minibuffer
> (setq bibtex-completion-format-citation-functions '((org-mode
> . bibtex-completion-format-citation-org-cite))) ; make sure to
> insert an org-citation (setq ivy-re-builders-alist '((ivy-bibtex
> . ivy--regex-ignore-order) (t . ivy--regex-plus))) (setq
> ivy-bibtex-default-action 'ivy-bibtex-insert-citation)) #+END_SRC
> * References
> #+PRINT_BIBLIOGRAPHY:
Thank you very much for this. I got it to work fairly quickly, all I
needed was citeproc. Thanks again. This will make a big difference to my
work.
Best wishes,
Colin Baxter.