Re: [PATCH] Re: oc-basic "Wrong value for ENTRY-OR-KEY" error on emacs master (29.x) [Was: Bibliographies on export with ox-context and ox-epub]

2022-11-06 Thread Ihor Radchenko
Ihor Radchenko writes: > Ihor Radchenko writes: > >> Note that apart from the problem on Emacs side, there appears to be a >> problem with org-cite-basic-export-bibliography. >> >> org-cite-basic-export-bibliography uses org-cite-basic--print-entry, >> which fails to print keys, which are not in

[PATCH] Re: oc-basic "Wrong value for ENTRY-OR-KEY" error on emacs master (29.x) [Was: Bibliographies on export with ox-context and ox-epub]

2022-10-21 Thread Ihor Radchenko
Ihor Radchenko writes: > Note that apart from the problem on Emacs side, there appears to be a > problem with org-cite-basic-export-bibliography. > > org-cite-basic-export-bibliography uses org-cite-basic--print-entry, > which fails to print keys, which are not in .bib files. As a result, > #+pri

Re: oc-basic "Wrong value for ENTRY-OR-KEY" error on emacs master (29.x) [Was: Bibliographies on export with ox-context and ox-epub]

2022-05-11 Thread Ihor Radchenko
Kaushal Modi writes: > On Mon, May 9, 2022 at 5:44 PM Kaushal Modi wrote: >> >> I have now sent this to Emacs bug tracking: >> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55342 > > Thanks for the debug[1] Ihor! > > This issue was quickly fixed on Emacs master in > https://git.savannah.gnu.org/

Re: oc-basic "Wrong value for ENTRY-OR-KEY" error on emacs master (29.x) [Was: Bibliographies on export with ox-context and ox-epub]

2022-05-10 Thread Kaushal Modi
On Mon, May 9, 2022 at 5:44 PM Kaushal Modi wrote: > > I have now sent this to Emacs bug tracking: > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55342 Thanks for the debug[1] Ihor! This issue was quickly fixed on Emacs master in https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d221c02fa1

Re: oc-basic "Wrong value for ENTRY-OR-KEY" error on emacs master (29.x) [Was: Bibliographies on export with ox-context and ox-epub]

2022-05-09 Thread Kaushal Modi
I have now sent this to Emacs bug tracking: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55342

Re: oc-basic "Wrong value for ENTRY-OR-KEY" error on emacs master (29.x) [Was: Bibliographies on export with ox-context and ox-epub]

2022-05-09 Thread Kaushal Modi
On Mon, May 9, 2022 at 10:21 AM Kaushal Modi wrote: > Can someone using emacs > built from master branch confirm that they see this same error when > `org-cite-process-bibliography` is called? It should be reproducible > without using ox-hugo too. Alright I was able to confirm this possibly upst

oc-basic "Wrong value for ENTRY-OR-KEY" error on emacs master (29.x) [Was: Bibliographies on export with ox-context and ox-epub]

2022-05-09 Thread Kaushal Modi
On Thu, Nov 25, 2021 at 6:21 AM juh wrote: > With cite_export: basic I get > > Wrong value for ENTRY-OR-KEY: nil Hello, I saw the ox-hugo CI fail with emacs master (29.0.50) over the past few days with this backtrace, but this error is probably not related to ox-hugo, and I need help confirming

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 canno

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 s

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 work

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.  Oth

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 unexpec

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 here---start---

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 still

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, e

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:&nandy-2021-audac-huge]]. * Bibliography bibliography:~/Dropbox/emacs/bibliography/references.bib * build :noexport: #+csl-styl

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 [cite:

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 available

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 i

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: Cita

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 > #+bibliogra

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] #+print_bi

Bibliographies on export with ox-context and ox-epub

2021-11-24 Thread juh
Hi all, I am kind of lost with references and ox-context and ox-epub. Is there a tutorial how to integrate a bibliography in ConTeXt and epub-Export? What I want to achieve is to use a bibtex bibliographies with org-roam and export them to epub and ConTeXt to generate bibliographies in the outp