From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QKVfJNWPp2EucAEAgWs5BA (envelope-from ) for ; Wed, 01 Dec 2021 16:08:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MDsaINWPp2FIIwAA1q6Kng (envelope-from ) for ; Wed, 01 Dec 2021 15:08:05 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 279F016EAB for ; Wed, 1 Dec 2021 16:08:05 +0100 (CET) Received: from localhost ([::1]:50514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msRDH-0000IQ-V5 for larch@yhetil.org; Wed, 01 Dec 2021 10:08:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msRBd-0007OS-Ln for emacs-orgmode@gnu.org; Wed, 01 Dec 2021 10:06:21 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:39513) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msRBW-00083G-W6 for emacs-orgmode@gnu.org; Wed, 01 Dec 2021 10:06:21 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id A2E7B24000E; Wed, 1 Dec 2021 15:06:11 +0000 (UTC) From: Nicolas Goaziou To: juh Subject: Re: Bibliographies on export with ox-context and ox-epub References: <2fcf6b95-c3c1-0885-e3b0-99479a580dc2@mailbox.org> <1f18a566-415e-0742-58e3-5a46fc550ae2@mailbox.org> <87r1awzbkd.fsf@nicolasgoaziou.fr> Date: Wed, 01 Dec 2021 16:06:10 +0100 In-Reply-To: (juh's message of "Wed, 1 Dec 2021 15:44:48 +0100") Message-ID: <87fsrcz7od.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.193; envelope-from=mail@nicolasgoaziou.fr; helo=relay1-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638371285; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=TnsMaMnZPb+XA+5dl3bnLAkPn5AuF3KZEhDyhY149FU=; b=G132RNcJNoaQQNP2JnKCvv7rpNfRQ5+14vTmRZPnoq6utGwWuCOyRI6issZ+NKirGV1Sml M1BlhNk4gV1Ca13ZoL5jzH3mwOf7Zs5eZLiHtWIk0zfUb+vh0BqTfAJQvhEZDaVp++w6pN QJsJHxnitqv99jdSmM0Pg0nRkC/rR9GFqJLCIzLJe8dRrI26aGxfpuexwZvdui0O2jYyFx uxQE+yVDoC5jzaYXxssAdU8fgUNb8r9mE7Ffvx901JFKZPvd2BtK400xB626/6z/e2SgUK 20+UrUa7vCmkXyIuhk+JG6+ojzpjoNF9IUfs+vR+pRcjntN1xOUBYYBTPnYNkQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638371285; a=rsa-sha256; cv=none; b=ko2Ce1fysGjCMjS1ddG56Pw3MA3mp3FixW/vOrVp738kso7itiUSZbbPqBjMu/n1FDUfF6 B96Wk2C1Zstna8AaClInjMZ5/4oteqlbFp7tM6PxPP6Mx5VxhELUnP48JLtVlF6DLD68iG jVVsABb9nDovu5x8gC5HGq1nppdoMM+Zl039EXnNhgbR1Mv7Y/TVnCJog0J1d9rdZXv4XL IJ3nT2K+EoKUoPEztaNs3K47SFRq7AkXP2+/hd6xkeyXNbS06HzBjQSmbqkjaA84jDZ+L4 zE9P+0pHkD5Jeg1LTfxP6xePxv946fnJsY4dwC4Om+lLA0v4LIkkW9k/jbyr/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.01 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 279F016EAB X-Spam-Score: -3.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: DWvkWfqFZx7k Hello, juh writes: > thanks a lot. > > basic works Good! We're getting close. > but with csl I get: > > citeproc-style-parse: Opening input file: Datei oder Verzeichnis nicht gefunden, /usr/share/emacs/27.1/etc/org/csl/chicago-author-date.csl > > File or directory not found. That's unexpected. I am curious to know why `org-cite-csl--etc-dir' is set to "/usr/share/emacs/27.1/etc/org/csl/chicago-author-date.csl". If you have some time to spare, you could edebug this defconst by using on its definition and move with successive . In particular, (locate-library "oc") should not point to /usr/share/emacs/27.1/... since it was not available at that time. > I tried to point > > #+csl_style: ~/Projekte/csl.styles/chicago-author-date.csl > > but there is no change in the error message. Location of the CSL style file should be the second token in the "cite_export" keyword. So the above should be: #+cite_export: csl ~/Projekte/csl.styles/chicago-author-date.csl You can also shorten this with `org-cite-csl-styles-dir' variable. E.g., if _all_ your style files are located in "~/Projekte/csl.styles/", you could use: (setq org-cite-csl-styles-dir "~/Projekte/csl.styles/") In that case, the second token from "cite_export" keyword would become: #+cite_export: csl chicago-author-date.csl Note there is no "csl_style" keyword in Org Cite. It might be related to Org Ref, which is a different citation system. HTH, -- Nicolas Goaziou