Re: Bibliographies on export with ox-context and ox-epub

2022-01-12 Thread John Kitchin
These two packages can co-exist. This message means do not mix citations from both in a single org file; use one or the other. John --- Professor John Kitchin (he/him/his) Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh,

Re: Bibliographies on export with ox-context and ox-epub

2022-01-12 Thread Bruce D'Arcus
On Wed, Jan 12, 2022 at 11:42 AM juh wrote: > > On 12.01.22 15:53, Nicolas Goaziou wrote: > > Note that Org Cite and Org Ref are, unfortunately, incompatible > > projects. Org Cite defines citations as a new kind of object, whereas > > Org Ref extends links to create citations. In short, you

Re: Bibliographies on export with ox-context and ox-epub

2022-01-12 Thread juh
On 12.01.22 15:53, Nicolas Goaziou wrote: Note that Org Cite and Org Ref are, unfortunately, incompatible projects. Org Cite defines citations as a new kind of object, whereas Org Ref extends links to create citations. In short, you cannot mix both. Do I have to erase every trace of Org Ref in

Re: Bibliographies on export with ox-context and ox-epub

2022-01-12 Thread juh
On 12.01.22 15:53, Nicolas Goaziou wrote: Hello, juh writes: The last step was to make a symlink. sudo ln -s /usr/share/citation-style-language/locales /usr/share/emacs/27.1/etc/org/csl This is odd. Locales and Styles are two different things. Citations in this format now works. [cite:

Re: Bibliographies on export with ox-context and ox-epub

2022-01-12 Thread Nicolas Goaziou
Hello, juh writes: > The last step was to make a symlink. > > sudo ln -s /usr/share/citation-style-language/locales > /usr/share/emacs/27.1/etc/org/csl This is odd. Locales and Styles are two different things. > Citations in this format now works. > [cite: @bibtex_key S. 63] > > I define the

Re: Bibliographies on export with ox-context and ox-epub

2022-01-11 Thread juh
Dear all, On 01.12.21 16:06, Nicolas Goaziou wrote: 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/") Finally citations are

Re: Bibliographies on export with ox-context and ox-epub

2021-12-02 Thread Jason Ross
There is a ConTeXt-specific citation exporter that's in development: https://github.com/Jason-S-Ross/oc-context On 12/2/21 12:11 AM, juh wrote: Am 01.12.21 um 16:01 schrieb Eric S Fraga: What completion engine are you using?  In selectrum, typing C-j at that point finishes the completion. 

Re: Bibliographies on export with ox-context and ox-epub

2021-12-02 Thread juh
Am 01.12.21 um 16:01 schrieb Eric S Fraga: What completion engine are you using? In selectrum, typing C-j at that point finishes the completion. Other engines will differ. You might also try up-arrow and RET. Thanks a lot. I use selectrum and would've never found this door out. juh

Re: Bibliographies on export with ox-context and ox-epub

2021-12-01 Thread Nicolas Goaziou
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

Re: Bibliographies on export with ox-context and ox-epub

2021-12-01 Thread Eric S Fraga
On Wednesday, 1 Dec 2021 at 15:57, juh wrote: > But then I can't get out, because: > > Key ("" to exit) > > What key is this? What completion engine are you using? In selectrum, typing C-j at that point finishes the completion. Other engines will differ. You might also try up-arrow and RET.

Re: Bibliographies on export with ox-context and ox-epub

2021-12-01 Thread juh
Am Wed, Dec 01, 2021 at 03:44:48PM +0100 schrieb juh: > 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. > > I tried to point > > #+csl_style:

Re: Bibliographies on export with ox-context and ox-epub

2021-12-01 Thread juh
Hi Nicolas, thanks a lot. basic works Am Wed, Dec 01, 2021 at 02:42:10PM +0100 schrieb Nicolas Goaziou: > If I change the second line to "#+cite_export: csl" instead, with the > external Citeproc Emacs library properly loaded, I get: > > (org et al. 2021, 45) > > org et al. (2021, 45) > > >

Re: Bibliographies on export with ox-context and ox-epub

2021-12-01 Thread Nicolas Goaziou
Hello, juh writes: > I fixed this, updated to the newest org but still no rendering in no > format. > > Thanks to all. > > I will give up for the moment and maybe come back again later. For the record, with the following test.bib file: --8<---cut

Re: Bibliographies on export with ox-context and ox-epub

2021-11-25 Thread juh
Am Thu, Nov 25, 2021 at 01:49:01PM +0100 schrieb András Simonyi: > if that's the entire content then it is not a well-formed bib(la)tex > bibliography file: the value of the pages field and the entry's > closing bracket are missing. Thanks a lot. I fixed this, updated to the newest org but

Re: Bibliographies on export with ox-context and ox-epub

2021-11-25 Thread András Simonyi
On Thu, 25 Nov 2021 at 12:21, juh wrote: > After I fixed my installation I now use org-mode 9.5.1 but still > citations are not rendered in no export format neither with basic nor > with csl. > test.bib in same directory: > > > @article{doe, > author={org, mode and Syntax, Citation and

Re: Bibliographies on export with ox-context and ox-epub

2021-11-25 Thread juh
Am Wed, Nov 24, 2021 at 08:29:46PM +0100 schrieb András Simonyi: > > The error disappears but the bibliography still is not rendered. > > > > I get the plain code: > > > > [@doe 45] > > > > [cite/t:@doe 45] > > > > juh > is the rendering OK when you export using the built-in, standard > backends,

Re: Bibliographies on export with ox-context and ox-epub

2021-11-24 Thread András Simonyi
Dear All, On Wed, 24 Nov 2021 at 16:49, juh wrote: > The error disappears but the bibliography still is not rendered. > > I get the plain code: > > [@doe 45] > > [cite/t:@doe 45] > > juh is the rendering OK when you export using the built-in, standard backends, e.g., html or txt? As a data point,

Re: Bibliographies on export with ox-context and ox-epub

2021-11-24 Thread John Kitchin
If you are happy with org-ref, here is a minimal example that shows how to get a bibliography via csl, and a pre-processing hook. * test A sentence with ref [[cite:]]. * Bibliography bibliography:~/Dropbox/emacs/bibliography/references.bib * build :noexport: #+csl-style:

Re: Bibliographies on export with ox-context and ox-epub

2021-11-24 Thread juh
Am Wed, Nov 24, 2021 at 11:59:19AM +0100 schrieb Denis Maier: > > Am 24.11.2021 um 10:32 schrieb juh: > > [...] > > > Thanks a lot but I get: > > > > Unknown processor csl > What happens after this? > > M-: (require 'oc-csl) > > Will this evaluate or do you get an error message? > The error

Re: Bibliographies on export with ox-context and ox-epub

2021-11-24 Thread juh
Am 24.11.21 um 09:43 schrieb Denis Maier: Are you already on org 9.5? Looks like your still using the "old" org-ref links. The following mwe might get you started: %% #+title: Citation tests #+cite_export: csl #+bibliography: test.bib

Re: Bibliographies on export with ox-context and ox-epub

2021-11-24 Thread Colin Baxter 
> Eric S Fraga writes: > On Wednesday, 24 Nov 2021 at 09:59, Colin Baxter  wrote: >> Where is citeproc.el? I'm using Org mode version 9.5.1 >> (release_9.5.1-194-gd82936) and I don't see it. > It's a separate Emacs package which you will need to install. > It's

Re: Bibliographies on export with ox-context and ox-epub

2021-11-24 Thread Eric S Fraga
On Wednesday, 24 Nov 2021 at 09:59, Colin Baxter  wrote: > Where is citeproc.el? I'm using Org mode version 9.5.1 > (release_9.5.1-194-gd82936) and I don't see it. It's a separate Emacs package which you will need to install. It's available on MELPA. The csl citation engine depends on it. It

Re: Bibliographies on export with ox-context and ox-epub

2021-11-24 Thread Denis Maier
Am 24.11.2021 um 10:32 schrieb juh: [...] Thanks a lot but I get: Unknown processor csl What happens after this? M-: (require 'oc-csl) Will this evaluate or do you get an error message? Denis

Re: Bibliographies on export with ox-context and ox-epub

2021-11-24 Thread Denis Maier
Am 24.11.2021 um 10:59 schrieb Colin Baxter : Denis Maier writes: > Are you already on org 9.5? Looks like your still using the "old" > org-ref links. > The following mwe might get you started: > %% > #+title:

Re: Bibliographies on export with ox-context and ox-epub

2021-11-24 Thread Colin Baxter 
> Denis Maier writes: > Are you already on org 9.5? Looks like your still using the "old" > org-ref links. > The following mwe might get you started: > %% > #+title: Citation tests #+cite_export: csl >

Re: Bibliographies on export with ox-context and ox-epub

2021-11-24 Thread Denis Maier
Are you already on org 9.5? Looks like your still using the "old" org-ref links. The following mwe might get you started: %% #+title: Citation tests #+cite_export: csl #+bibliography: test.bib [cite: @doe 45] [cite/text: @doe 45]