reddit / emacs

Help needed with org-mode and citations: unknown processor csl

varsderk · 2022-09-14 17:52
Hi all, I've been using the org-mode citations a bit, and it's been great. I don't know when (maybe yesterday?) citations just stopped working on me. Even running `emacs -Q` doesn't do it. This is what the headers look like in the file of interest: ```org-mode #+title: CAP-VMs: Capability-Based Isolation and Sharing in the Cloud #+author: The Varsderk #+date: 2022-09-09 #+latex_class_options: [12pt] #+options: toc:nil num:nil #+cite_export: csl /Users/varsderk/Sync/repos/styles/acm-sig-proceedings-long-author-list.csl #+bibliography: /Users/ashton/Research/refs.bib * References Paper [cite:@sartakovCAPVMsCapabilityBasedIsolation2022]: #+print_bibliography: ``` When I run `org-export-dispatch` and then `l o` (LaTeX, open PDF) I get the message: ``` org-cite-store-export-processor: Unknown processor csl ``` This *was* working like three days ago. What gives? Org-version: `Org mode version 9.5.4 (release_9.5.4-17-g6e991f @ /Applications/Emacs.app/Contents/Resources/lisp/org/)` Emacs version: `GNU Emacs 29.0.50 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.5 (Build 21G72)) of 2022-08-15` I'm using elpaca as a package manager, but I don't think that's the problem because this still happens when I open the file and try to export with `emacs -Q`.
tranfunz · 2022-09-14 19:10
Try (require 'oc-csl).
varsderk · 2022-09-14 19:17
Nailed it. Thank you so much! (brb adding to config…)
tranfunz · 2022-09-14 19:18
Btw, this seems to be required for all the export preprocessors (oc-natbib, oc-biblatex). I'm not sure why they aren't autoloaded by org, at least oc-csl should be, in my opinion.
yantar92 · 2022-09-15 00:16
They are, in the development version of Org (that is - next release)
tranfunz · 2022-09-15 06:08
Ah, great!