emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bibliographies on export with ox-context and ox-epub
@ 2021-11-24  7:22 juh
  2021-11-24  8:43 ` Denis Maier
  2021-11-24 18:14 ` John Kitchin
  0 siblings, 2 replies; 32+ messages in thread
From: juh @ 2021-11-24  7:22 UTC (permalink / raw)
  To: Org-mode Mailinglist

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

The first wish kind of works as I can insert entries from the bibtex file with C-].

They look like this:

Nam a sapien.[[cite:@horkheimer_dialektik_1984]]

This is the org-ref entry in settings.org.

  (straight-use-package 'org-ref)
  (with-eval-after-load "org-ref" 
  (setq reftex-default-bibliography '("~/org/bibliography.bib")))

  (setq bibtex-completion-bibliography '("~/org/bibliography.bib")
        bibtex-completion-library-path '("~/org/bibtex-pdfs/")
        bibtex-completion-notes-path "~/org/notes/"
        bibtex-completion-pdf-open-function
        (lambda (fpath)
          (call-process "open" nil 0 nil fpath)))

  (define-key org-mode-map (kbd "C-c ]") 'org-ref-insert-link)


What puzzles me is that I could not find a hint to create a bibliography
for epub export and context export. Maybe there isn't. But as some
things with references does not work in my setup I fear that my
configuration is not working. I take snippets from the documentations of
the packages.

I miss an overall example or tutorial for note taking via org-roam and
exporting to epub and ConTeXt.

So for now my current publishing workflow is split into two.

1. Zettelkasten via org-roam

2. PDF and epub creation via pandoc and cite-proc.

As you can see there is a break of tools, so I would like to avoid this.

TIA
juh

-- 
Autoren-Homepage: ......... http://literatur.hasecke.com
Satiren & Essays: ......... http://www.sudelbuch.de
Privater Blog: ............ http://www.hasecke.eu
Netzliteratur-Projekt: .... http://www.generationenprojekt.de




^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2021-11-24  7:22 Bibliographies on export with ox-context and ox-epub juh
@ 2021-11-24  8:43 ` Denis Maier
  2021-11-24  9:32   ` juh
  2021-11-24  9:59   ` Bibliographies on export with ox-context and ox-epub Colin Baxter 😺
  2021-11-24 18:14 ` John Kitchin
  1 sibling, 2 replies; 32+ messages in thread
From: Denis Maier @ 2021-11-24  8:43 UTC (permalink / raw)
  To: juh, Org Mode List

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_bibliography:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

This will use the new citation export framework. citeproc-el needs to be 
installed for this to be working.

Anyway, I can export this to plain text, html, and latex without 
problems. I have not yet tried out the context exporter, but I don't see 
why it should not work there as well.

In case you haven't seen it already: 
https://blog.tecosaur.com/tmio/2021-07-31-citations.html

Best,
Denis

Am 24.11.2021 um 08:22 schrieb 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 output.
> 
> The first wish kind of works as I can insert entries from the bibtex file with C-].
> 
> They look like this:
> 
> Nam a sapien.[[cite:@horkheimer_dialektik_1984]]
> 
> This is the org-ref entry in settings.org.
> 
>    (straight-use-package 'org-ref)
>    (with-eval-after-load "org-ref"
>    (setq reftex-default-bibliography '("~/org/bibliography.bib")))
> 
>    (setq bibtex-completion-bibliography '("~/org/bibliography.bib")
>          bibtex-completion-library-path '("~/org/bibtex-pdfs/")
>          bibtex-completion-notes-path "~/org/notes/"
>          bibtex-completion-pdf-open-function
>          (lambda (fpath)
>            (call-process "open" nil 0 nil fpath)))
> 
>    (define-key org-mode-map (kbd "C-c ]") 'org-ref-insert-link)
> 
> 
> What puzzles me is that I could not find a hint to create a bibliography
> for epub export and context export. Maybe there isn't. But as some
> things with references does not work in my setup I fear that my
> configuration is not working. I take snippets from the documentations of
> the packages.
> 
> I miss an overall example or tutorial for note taking via org-roam and
> exporting to epub and ConTeXt.
> 
> So for now my current publishing workflow is split into two.
> 
> 1. Zettelkasten via org-roam
> 
> 2. PDF and epub creation via pandoc and cite-proc.
> 
> As you can see there is a break of tools, so I would like to avoid this.
> 
> TIA
> juh
> 



^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2021-11-24  8:43 ` Denis Maier
@ 2021-11-24  9:32   ` juh
  2021-11-24 10:59     ` Denis Maier
  2021-11-24  9:59   ` Bibliographies on export with ox-context and ox-epub Colin Baxter 😺
  1 sibling, 1 reply; 32+ messages in thread
From: juh @ 2021-11-24  9:32 UTC (permalink / raw)
  To: Denis Maier, juh, Org Mode List

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: @doe 45]
> 
> [cite/text: @doe 45]
> 
> #+print_bibliography:
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> 

Thanks a lot but I get:

Unknown processor csl

I also followed the example given here:
https://blog.tecosaur.com/tmio/2021-07-31-citations.html

juh


^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2021-11-24  8:43 ` Denis Maier
  2021-11-24  9:32   ` juh
@ 2021-11-24  9:59   ` Colin Baxter 😺
  2021-11-24 10:51     ` Denis Maier
  2021-11-24 11:13     ` Eric S Fraga
  1 sibling, 2 replies; 32+ messages in thread
From: Colin Baxter 😺 @ 2021-11-24  9:59 UTC (permalink / raw)
  To: Denis Maier; +Cc: , juh, Org Mode List

>>>>> Denis Maier <denismaier@mailbox.org> 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

    > #+bibliography: test.bib

    > [cite: @doe 45]

    > [cite/text: @doe 45]

    > #+print_bibliography:
    > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

    > This will use the new citation export framework. citeproc-el needs
    > to be installed for this to be working.

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.

Best wishes,



^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2021-11-24  9:59   ` Bibliographies on export with ox-context and ox-epub Colin Baxter 😺
@ 2021-11-24 10:51     ` Denis Maier
  2021-11-24 11:13     ` Eric S Fraga
  1 sibling, 0 replies; 32+ messages in thread
From: Denis Maier @ 2021-11-24 10:51 UTC (permalink / raw)
  To: Colin Baxter 😺; +Cc: juh, Org Mode List

Am 24.11.2021 um 10:59 schrieb Colin Baxter 😺:
>>>>>> Denis Maier <denismaier@mailbox.org> 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
>
>      > #+bibliography: test.bib
>
>      > [cite: @doe 45]
>
>      > [cite/text: @doe 45]
>
>      > #+print_bibliography:
>      > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
>      > This will use the new citation export framework. citeproc-el needs
>      > to be installed for this to be working.
>
> 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.
>
> Best wishes,

You'll need to install it. It's an independent package.

Denis




^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2021-11-24  9:32   ` juh
@ 2021-11-24 10:59     ` Denis Maier
  2021-11-24 11:36       ` juh
  0 siblings, 1 reply; 32+ messages in thread
From: Denis Maier @ 2021-11-24 10:59 UTC (permalink / raw)
  To: juh, juh, Org Mode List


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





^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2021-11-24  9:59   ` Bibliographies on export with ox-context and ox-epub Colin Baxter 😺
  2021-11-24 10:51     ` Denis Maier
@ 2021-11-24 11:13     ` Eric S Fraga
  2021-11-24 11:58       ` Colin Baxter 😺
  1 sibling, 1 reply; 32+ messages in thread
From: Eric S Fraga @ 2021-11-24 11:13 UTC (permalink / raw)
  To: Colin Baxter 😺; +Cc: juh, Org Mode List, Denis Maier

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 is not
part of org itself.

-- 
: Eric S Fraga, with org release_9.5-230-g2bbac4 in Emacs 29.0.50
: Latest paper written in org: https://arxiv.org/abs/2106.05096


^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2021-11-24 10:59     ` Denis Maier
@ 2021-11-24 11:36       ` juh
  2021-11-24 19:29         ` András Simonyi
  0 siblings, 1 reply; 32+ messages in thread
From: juh @ 2021-11-24 11:36 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 670 bytes --]

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 disappears but the bibliography still is not rendered.

I get the plain code:

[@doe 45]

[cite/t:@doe 45] 

juh
-- 
Autoren-Homepage: ......... http://literatur.hasecke.com
Satiren & Essays: ......... http://www.sudelbuch.de
Privater Blog: ............ http://www.hasecke.eu
Netzliteratur-Projekt: .... http://www.generationenprojekt.de



[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2021-11-24 11:13     ` Eric S Fraga
@ 2021-11-24 11:58       ` Colin Baxter 😺
  0 siblings, 0 replies; 32+ messages in thread
From: Colin Baxter 😺 @ 2021-11-24 11:58 UTC (permalink / raw)
  To: Org Mode List

>>>>> Eric S Fraga <e.fraga@ucl.ac.uk> 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 on MELPA.  The csl citation engine depends on it.
    > It is not part of org itself.

Ah, I see. Tthanks again Eric

Best wishes,


^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2021-11-24  7:22 Bibliographies on export with ox-context and ox-epub juh
  2021-11-24  8:43 ` Denis Maier
@ 2021-11-24 18:14 ` John Kitchin
  1 sibling, 0 replies; 32+ messages in thread
From: John Kitchin @ 2021-11-24 18:14 UTC (permalink / raw)
  To: juh; +Cc: Org-mode Mailinglist

[-- Attachment #1: Type: text/plain, Size: 2787 bytes --]

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-style: apa-5th-edition.csl
#+csl-locale: en-US

#+BEGIN_SRC emacs-lisp
(require 'ox-epub)
(let ((org-export-before-parsing-hook '(org-ref-csl-preprocess-buffer)))
  (org-open-file (org-epub-export-to-epub)))
#+END_SRC


John

-----------------------------------
Professor John Kitchin (he/him/his)
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



On Wed, Nov 24, 2021 at 3:00 AM juh <juh+org-mode@mailbox.org> wrote:

> 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 output.
>
> The first wish kind of works as I can insert entries from the bibtex file
> with C-].
>
> They look like this:
>
> Nam a sapien.[[cite:@horkheimer_dialektik_1984]]
>
> This is the org-ref entry in settings.org.
>
>   (straight-use-package 'org-ref)
>   (with-eval-after-load "org-ref"
>   (setq reftex-default-bibliography '("~/org/bibliography.bib")))
>
>   (setq bibtex-completion-bibliography '("~/org/bibliography.bib")
>         bibtex-completion-library-path '("~/org/bibtex-pdfs/")
>         bibtex-completion-notes-path "~/org/notes/"
>         bibtex-completion-pdf-open-function
>         (lambda (fpath)
>           (call-process "open" nil 0 nil fpath)))
>
>   (define-key org-mode-map (kbd "C-c ]") 'org-ref-insert-link)
>
>
> What puzzles me is that I could not find a hint to create a bibliography
> for epub export and context export. Maybe there isn't. But as some
> things with references does not work in my setup I fear that my
> configuration is not working. I take snippets from the documentations of
> the packages.
>
> I miss an overall example or tutorial for note taking via org-roam and
> exporting to epub and ConTeXt.
>
> So for now my current publishing workflow is split into two.
>
> 1. Zettelkasten via org-roam
>
> 2. PDF and epub creation via pandoc and cite-proc.
>
> As you can see there is a break of tools, so I would like to avoid this.
>
> TIA
> juh
>
> --
> Autoren-Homepage: ......... http://literatur.hasecke.com
> Satiren & Essays: ......... http://www.sudelbuch.de
> Privater Blog: ............ http://www.hasecke.eu
> Netzliteratur-Projekt: .... http://www.generationenprojekt.de
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 4258 bytes --]

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2021-11-24 11:36       ` juh
@ 2021-11-24 19:29         ` András Simonyi
  2021-11-25 11:19           ` juh
  0 siblings, 1 reply; 32+ messages in thread
From: András Simonyi @ 2021-11-24 19:29 UTC (permalink / raw)
  To: juh; +Cc: emacs-orgmode

Dear All,
On Wed, 24 Nov 2021 at 16:49, juh <juh@mailbox.org> 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, on my system org-cite
export with the CSL processor using ox-context works as expected.

best wishes,
András


^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2021-11-24 19:29         ` András Simonyi
@ 2021-11-25 11:19           ` juh
  2021-11-25 12:49             ` András Simonyi
  2022-05-09 14:21             ` oc-basic "Wrong value for ENTRY-OR-KEY" error on emacs master (29.x) [Was: Bibliographies on export with ox-context and ox-epub] Kaushal Modi
  0 siblings, 2 replies; 32+ messages in thread
From: juh @ 2021-11-25 11:19 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1562 bytes --]

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.g., html or txt? As a data point, on my system org-cite
> export with the CSL processor using ox-context works as expected.

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.

Sample is:

#+title: Citation tests
#+cite_export: basic
#+bibliography: test.bib

[cite:@doe 45]

[cite/text:@doe 45]


#+print_bibliography: 



test.bib in same directory:


@article{doe,
         author={org, mode and Syntax, Citation and List, Mailing and Effort, Time},
         journal={Journal of Plain Text Formats},
         title={Elegant Citations with Org-Mode},
         year={2021},
         month={7},
         volume={42},
         number={1},
         pages


With cite_export: csl I get

Scan error: "Unbalanced parentheses" , 9, 299

With cite_export: basic I get

Wrong value for ENTRY-OR-KEY: nil

With org-cite-insert my modeline shows

0 Key ("" to exit): 


TIA
juh


-- 
Autoren-Homepage: ......... http://literatur.hasecke.com
Satiren & Essays: ......... http://www.sudelbuch.de
Privater Blog: ............ http://www.hasecke.eu
Netzliteratur-Projekt: .... http://www.generationenprojekt.de



[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2021-11-25 11:19           ` juh
@ 2021-11-25 12:49             ` András Simonyi
  2021-11-25 13:53               ` juh
  2022-05-09 14:21             ` oc-basic "Wrong value for ENTRY-OR-KEY" error on emacs master (29.x) [Was: Bibliographies on export with ox-context and ox-epub] Kaushal Modi
  1 sibling, 1 reply; 32+ messages in thread
From: András Simonyi @ 2021-11-25 12:49 UTC (permalink / raw)
  To: juh; +Cc: emacs-orgmode

On Thu, 25 Nov 2021 at 12:21, juh <juh@mailbox.org> 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 List, Mailing and Effort, Time},
>          journal={Journal of Plain Text Formats},
>          title={Elegant Citations with Org-Mode},
>          year={2021},
>          month={7},
>          volume={42},
>          number={1},
>          pages
>
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.

best wishes,
András


^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2021-11-25 12:49             ` András Simonyi
@ 2021-11-25 13:53               ` juh
  2021-12-01 13:42                 ` Nicolas Goaziou
  0 siblings, 1 reply; 32+ messages in thread
From: juh @ 2021-11-25 13:53 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 661 bytes --]

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 no rendering in no
format.

Thanks to all.

I will give up for the moment and maybe come back again later.

juh
-- 
Autoren-Homepage: ......... http://literatur.hasecke.com
Satiren & Essays: ......... http://www.sudelbuch.de
Privater Blog: ............ http://www.hasecke.eu
Netzliteratur-Projekt: .... http://www.generationenprojekt.de



[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2021-11-25 13:53               ` juh
@ 2021-12-01 13:42                 ` Nicolas Goaziou
  2021-12-01 14:44                   ` juh
  0 siblings, 1 reply; 32+ messages in thread
From: Nicolas Goaziou @ 2021-12-01 13:42 UTC (permalink / raw)
  To: juh; +Cc: emacs-orgmode

Hello,

juh <juh+org-mode@mailbox.org> 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------------->8---
@article{doe,
         author={org, mode and Syntax, Citation and List, Mailing and Effort, Time},
         journal={Journal of Plain Text Formats},
         title={Elegant Citations with Org-Mode},
         year={2021},
         month={7},
         volume={42},
         number={1}}
--8<---------------cut here---------------end--------------->8---

and the following document:

--8<---------------cut here---------------start------------->8---
#+title: Citation tests
#+cite_export: basic

#+bibliography: test.bib

[cite:@doe 45]

[cite/text:@doe 45]


#+print_bibliography: 
--8<---------------cut here---------------end--------------->8---

I get, when exporting to text (<C-c t U>):

--8<---------------cut here---------------start------------->8---
                            ━━━━━━━━━━━━━━━━
                             CITATION TESTS
                            ━━━━━━━━━━━━━━━━


(org, mode and Syntax, Citation and List, Mailing and Effort, Time, 2021
45)

org, mode and Syntax, Citation and List, Mailing and Effort, Time (2021
45)


org, mode and Syntax, Citation and List, Mailing and Effort, Time
(2021). /Elegant Citations with Org-Mode/, Journal of Plain Text
Formats.
--8<---------------cut here---------------end--------------->8---

If I change the second line to "#+cite_export: csl" instead, with the
external Citeproc Emacs library properly loaded, I get:

--8<---------------cut here---------------start------------->8---
                            ━━━━━━━━━━━━━━━━
                             CITATION TESTS
                            ━━━━━━━━━━━━━━━━


(org et al. 2021, 45)

org et al. (2021, 45)


org, mode, Citation Syntax, Mailing List, and Time Effort. 2021.
“Elegant Citations with Org-Mode. J/o”urnal of Plain Text Formats/ 42
(1).
--8<---------------cut here---------------end--------------->8---

I tested with development Org, but I don't think it would change using
stable Org. Maybe someone wants to confirm this.

Regards,
-- 
Nicolas Goaziou


^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2021-12-01 13:42                 ` Nicolas Goaziou
@ 2021-12-01 14:44                   ` juh
  2021-12-01 14:57                     ` juh
  2021-12-01 15:06                     ` Nicolas Goaziou
  0 siblings, 2 replies; 32+ messages in thread
From: juh @ 2021-12-01 14:44 UTC (permalink / raw)
  To: emacs-orgmode

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)
> 
> 
> org, mode, Citation Syntax, Mailing List, and Time Effort. 2021.
> “Elegant Citations with Org-Mode. J/o”urnal of Plain Text Formats/ 42
> (1).
> --8<---------------cut here---------------end--------------->8---

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: ~/Projekte/csl.styles/chicago-author-date.csl

but there is no change in the error message.

juh



^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2021-12-01 14:44                   ` juh
@ 2021-12-01 14:57                     ` juh
  2021-12-01 15:01                       ` Eric S Fraga
  2021-12-01 15:06                     ` Nicolas Goaziou
  1 sibling, 1 reply; 32+ messages in thread
From: juh @ 2021-12-01 14:57 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 848 bytes --]

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: ~/Projekte/csl.styles/chicago-author-date.csl
> 
> but there is no change in the error message.

One more thing.

org-cite-insert gives me the list of entries in test.bib as expected.

Pressing ENTER adds "doe"

But then I can't get out, because:

Key ("" to exit) 

What key is this? 

juh

-- 
Autoren-Homepage: ......... http://literatur.hasecke.com
Satiren & Essays: ......... http://www.sudelbuch.de
Privater Blog: ............ http://www.hasecke.eu
Netzliteratur-Projekt: .... http://www.generationenprojekt.de



[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2021-12-01 14:57                     ` juh
@ 2021-12-01 15:01                       ` Eric S Fraga
  2021-12-02  8:11                         ` juh
  0 siblings, 1 reply; 32+ messages in thread
From: Eric S Fraga @ 2021-12-01 15:01 UTC (permalink / raw)
  To: juh; +Cc: emacs-orgmode

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.

-- 
: Eric S Fraga, with org release_9.5.1-231-g6766c4 in Emacs 29.0.50
: Latest paper written in org: https://arxiv.org/abs/2106.05096


^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2021-12-01 14:44                   ` juh
  2021-12-01 14:57                     ` juh
@ 2021-12-01 15:06                     ` Nicolas Goaziou
  2022-01-11 20:41                       ` juh
  1 sibling, 1 reply; 32+ messages in thread
From: Nicolas Goaziou @ 2021-12-01 15:06 UTC (permalink / raw)
  To: juh; +Cc: emacs-orgmode

Hello,

juh <juh+org-mode@mailbox.org> 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
<C-u C-M-x> on its definition and move with successive <n>. 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


^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2021-12-01 15:01                       ` Eric S Fraga
@ 2021-12-02  8:11                         ` juh
  2021-12-02 15:46                           ` Jason Ross
  0 siblings, 1 reply; 32+ messages in thread
From: juh @ 2021-12-02  8:11 UTC (permalink / raw)
  To: emacs-orgmode

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


^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2021-12-02  8:11                         ` juh
@ 2021-12-02 15:46                           ` Jason Ross
  0 siblings, 0 replies; 32+ messages in thread
From: Jason Ross @ 2021-12-02 15:46 UTC (permalink / raw)
  To: emacs-orgmode

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


^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2021-12-01 15:06                     ` Nicolas Goaziou
@ 2022-01-11 20:41                       ` juh
  2022-01-12 14:53                         ` Nicolas Goaziou
  0 siblings, 1 reply; 32+ messages in thread
From: juh @ 2022-01-11 20:41 UTC (permalink / raw)
  To: emacs-orgmode

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 working for me.

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

Maybe this is a debian problem.

Citations in this format now works.
[cite: @bibtex_key S. 63]

I define the style in the preamble:

#+cite_export: csl /home/juh/csl.styles-distribution/kritische-ausgabe.csl

What I can't do is to insert a citation because org-cite-insert runs 
forever and org-ref-cite-insert-helm inserts this:

[[cite:&name_key_1984]]

which does not render.

But at least I now have it working kind of.

Thanks to all you helped me.

juh


^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2022-01-11 20:41                       ` juh
@ 2022-01-12 14:53                         ` Nicolas Goaziou
  2022-01-12 16:38                           ` juh
  2022-01-12 16:39                           ` juh
  0 siblings, 2 replies; 32+ messages in thread
From: Nicolas Goaziou @ 2022-01-12 14:53 UTC (permalink / raw)
  To: juh; +Cc: emacs-orgmode

Hello,

juh <juh+org-mode@mailbox.org> 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 style in the preamble:
>
> #+cite_export: csl /home/juh/csl.styles-distribution/kritische-ausgabe.csl
>
> What I can't do is to insert a citation because org-cite-insert runs
> forever

You could try <M-x toggle-debug-on-quit>, then insert a citation, and
quit with C-g when it freezes. It should give you a full backtrace,
which you could send here. It is better if you reload Org uncompiled
first, with <C-u M-x org-reload>.

Another option is to send a minimal bibliography file so we can
reproduce your problem.

>and org-ref-cite-insert-helm inserts this:
>
> [[cite:&name_key_1984]]
>
> which does not render.

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.

Regards,
-- 
Nicolas Goaziou


^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2022-01-12 14:53                         ` Nicolas Goaziou
@ 2022-01-12 16:38                           ` juh
  2022-01-12 16:39                           ` juh
  1 sibling, 0 replies; 32+ messages in thread
From: juh @ 2022-01-12 16:38 UTC (permalink / raw)
  To: emacs-orgmode

On 12.01.22 15:53, Nicolas Goaziou wrote:
> Hello,
> 
> juh <juh+org-mode@mailbox.org> 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 style in the preamble:
>>
>> #+cite_export: csl /home/juh/csl.styles-distribution/kritische-ausgabe.csl
>>
>> What I can't do is to insert a citation because org-cite-insert runs
>> forever
> 
> You could try <M-x toggle-debug-on-quit>, then insert a citation, and
> quit with C-g when it freezes. It should give you a full backtrace,
> which you could send here. It is better if you reload Org uncompiled
> first, with <C-u M-x org-reload>.

Debugger entered--Lisp error: (quit)
   org-cite-basic--get-entry("noauthor_nouvelle_nodate" nil)
   org-cite-basic--get-field(year "noauthor_nouvelle_nodate" nil raw)
   org-cite-basic--get-year("noauthor_nouvelle_nodate" nil no-suffix)
   org-cite-basic--key-completion-table()
   org-cite-basic--complete-key(t)
   #f(compiled-function (select-key select-style arg) #<bytecode 
0x1561cc164ae1>)(org-cite-basic--complete-key 
org-cite-basic--complete-style nil)
   #f(compiled-function (context arg) #<bytecode 0x1561cbec25fd>)(nil nil)
   org-cite-insert(nil)
   funcall-interactively(org-cite-insert nil)
   call-interactively(org-cite-insert record nil)
   command-execute(org-cite-insert record)
   execute-extended-command(nil "org-cite-insert" nil)
   funcall-interactively(execute-extended-command nil "org-cite-insert" nil)
   call-interactively(execute-extended-command nil nil)
   command-execute(execute-extended-command)



The offending entry:

@misc{noauthor_nouvelle_nodate,
	title = {Nouvelle {Vague} – {Wikipedia}},
	url = {http://de.wikipedia.org/wiki/Nouvelle_Vague},
	urldate = {2011-01-06},
	file = {Nouvelle Vague – 
Wikipedia:/home/juh/Zotero/storage/B7UGCJCN/Nouvelle_Vague.html:text/html},
}

Before this entry was marked I deleted another one. So I fear that I 
have some entries that org-cite-insert does not like.

juh


^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2022-01-12 14:53                         ` Nicolas Goaziou
  2022-01-12 16:38                           ` juh
@ 2022-01-12 16:39                           ` juh
  2022-01-12 17:00                             ` Bruce D'Arcus
  2022-01-12 17:05                             ` John Kitchin
  1 sibling, 2 replies; 32+ messages in thread
From: juh @ 2022-01-12 16:39 UTC (permalink / raw)
  To: emacs-orgmode

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 my setup?

juh


^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2022-01-12 16:39                           ` juh
@ 2022-01-12 17:00                             ` Bruce D'Arcus
  2022-01-12 17:05                             ` John Kitchin
  1 sibling, 0 replies; 32+ messages in thread
From: Bruce D'Arcus @ 2022-01-12 17:00 UTC (permalink / raw)
  To: juh; +Cc: org-mode-email

On Wed, Jan 12, 2022 at 11:42 AM juh <juh+org-mode@mailbox.org> 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 cannot mix
> > both.
>
> Do I have to erase every trace of Org Ref in my setup?

No, you don't.

You just can't mix the two (well, I guess now three) types of
citations in the same document and expect things to work correctly.

Bruce


^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Bibliographies on export with ox-context and ox-epub
  2022-01-12 16:39                           ` juh
  2022-01-12 17:00                             ` Bruce D'Arcus
@ 2022-01-12 17:05                             ` John Kitchin
  1 sibling, 0 replies; 32+ messages in thread
From: John Kitchin @ 2022-01-12 17:05 UTC (permalink / raw)
  To: juh; +Cc: org-mode-email

[-- Attachment #1: Type: text/plain, Size: 782 bytes --]

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, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



On Wed, Jan 12, 2022 at 11:42 AM juh <juh+org-mode@mailbox.org> 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 cannot mix
> > both.
>
> Do I have to erase every trace of Org Ref in my setup?
>
> juh
>
>

[-- Attachment #2: Type: text/html, Size: 1399 bytes --]

^ permalink raw reply	[flat|nested] 32+ messages in thread

* oc-basic "Wrong value for ENTRY-OR-KEY" error on emacs master (29.x) [Was: Bibliographies on export with ox-context and ox-epub]
  2021-11-25 11:19           ` juh
  2021-11-25 12:49             ` András Simonyi
@ 2022-05-09 14:21             ` Kaushal Modi
  2022-05-09 21:33               ` Kaushal Modi
  1 sibling, 1 reply; 32+ messages in thread
From: Kaushal Modi @ 2022-05-09 14:21 UTC (permalink / raw)
  To: juh; +Cc: emacs-org list

On Thu, Nov 25, 2021 at 6:21 AM juh <juh@mailbox.org> 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 if that's the case.


=====

  signal(error ("Wrong value for ENTRY-OR-KEY: nil"))
  error("Wrong value for ENTRY-OR-KEY: %S" nil)
  org-cite-basic--get-field(author nil (:export-options (subtree)
:back-end #s(org-export-backend :name hugo :parent blackfriday
:transcoders ((code . org-hugo-kbd-tags-maybe) (example-block .
org-hugo-example-block) (export-block . org-hugo-export-block)
(export-snippet . org-hugo-export-snippet) (headline .
org-hugo-heading) (inner-template . org-hugo-inner-template)
(inline-src-block . org-hugo-inline-src-block) (keyword .
org-hugo-keyword) (link . org-hugo-link) (paragraph .
org-hugo-paragraph) (src-block . org-hugo-src-block) (special-block .
org-hugo-special-block)) :options ((:with-toc nil "toc"
org-hugo-export-with-toc) (:section-numbers nil "num"
org-hugo-export-with-section-numbers) (:author "AUTHOR" nil
user-full-name newline) (:creator "CREATOR" nil
org-hugo-export-creator-string) (:with-smart-quotes nil "'" nil)
(:with-special-strings nil "-" nil) (:with-sub-superscript nil "^"
...) (:hugo-with-locale "HUGO_WITH_LOCALE" nil nil)
(:hugo-front-matter-format "HUGO_FRONT_MATTER_FORMAT" nil
org-hugo-front-matter-format) (:hugo-level-offset "HUGO_LEVEL_OFFSET"
nil "1") (:hugo-preserve-filling "HUGO_PRESERVE_FILLING" nil
org-hugo-preserve-filling) (:hugo-delete-trailing-ws
"HUGO_DELETE_TRAILING_WS" nil org-hugo-delete-trailing-ws)
(:hugo-section "HUGO_SECTION" nil org-hugo-section) (:hugo-bundle
"HUGO_BUNDLE" nil nil) (:hugo-base-dir "HUGO_BASE_DIR" nil
org-hugo-base-dir) (:hugo-goldmark "HUGO_GOLDMARK" nil
org-hugo-goldmark) (:hugo-code-fence "HUGO_CODE_FENCE" nil t)
(:hugo-use-code-for-kbd "HUGO_USE_CODE_FOR_KBD" nil
org-hugo-use-code-for-kbd) (:hugo-prefer-hyphen-in-tags
"HUGO_PREFER_HYPHEN_IN_TAGS" nil org-hugo-prefer-hyphen-in-tags)
(:hugo-allow-spaces-in-tags "HUGO_ALLOW_SPACES_IN_TAGS" nil
org-hugo-allow-spaces-in-tags) (:hugo-auto-set-lastmod
"HUGO_AUTO_SET_LASTMOD" nil org-hugo-auto-set-lastmod)
(:hugo-custom-front-matter "HUGO_CUSTOM_FRONT_MATTER" nil nil space)
(:hugo-blackfriday "HUGO_BLACKFRIDAY" nil nil space)
(:hugo-front-matter-key-replace "HUGO_FRONT_MATTER_KEY_REPLACE" nil
nil space) (:hugo-date-format "HUGO_DATE_FORMAT" nil
org-hugo-date-format) (:hugo-paired-shortcodes
"HUGO_PAIRED_SHORTCODES" nil org-hugo-paired-shortcodes space)
(:hugo-pandoc-citations "HUGO_PANDOC_CITATIONS" nil nil)
(:bibliography "BIBLIOGRAPHY" nil nil newline) (:html-container
"HTML_CONTAINER" nil org-hugo-container-element)
(:html-container-class "HTML_CONTAINER_CLASS" nil "") (:hugo-aliases
"HUGO_ALIASES" nil nil space) (:hugo-audio "HUGO_AUDIO" nil nil) ...)
:filters ((:filter-body . org-hugo-body-filter)) :blocks nil :menu (72
"Export to Hugo-compatible Markdo..." (... ... ... ... ... ...)))
:translate-alist ((code . org-hugo-kbd-tags-maybe) (example-block .
org-hugo-example-block) (export-block . org-hugo-export-block)
(export-snippet . org-hugo-export-snippet) (headline .
org-hugo-heading) (inner-template . org-hugo-inner-template)
(inline-src-block . org-hugo-inline-src-block) (keyword .
org-hugo-keyword) (link . org-hugo-link) (paragraph .
org-hugo-paragraph) (src-block . org-hugo-src-block) (special-block .
org-hugo-special-block) (center-block . org-blackfriday-center-block)
(example-block . org-blackfriday-example-block) (fixed-width .
org-blackfriday-fixed-width) (footnote-reference .
org-blackfriday-footnote-reference) (inner-template .
org-blackfriday-inner-template) (italic . org-blackfriday-italic)
(item . org-blackfriday-item) (latex-environment .
org-blackfriday-latex-environment) (latex-fragment .
org-blackfriday-latex-fragment) (line-break . org-html-line-break)
(plain-list . org-blackfriday-plain-list) (plain-text .
org-blackfriday-plain-text) (quote-block .
org-blackfriday-quote-block) (radio-target .
org-blackfriday-radio-target) (special-block .
org-blackfriday-special-block) (src-block . org-blackfriday-src-block)
(strike-through . org-blackfriday-strike-through) (table-cell .
org-blackfriday-table-cell) (table-row . org-blackfriday-table-row)
(table . org-blackfriday-table) ...) :exported-data #<hash-table eq
5/4001 0x13a9641> :input-buffer "*Ox-hugo Pre-processed all-posts..."
:input-file "/home/runner/work/ox-hugo/ox-hug..." :with-toc nil
:section-numbers nil :author "" :creator "Emacs + Org mode + ox-hugo"
:with-smart-quotes nil :with-special-strings nil :with-sub-superscript
{} :hugo-with-locale nil :hugo-front-matter-format "toml"
:hugo-level-offset "1" ...))
  org-cite-basic--print-entry(nil nil (:export-options (subtree)
:back-end #s(org-export-backend :name hugo :parent blackfriday
:transcoders ((code . org-hugo-kbd-tags-maybe) (example-block .
org-hugo-example-block) (export-block . org-hugo-export-block)
(export-snippet . org-hugo-export-snippet) (headline .
org-hugo-heading) (inner-template . org-hugo-inner-template)
(inline-src-block . org-hugo-inline-src-block) (keyword .
org-hugo-keyword) (link . org-hugo-link) (paragraph .
org-hugo-paragraph) (src-block . org-hugo-src-block) (special-block .
org-hugo-special-block)) :options ((:with-toc nil "toc"
org-hugo-export-with-toc) (:section-numbers nil "num"
org-hugo-export-with-section-numbers) (:author "AUTHOR" nil
user-full-name newline) (:creator "CREATOR" nil
org-hugo-export-creator-string) (:with-smart-quotes nil "'" nil)
(:with-special-strings nil "-" nil) (:with-sub-superscript nil "^"
...) (:hugo-with-locale "HUGO_WITH_LOCALE" nil nil)
(:hugo-front-matter-format "HUGO_FRONT_MATTER_FORMAT" nil
org-hugo-front-matter-format) (:hugo-level-offset "HUGO_LEVEL_OFFSET"
nil "1") (:hugo-preserve-filling "HUGO_PRESERVE_FILLING" nil
org-hugo-preserve-filling) (:hugo-delete-trailing-ws
"HUGO_DELETE_TRAILING_WS" nil org-hugo-delete-trailing-ws)
(:hugo-section "HUGO_SECTION" nil org-hugo-section) (:hugo-bundle
"HUGO_BUNDLE" nil nil) (:hugo-base-dir "HUGO_BASE_DIR" nil
org-hugo-base-dir) (:hugo-goldmark "HUGO_GOLDMARK" nil
org-hugo-goldmark) (:hugo-code-fence "HUGO_CODE_FENCE" nil t)
(:hugo-use-code-for-kbd "HUGO_USE_CODE_FOR_KBD" nil
org-hugo-use-code-for-kbd) (:hugo-prefer-hyphen-in-tags
"HUGO_PREFER_HYPHEN_IN_TAGS" nil org-hugo-prefer-hyphen-in-tags)
(:hugo-allow-spaces-in-tags "HUGO_ALLOW_SPACES_IN_TAGS" nil
org-hugo-allow-spaces-in-tags) (:hugo-auto-set-lastmod
"HUGO_AUTO_SET_LASTMOD" nil org-hugo-auto-set-lastmod)
(:hugo-custom-front-matter "HUGO_CUSTOM_FRONT_MATTER" nil nil space)
(:hugo-blackfriday "HUGO_BLACKFRIDAY" nil nil space)
(:hugo-front-matter-key-replace "HUGO_FRONT_MATTER_KEY_REPLACE" nil
nil space) (:hugo-date-format "HUGO_DATE_FORMAT" nil
org-hugo-date-format) (:hugo-paired-shortcodes
"HUGO_PAIRED_SHORTCODES" nil org-hugo-paired-shortcodes space)
(:hugo-pandoc-citations "HUGO_PANDOC_CITATIONS" nil nil)
(:bibliography "BIBLIOGRAPHY" nil nil newline) (:html-container
"HTML_CONTAINER" nil org-hugo-container-element)
(:html-container-class "HTML_CONTAINER_CLASS" nil "") (:hugo-aliases
"HUGO_ALIASES" nil nil space) (:hugo-audio "HUGO_AUDIO" nil nil) ...)
:filters ((:filter-body . org-hugo-body-filter)) :blocks nil :menu (72
"Export to Hugo-compatible Markdo..." (... ... ... ... ... ...)))
:translate-alist ((code . org-hugo-kbd-tags-maybe) (example-block .
org-hugo-example-block) (export-block . org-hugo-export-block)
(export-snippet . org-hugo-export-snippet) (headline .
org-hugo-heading) (inner-template . org-hugo-inner-template)
(inline-src-block . org-hugo-inline-src-block) (keyword .
org-hugo-keyword) (link . org-hugo-link) (paragraph .
org-hugo-paragraph) (src-block . org-hugo-src-block) (special-block .
org-hugo-special-block) (center-block . org-blackfriday-center-block)
(example-block . org-blackfriday-example-block) (fixed-width .
org-blackfriday-fixed-width) (footnote-reference .
org-blackfriday-footnote-reference) (inner-template .
org-blackfriday-inner-template) (italic . org-blackfriday-italic)
(item . org-blackfriday-item) (latex-environment .
org-blackfriday-latex-environment) (latex-fragment .
org-blackfriday-latex-fragment) (line-break . org-html-line-break)
(plain-list . org-blackfriday-plain-list) (plain-text .
org-blackfriday-plain-text) (quote-block .
org-blackfriday-quote-block) (radio-target .
org-blackfriday-radio-target) (special-block .
org-blackfriday-special-block) (src-block . org-blackfriday-src-block)
(strike-through . org-blackfriday-strike-through) (table-cell .
org-blackfriday-table-cell) (table-row . org-blackfriday-table-row)
(table . org-blackfriday-table) ...) :exported-data #<hash-table eq
5/4001 0x13a9641> :input-buffer "*Ox-hugo Pre-processed all-posts..."
:input-file "/home/runner/work/ox-hugo/ox-hug..." :with-toc nil
:section-numbers nil :author "" :creator "Emacs + Org mode + ox-hugo"
:with-smart-quotes nil :with-special-strings nil :with-sub-superscript
{} :hugo-with-locale nil :hugo-front-matter-format "toml"
:hugo-level-offset "1" ...))
  #f(compiled-function (k) #<bytecode -0x1031153bd444570b>)("OrgCitations")
  mapconcat(#f(compiled-function (k) #<bytecode -0x1031153bd444570b>)
("OrgCitations") "\n")
  org-cite-basic-export-bibliography(("OrgCitations")
("/home/runner/work/ox-hugo/...") nil nil #s(org-export-backend :name
hugo :parent blackfriday :transcoders ((code .
org-hugo-kbd-tags-maybe) (example-block . org-hugo-example-block)
(export-block . org-hugo-export-block) (export-snippet .
org-hugo-export-snippet) (headline . org-hugo-heading) (inner-template
. org-hugo-inner-template) (inline-src-block .
org-hugo-inline-src-block) (keyword . org-hugo-keyword) (link .
org-hugo-link) (paragraph . org-hugo-paragraph) (src-block .
org-hugo-src-block) (special-block . org-hugo-special-block)) :options
((:with-toc nil "toc" org-hugo-export-with-toc) (:section-numbers nil
"num" org-hugo-export-with-section-numbers) (:author "AUTHOR" nil
user-full-name newline) (:creator "CREATOR" nil
org-hugo-export-creator-string) (:with-smart-quotes nil "'" nil)
(:with-special-strings nil "-" nil) (:with-sub-superscript nil "^"
...) (:hugo-with-locale "HUGO_WITH_LOCALE" nil nil)
(:hugo-front-matter-format "HUGO_FRONT_MATTER_FORMAT" nil
org-hugo-front-matter-format) (:hugo-level-offset "HUGO_LEVEL_OFFSET"
nil "1") (:hugo-preserve-filling "HUGO_PRESERVE_FILLING" nil
org-hugo-preserve-filling) (:hugo-delete-trailing-ws
"HUGO_DELETE_TRAILING_WS" nil org-hugo-delete-trailing-ws)
(:hugo-section "HUGO_SECTION" nil org-hugo-section) (:hugo-bundle
"HUGO_BUNDLE" nil nil) (:hugo-base-dir "HUGO_BASE_DIR" nil
org-hugo-base-dir) (:hugo-goldmark "HUGO_GOLDMARK" nil
org-hugo-goldmark) (:hugo-code-fence "HUGO_CODE_FENCE" nil t)
(:hugo-use-code-for-kbd "HUGO_USE_CODE_FOR_KBD" nil
org-hugo-use-code-for-kbd) (:hugo-prefer-hyphen-in-tags
"HUGO_PREFER_HYPHEN_IN_TAGS" nil org-hugo-prefer-hyphen-in-tags)
(:hugo-allow-spaces-in-tags "HUGO_ALLOW_SPACES_IN_TAGS" nil
org-hugo-allow-spaces-in-tags) (:hugo-auto-set-lastmod
"HUGO_AUTO_SET_LASTMOD" nil org-hugo-auto-set-lastmod)
(:hugo-custom-front-matter "HUGO_CUSTOM_FRONT_MATTER" nil nil space)
(:hugo-blackfriday "HUGO_BLACKFRIDAY" nil nil space)
(:hugo-front-matter-key-replace "HUGO_FRONT_MATTER_KEY_REPL..." nil
nil space) (:hugo-date-format "HUGO_DATE_FORMAT" nil
org-hugo-date-format) (:hugo-paired-shortcodes
"HUGO_PAIRED_SHORTCODES" nil org-hugo-paired-shortcodes space) ...)
:filters ((:filter-body . org-hugo-body-filter)) :blocks nil :menu (72
"Export to Hugo-compatible ..." (... ... ... ... ... ...)))
(:export-options (subtree) :back-end #s(org-export-backend :name hugo
:parent blackfriday :transcoders (... ... ... ... ... ... ... ... ...
... ... ...) :options (... ... ... ... ... ... ... ... ... ... ... ...
... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) :filters
(...) :blocks nil :menu (72 "Export to Hugo-compatible ..." ...))
:translate-alist ((code . org-hugo-kbd-tags-maybe) (example-block .
org-hugo-example-block) (export-block . org-hugo-export-block)
(export-snippet . org-hugo-export-snippet) (headline .
org-hugo-heading) (inner-template . org-hugo-inner-template)
(inline-src-block . org-hugo-inline-src-block) (keyword .
org-hugo-keyword) (link . org-hugo-link) (paragraph .
org-hugo-paragraph) (src-block . org-hugo-src-block) (special-block .
org-hugo-special-block) (center-block . org-blackfriday-center-block)
(example-block . org-blackfriday-example-block) (fixed-width .
org-blackfriday-fixed-width) (footnote-reference .
org-blackfriday-footnote-reference) (inner-template .
org-blackfriday-inner-template) (italic . org-blackfriday-italic)
(item . org-blackfriday-item) (latex-environment .
org-blackfriday-latex-environment) (latex-fragment .
org-blackfriday-latex-fragment) (line-break . org-html-line-break)
(plain-list . org-blackfriday-plain-list) (plain-text .
org-blackfriday-plain-text) (quote-block .
org-blackfriday-quote-block) (radio-target .
org-blackfriday-radio-target) ...) :exported-data #<hash-table eq
5/4001 0x13a9641> :input-buffer "*Ox-hugo Pre-processed all..."
:input-file "/home/runner/work/ox-hugo/..." :with-toc nil
:section-numbers nil :author "" :creator "Emacs + Org mode + ox-hugo"
:with-smart-quotes nil :with-special-strings nil :with-sub-superscript
{} ...))
  org-cite-export-bibliography((keyword (:key "PRINT_BIBLIOGRAPHY"
:value "" :begin 201170 :end 201192 :post-blank 1 :post-affiliated
201170 :parent (section (:begin 201090 :end 201192 :contents-begin
201090 :contents-end 201192 :post-blank 1 :post-affiliated 201090
:parent ...) (paragraph ... ...) (src-block ...) (paragraph ... ...)
#1))) nil (:export-options (subtree) :back-end #s(org-export-backend
:name hugo :parent blackfriday :transcoders ((code .
org-hugo-kbd-tags-maybe) (example-block . org-hugo-example-block)
(export-block . org-hugo-export-block) (export-snippet .
org-hugo-export-snippet) (headline . org-hugo-heading) (inner-template
. org-hugo-inner-template) (inline-src-block .
org-hugo-inline-src-block) (keyword . org-hugo-keyword) (link .
org-hugo-link) (paragraph . org-hugo-paragraph) (src-block .
org-hugo-src-block) (special-block . org-hugo-special-block)) :options
((:with-toc nil "toc" org-hugo-export-with-toc) (:section-numbers nil
"num" org-hugo-export-with-section-numbers) (:author "AUTHOR" nil
user-full-name newline) (:creator "CREATOR" nil
org-hugo-export-creator-string) (:with-smart-quotes nil "'" nil)
(:with-special-strings nil "-" nil) (:with-sub-superscript nil "^"
...) (:hugo-with-locale "HUGO_WITH_LOCALE" nil nil)
(:hugo-front-matter-format "HUGO_FRONT_MATTER_FORMAT" nil
org-hugo-front-matter-format) (:hugo-level-offset "HUGO_LEVEL_OFFSET"
nil "1") (:hugo-preserve-filling "HUGO_PRESERVE_FILLING" nil
org-hugo-preserve-filling) (:hugo-delete-trailing-ws
"HUGO_DELETE_TRAILING_WS" nil org-hugo-delete-trailing-ws)
(:hugo-section "HUGO_SECTION" nil org-hugo-section) (:hugo-bundle
"HUGO_BUNDLE" nil nil) (:hugo-base-dir "HUGO_BASE_DIR" nil
org-hugo-base-dir) (:hugo-goldmark "HUGO_GOLDMARK" nil
org-hugo-goldmark) (:hugo-code-fence "HUGO_CODE_FENCE" nil t)
(:hugo-use-code-for-kbd "HUGO_USE_CODE_FOR_KBD" nil
org-hugo-use-code-for-kbd) (:hugo-prefer-hyphen-in-tags
"HUGO_PREFER_HYPHEN_IN_TAGS" nil org-hugo-prefer-hyphen-in-tags)
(:hugo-allow-spaces-in-tags "HUGO_ALLOW_SPACES_IN_TAGS" nil
org-hugo-allow-spaces-in-tags) (:hugo-auto-set-lastmod
"HUGO_AUTO_SET_LASTMOD" nil org-hugo-auto-set-lastmod)
(:hugo-custom-front-matter "HUGO_CUSTOM_FRONT_MATTER" nil nil space)
(:hugo-blackfriday "HUGO_BLACKFRIDAY" nil nil space)
(:hugo-front-matter-key-replace "HUGO_FRONT_MATTER_KEY_REPLACE" nil
nil space) (:hugo-date-format "HUGO_DATE_FORMAT" nil
org-hugo-date-format) (:hugo-paired-shortcodes
"HUGO_PAIRED_SHORTCODES" nil org-hugo-paired-shortcodes space)
(:hugo-pandoc-citations "HUGO_PANDOC_CITATIONS" nil nil)
(:bibliography "BIBLIOGRAPHY" nil nil newline) (:html-container
"HTML_CONTAINER" nil org-hugo-container-element)
(:html-container-class "HTML_CONTAINER_CLASS" nil "") (:hugo-aliases
"HUGO_ALIASES" nil nil space) (:hugo-audio "HUGO_AUDIO" nil nil) ...)
:filters ((:filter-body . org-hugo-body-filter)) :blocks nil :menu (72
"Export to Hugo-compatible Markdo..." (... ... ... ... ... ...)))
:translate-alist ((code . org-hugo-kbd-tags-maybe) (example-block .
org-hugo-example-block) (export-block . org-hugo-export-block)
(export-snippet . org-hugo-export-snippet) (headline .
org-hugo-heading) (inner-template . org-hugo-inner-template)
(inline-src-block . org-hugo-inline-src-block) (keyword .
org-hugo-keyword) (link . org-hugo-link) (paragraph .
org-hugo-paragraph) (src-block . org-hugo-src-block) (special-block .
org-hugo-special-block) (center-block . org-blackfriday-center-block)
(example-block . org-blackfriday-example-block) (fixed-width .
org-blackfriday-fixed-width) (footnote-reference .
org-blackfriday-footnote-reference) (inner-template .
org-blackfriday-inner-template) (italic . org-blackfriday-italic)
(item . org-blackfriday-item) (latex-environment .
org-blackfriday-latex-environment) (latex-fragment .
org-blackfriday-latex-fragment) (line-break . org-html-line-break)
(plain-list . org-blackfriday-plain-list) (plain-text .
org-blackfriday-plain-text) (quote-block .
org-blackfriday-quote-block) (radio-target .
org-blackfriday-radio-target) (special-block .
org-blackfriday-special-block) (src-block . org-blackfriday-src-block)
(strike-through . org-blackfriday-strike-through) (table-cell .
org-blackfriday-table-cell) (table-row . org-blackfriday-table-row)
(table . org-blackfriday-table) ...) :exported-data #<hash-table eq
5/4001 0x13a9641> :input-buffer "*Ox-hugo Pre-processed all-posts..."
:input-file "/home/runner/work/ox-hugo/ox-hug..." :with-toc nil
:section-numbers nil :author "" :creator "Emacs + Org mode + ox-hugo"
:with-smart-quotes nil :with-special-strings nil :with-sub-superscript
{} :hugo-with-locale nil :hugo-front-matter-format "toml"
:hugo-level-offset "1" ...))
  #f(compiled-function (keyword) #<bytecode
-0xd20fedbf377cdf9>)((keyword (:key "PRINT_BIBLIOGRAPHY" :value ""
:begin 201170 :end 201192 :post-blank 1 :post-affiliated 201170
:parent (section (:begin 201090 :end 201192 :contents-begin 201090
:contents-end 201192 :post-blank 1 :post-affiliated 201090 :parent
(headline (:raw-value "Printing Bibliography" :begin 201063 :end
201192 :pre-blank 0 :contents-begin 201090 :contents-end 201192 :level
4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank
1 :footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 201063 :title (...) :parent (org-data nil ... ... ...
#33)) #17)) (paragraph (:begin 201090 :end 201109 :contents-begin
201090 :contents-end 201109 :post-blank 1 :post-affiliated 201090
:parent #17) #("Below Org snippet:\n" 0 19 (:parent #20))) (src-block
(:language "org" :switches nil :parameters nil :begin 201109 :end
201158 :number-lines nil :preserve-indent nil :retain-labels t
:use-labels t :label-fmt nil :value "#+print_bibliography:\n"
:post-blank 1 :post-affiliated 201109 :parent #17)) (paragraph (:begin
201158 :end 201170 :contents-begin 201158 :contents-end 201170
:post-blank 1 :post-affiliated 201158 :parent #17) #("exports to:\n" 0
12 (:parent #22))) #1))))
  #f(compiled-function (--data) #<bytecode
0x1f582865ffbfa61e>)((keyword (:key "PRINT_BIBLIOGRAPHY" :value ""
:begin 201170 :end 201192 :post-blank 1 :post-affiliated 201170
:parent (section (:begin 201090 :end 201192 :contents-begin 201090
:contents-end 201192 :post-blank 1 :post-affiliated 201090 :parent
(headline (:raw-value "Printing Bibliography" :begin 201063 :end
201192 :pre-blank 0 :contents-begin 201090 :contents-end 201192 :level
4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank
1 :footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 201063 :title (...) :parent (org-data nil ... ... ...
#33)) #17)) (paragraph (:begin 201090 :end 201109 :contents-begin
201090 :contents-end 201109 :post-blank 1 :post-affiliated 201090
:parent #17) #("Below Org snippet:\n" 0 19 (:parent #20))) (src-block
(:language "org" :switches nil :parameters nil :begin 201109 :end
201158 :number-lines nil :preserve-indent nil :retain-labels t
:use-labels t :label-fmt nil :value "#+print_bibliography:\n"
:post-blank 1 :post-affiliated 201109 :parent #17)) (paragraph (:begin
201158 :end 201170 :contents-begin 201158 :contents-end 201170
:post-blank 1 :post-affiliated 201158 :parent #17) #("exports to:\n" 0
12 (:parent #22))) #1))))
  mapc(#f(compiled-function (--data) #<bytecode 0x1f582865ffbfa61e>)
((paragraph (:begin 201090 :end 201109 :contents-begin 201090
:contents-end 201109 :post-blank 1 :post-affiliated 201090 :parent
(section (:begin 201090 :end 201192 :contents-begin 201090
:contents-end 201192 :post-blank 1 :post-affiliated 201090 :parent
(headline (:raw-value "Printing Bibliography" :begin 201063 :end
201192 :pre-blank 0 :contents-begin 201090 :contents-end 201192 :level
4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank
1 :footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 201063 :title ... :parent ...) #19)) . #2)) #("Below
Org snippet:\n" 0 19 (:parent #3))) (src-block (:language "org"
:switches nil :parameters nil :begin 201109 :end 201158 :number-lines
nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil
:value "#+print_bibliography:\n" :post-blank 1 :post-affiliated 201109
:parent (section (:begin 201090 :end 201192 :contents-begin 201090
:contents-end 201192 :post-blank 1 :post-affiliated 201090 :parent
(headline (:raw-value "Printing Bibliography" :begin 201063 :end
201192 :pre-blank 0 :contents-begin 201090 :contents-end 201192 :level
4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank
1 :footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 201063 :title ... :parent ...) #34)) . #2)))
(paragraph (:begin 201158 :end 201170 :contents-begin 201158
:contents-end 201170 :post-blank 1 :post-affiliated 201158 :parent
(section (:begin 201090 :end 201192 :contents-begin 201090
:contents-end 201192 :post-blank 1 :post-affiliated 201090 :parent
(headline (:raw-value "Printing Bibliography" :begin 201063 :end
201192 :pre-blank 0 :contents-begin 201090 :contents-end 201192 :level
4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank
1 :footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 201063 :title ... :parent ...) #21)) . #2))
#("exports to:\n" 0 12 (:parent #5))) (keyword (:key
"PRINT_BIBLIOGRAPHY" :value "" :begin 201170 :end 201192 :post-blank 1
:post-affiliated 201170 :parent (section (:begin 201090 :end 201192
:contents-begin 201090 :contents-end 201192 :post-blank 1
:post-affiliated 201090 :parent (headline (:raw-value "Printing
Bibliography" :begin 201063 :end 201192 :pre-blank 0 :contents-begin
201090 :contents-end 201192 :level 4 :priority nil :tags nil
:todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil
:archivedp nil :commentedp nil :post-affiliated 201063 :title ...
:parent ...) #22)) . #2)))))
  #f(compiled-function (--data) #<bytecode
0x1f582865ffbfa61e>)((section (:begin 201090 :end 201192
:contents-begin 201090 :contents-end 201192 :post-blank 1
:post-affiliated 201090 :parent (headline (:raw-value "Printing
Bibliography" :begin 201063 :end 201192 :pre-blank 0 :contents-begin
201090 :contents-end 201192 :level 4 :priority nil :tags nil
:todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil
:archivedp nil :commentedp nil :post-affiliated 201063 :title
(#("Printing Bibliography" 0 21 (:parent #17))) :parent (org-data nil
(section (:begin 200329 :end 200444 :contents-begin 200329
:contents-end 200444 :post-blank 1 :post-affiliated 200329 :parent
#55) (paragraph ... ... ...) (special-block ... ...) (paragraph ...
...)) (headline (:raw-value "Specify Bibligraphy files" :begin 200444
:end 200800 :pre-blank 0 :contents-begin 200475 :contents-end 200800
:level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil
:post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 200444 :title ... :parent #55) (section ... ... ...
...)) (headline (:raw-value "Citation Syntax" :begin 200800 :end
201063 :pre-blank 0 :contents-begin 200821 :contents-end 201063 :level
4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank
1 :footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 200800 :title ... :parent #55) (section ... ... ...
... ... ...)) #17)) #1)) (paragraph (:begin 201090 :end 201109
:contents-begin 201090 :contents-end 201109 :post-blank 1
:post-affiliated 201090 :parent #1) #("Below Org snippet:\n" 0 19
(:parent #4))) (src-block (:language "org" :switches nil :parameters
nil :begin 201109 :end 201158 :number-lines nil :preserve-indent nil
:retain-labels t :use-labels t :label-fmt nil :value
"#+print_bibliography:\n" :post-blank 1 :post-affiliated 201109
:parent #1)) (paragraph (:begin 201158 :end 201170 :contents-begin
201158 :contents-end 201170 :post-blank 1 :post-affiliated 201158
:parent #1) #("exports to:\n" 0 12 (:parent #6))) (keyword (:key
"PRINT_BIBLIOGRAPHY" :value "" :begin 201170 :end 201192 :post-blank 1
:post-affiliated 201170 :parent #1))))
  mapc(#f(compiled-function (--data) #<bytecode 0x1f582865ffbfa61e>)
((section (:begin 201090 :end 201192 :contents-begin 201090
:contents-end 201192 :post-blank 1 :post-affiliated 201090 :parent
(headline (:raw-value "Printing Bibliography" :begin 201063 :end
201192 :pre-blank 0 :contents-begin 201090 :contents-end 201192 :level
4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank
1 :footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 201063 :title (#("Printing Bibliography" 0 21 ...))
:parent (org-data nil (section ... ... ... ...) (headline ... ...)
(headline ... ...) #19)) . #2)) (paragraph (:begin 201090 :end 201109
:contents-begin 201090 :contents-end 201109 :post-blank 1
:post-affiliated 201090 :parent #3) #("Below Org snippet:\n" 0 19
(:parent #6))) (src-block (:language "org" :switches nil :parameters
nil :begin 201109 :end 201158 :number-lines nil :preserve-indent nil
:retain-labels t :use-labels t :label-fmt nil :value
"#+print_bibliography:\n" :post-blank 1 :post-affiliated 201109
:parent #3)) (paragraph (:begin 201158 :end 201170 :contents-begin
201158 :contents-end 201170 :post-blank 1 :post-affiliated 201158
:parent #3) #("exports to:\n" 0 12 (:parent #8))) (keyword (:key
"PRINT_BIBLIOGRAPHY" :value "" :begin 201170 :end 201192 :post-blank 1
:post-affiliated 201170 :parent #3)))))
  #f(compiled-function (--data) #<bytecode
0x1f582865ffbfa61e>)((headline (:raw-value "Printing Bibliography"
:begin 201063 :end 201192 :pre-blank 0 :contents-begin 201090
:contents-end 201192 :level 4 :priority nil :tags nil :todo-keyword
nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp
nil :commentedp nil :post-affiliated 201063 :title (#("Printing
Bibliography" 0 21 (:parent #1))) :parent (org-data nil (section
(:begin 200329 :end 200444 :contents-begin 200329 :contents-end 200444
:post-blank 1 :post-affiliated 200329 :parent #39) (paragraph (:begin
200329 :end 200385 :contents-begin 200329 :contents-end 200385
:post-blank 1 :post-affiliated 200329 :parent #42) (bold (:begin
200329 :end 200339 :contents-begin 200330 :contents-end 200337
:post-blank 1 :parent #45) #("Org 9.5" 0 7 ...)) #("is needed for this
as that version introduced\n" 0 46 (:parent #45))) (special-block
(:type "mark" :begin 200385 :end 200442 :contents-begin 200398
:contents-end 200431 :post-blank 1 :post-affiliated 200385 :parent
#42) (paragraph (:begin 200398 :end 200431 :contents-begin 200398
:contents-end 200431 :post-blank 1 :post-affiliated 200398 :parent
#46) #("the new " 0 8 ...) (bold ... ...) #("Org Cite library\n" 0 17
...))) (paragraph (:begin 200442 :end 200444 :contents-begin 200442
:contents-end 200444 :post-blank 1 :post-affiliated 200442 :parent
#42) #(".\n" 0 2 (:parent #47)))) (headline (:raw-value "Specify
Bibligraphy files" :begin 200444 :end 200800 :pre-blank 0
:contents-begin 200475 :contents-end 200800 :level 4 :priority nil
:tags nil :todo-keyword nil :todo-type nil :post-blank 1
:footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 200444 :title (#("Specify Bibligraphy files" 0 25
...)) :parent #39) (section (:begin 200475 :end 200800 :contents-begin
200475 :contents-end 200800 :post-blank 1 :post-affiliated 200475
:parent #43) (paragraph (:begin 200475 :end 200653 :contents-begin
200475 :contents-end 200652 :post-blank 1 :post-affiliated 200475
:parent #46) #("Org Cite (" 0 10 ...) (code ...) #(") requires the
bibliography files to be specified\n..." 0 68 ...) (code ...)
#("keywords or using the\n" 0 22 ...) (code ...) #("variable.\n" 0 10
...)) (paragraph (:begin 200653 :end 200693 :contents-begin 200653
:contents-end 200692 :post-blank 1 :post-affiliated 200653 :parent
#46) #("Example: " 0 9 ...) (code ...) #("\n" 0 1 ...)) (special-block
(:type "note" :begin 200693 :end 200800 :contents-begin 200706
:contents-end 200789 :post-blank 1 :post-affiliated 200693 :parent
#46) (paragraph ... ... ... ... ...)))) (headline (:raw-value
"Citation Syntax" :begin 200800 :end 201063 :pre-blank 0
:contents-begin 200821 :contents-end 201063 :level 4 :priority nil
:tags nil :todo-keyword nil :todo-type nil :post-blank 1
:footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 200800 :title (#("Citation Syntax" 0 15 ...)) :parent
#39) (section (:begin 200821 :end 201063 :contents-begin 200821
:contents-end 201063 :post-blank 1 :post-affiliated 200821 :parent
#44) (paragraph (:begin 200821 :end 200840 :contents-begin 200821
:contents-end 200840 :post-blank 1 :post-affiliated 200821 :parent
#47) #("Below Org snippet:\n" 0 19 ...)) (src-block (:language "org"
:switches nil :parameters nil :begin 200840 :end 200887 :number-lines
nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil
:value "[cite:@OrgCitations]\n" :post-blank 1 :post-affiliated 200840
:parent #47)) (paragraph (:begin 200887 :end 200900 :contents-begin
200887 :contents-end 200899 :post-blank 1 :post-affiliated 200887
:parent #47) #("exports to:\n" 0 12 ...)) (paragraph (:begin 200900
:end 200922 :contents-begin 200900 :contents-end 200921 :post-blank 1
:post-affiliated 200900 :parent #47) (raw ... ...) #("\n" 0 1 ...))
(paragraph (:begin 200922 :end 201063 :contents-begin 200922
:contents-end 201063 :post-blank 1 :post-affiliated 200922 :parent
#47) #("See " 0 4 ...) (link ... ... ... ...) #("for more information
on the " 0 28 ...) (code ...) #("\nsyntax.\n" 0 9 ...)))) #1))
(section (:begin 201090 :end 201192 :contents-begin 201090
:contents-end 201192 :post-blank 1 :post-affiliated 201090 :parent #1)
(paragraph (:begin 201090 :end 201109 :contents-begin 201090
:contents-end 201109 :post-blank 1 :post-affiliated 201090 :parent #4)
#("Below Org snippet:\n" 0 19 (:parent #7))) (src-block (:language
"org" :switches nil :parameters nil :begin 201109 :end 201158
:number-lines nil :preserve-indent nil :retain-labels t :use-labels t
:label-fmt nil :value "#+print_bibliography:\n" :post-blank 1
:post-affiliated 201109 :parent #4)) (paragraph (:begin 201158 :end
201170 :contents-begin 201158 :contents-end 201170 :post-blank 1
:post-affiliated 201158 :parent #4) #("exports to:\n" 0 12 (:parent
#9))) (keyword (:key "PRINT_BIBLIOGRAPHY" :value "" :begin 201170 :end
201192 :post-blank 1 :post-affiliated 201170 :parent #4)))))
  mapc(#f(compiled-function (--data) #<bytecode 0x1f582865ffbfa61e>)
((section (:begin 200329 :end 200444 :contents-begin 200329
:contents-end 200444 :post-blank 1 :post-affiliated 200329 :parent
(org-data nil . #2)) (paragraph (:begin 200329 :end 200385
:contents-begin 200329 :contents-end 200385 :post-blank 1
:post-affiliated 200329 :parent #3) (bold (:begin 200329 :end 200339
:contents-begin 200330 :contents-end 200337 :post-blank 1 :parent #6)
#("Org 9.5" 0 7 ...)) #("is needed for this as that version int..." 0
46 (:parent #6))) (special-block (:type "mark" :begin 200385 :end
200442 :contents-begin 200398 :contents-end 200431 :post-blank 1
:post-affiliated 200385 :parent #3) (paragraph (:begin 200398 :end
200431 :contents-begin 200398 :contents-end 200431 :post-blank 1
:post-affiliated 200398 :parent #7) #("the new " 0 8 ...) (bold ...
...) #("Org Cite library\n" 0 17 ...))) (paragraph (:begin 200442 :end
200444 :contents-begin 200442 :contents-end 200444 :post-blank 1
:post-affiliated 200442 :parent #3) #(".\n" 0 2 (:parent #8))))
(headline (:raw-value "Specify Bibligraphy files" :begin 200444 :end
200800 :pre-blank 0 :contents-begin 200475 :contents-end 200800 :level
4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank
1 :footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 200444 :title (#("Specify Bibligraphy files" 0 25
...)) :parent (org-data nil . #2)) (section (:begin 200475 :end 200800
:contents-begin 200475 :contents-end 200800 :post-blank 1
:post-affiliated 200475 :parent #4) (paragraph (:begin 200475 :end
200653 :contents-begin 200475 :contents-end 200652 :post-blank 1
:post-affiliated 200475 :parent #7) #("Org Cite (" 0 10 ...) (code
...) #(") requires the bibliography files to b..." 0 68 ...) (code
...) #("keywords or using the\n" 0 22 ...) (code ...) #("variable.\n"
0 10 ...)) (paragraph (:begin 200653 :end 200693 :contents-begin
200653 :contents-end 200692 :post-blank 1 :post-affiliated 200653
:parent #7) #("Example: " 0 9 ...) (code ...) #("\n" 0 1 ...))
(special-block (:type "note" :begin 200693 :end 200800 :contents-begin
200706 :contents-end 200789 :post-blank 1 :post-affiliated 200693
:parent #7) (paragraph ... ... ... ... ...)))) (headline (:raw-value
"Citation Syntax" :begin 200800 :end 201063 :pre-blank 0
:contents-begin 200821 :contents-end 201063 :level 4 :priority nil
:tags nil :todo-keyword nil :todo-type nil :post-blank 1
:footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 200800 :title (#("Citation Syntax" 0 15 ...)) :parent
(org-data nil . #2)) (section (:begin 200821 :end 201063
:contents-begin 200821 :contents-end 201063 :post-blank 1
:post-affiliated 200821 :parent #5) (paragraph (:begin 200821 :end
200840 :contents-begin 200821 :contents-end 200840 :post-blank 1
:post-affiliated 200821 :parent #8) #("Below Org snippet:\n" 0 19
...)) (src-block (:language "org" :switches nil :parameters nil :begin
200840 :end 200887 :number-lines nil :preserve-indent nil
:retain-labels t :use-labels t :label-fmt nil :value
"[cite:@OrgCitations]\n" :post-blank 1 :post-affiliated 200840 :parent
#8)) (paragraph (:begin 200887 :end 200900 :contents-begin 200887
:contents-end 200899 :post-blank 1 :post-affiliated 200887 :parent #8)
#("exports to:\n" 0 12 ...)) (paragraph (:begin 200900 :end 200922
:contents-begin 200900 :contents-end 200921 :post-blank 1
:post-affiliated 200900 :parent #8) (raw ... ...) #("\n" 0 1 ...))
(paragraph (:begin 200922 :end 201063 :contents-begin 200922
:contents-end 201063 :post-blank 1 :post-affiliated 200922 :parent #8)
#("See " 0 4 ...) (link ... ... ... ...) #("for more information on
the " 0 28 ...) (code ...) #("\nsyntax.\n" 0 9 ...)))) (headline
(:raw-value "Printing Bibliography" :begin 201063 :end 201192
:pre-blank 0 :contents-begin 201090 :contents-end 201192 :level 4
:priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1
:footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 201063 :title (#("Printing Bibliography" 0 21 ...))
:parent (org-data nil . #2)) (section (:begin 201090 :end 201192
:contents-begin 201090 :contents-end 201192 :post-blank 1
:post-affiliated 201090 :parent #6) (paragraph (:begin 201090 :end
201109 :contents-begin 201090 :contents-end 201109 :post-blank 1
:post-affiliated 201090 :parent #9) #("Below Org snippet:\n" 0 19
...)) (src-block (:language "org" :switches nil :parameters nil :begin
201109 :end 201158 :number-lines nil :preserve-indent nil
:retain-labels t :use-labels t :label-fmt nil :value
"#+print_bibliography:\n" :post-blank 1 :post-affiliated 201109
:parent #9)) (paragraph (:begin 201158 :end 201170 :contents-begin
201158 :contents-end 201170 :post-blank 1 :post-affiliated 201158
:parent #9) #("exports to:\n" 0 12 ...)) (keyword (:key
"PRINT_BIBLIOGRAPHY" :value "" :begin 201170 :end 201192 :post-blank 1
:post-affiliated 201170 :parent #9))))))
  #f(compiled-function (--data) #<bytecode
0x1f582865ffbfa61e>)((org-data nil (section (:begin 200329 :end 200444
:contents-begin 200329 :contents-end 200444 :post-blank 1
:post-affiliated 200329 :parent #1) (paragraph (:begin 200329 :end
200385 :contents-begin 200329 :contents-end 200385 :post-blank 1
:post-affiliated 200329 :parent #4) (bold (:begin 200329 :end 200339
:contents-begin 200330 :contents-end 200337 :post-blank 1 :parent #7)
#("Org 9.5" 0 7 ...)) #("is needed for this as that version int..." 0
46 (:parent #7))) (special-block (:type "mark" :begin 200385 :end
200442 :contents-begin 200398 :contents-end 200431 :post-blank 1
:post-affiliated 200385 :parent #4) (paragraph (:begin 200398 :end
200431 :contents-begin 200398 :contents-end 200431 :post-blank 1
:post-affiliated 200398 :parent #8) #("the new " 0 8 ...) (bold ...
...) #("Org Cite library\n" 0 17 ...))) (paragraph (:begin 200442 :end
200444 :contents-begin 200442 :contents-end 200444 :post-blank 1
:post-affiliated 200442 :parent #4) #(".\n" 0 2 (:parent #9))))
(headline (:raw-value "Specify Bibligraphy files" :begin 200444 :end
200800 :pre-blank 0 :contents-begin 200475 :contents-end 200800 :level
4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank
1 :footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 200444 :title (#("Specify Bibligraphy files" 0 25
...)) :parent #1) (section (:begin 200475 :end 200800 :contents-begin
200475 :contents-end 200800 :post-blank 1 :post-affiliated 200475
:parent #5) (paragraph (:begin 200475 :end 200653 :contents-begin
200475 :contents-end 200652 :post-blank 1 :post-affiliated 200475
:parent #8) #("Org Cite (" 0 10 ...) (code ...) #(") requires the
bibliography files to b..." 0 68 ...) (code ...) #("keywords or using
the\n" 0 22 ...) (code ...) #("variable.\n" 0 10 ...)) (paragraph
(:begin 200653 :end 200693 :contents-begin 200653 :contents-end 200692
:post-blank 1 :post-affiliated 200653 :parent #8) #("Example: " 0 9
...) (code ...) #("\n" 0 1 ...)) (special-block (:type "note" :begin
200693 :end 200800 :contents-begin 200706 :contents-end 200789
:post-blank 1 :post-affiliated 200693 :parent #8) (paragraph ... ...
... ... ...)))) (headline (:raw-value "Citation Syntax" :begin 200800
:end 201063 :pre-blank 0 :contents-begin 200821 :contents-end 201063
:level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil
:post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 200800 :title (#("Citation Syntax" 0 15 ...)) :parent
#1) (section (:begin 200821 :end 201063 :contents-begin 200821
:contents-end 201063 :post-blank 1 :post-affiliated 200821 :parent #6)
(paragraph (:begin 200821 :end 200840 :contents-begin 200821
:contents-end 200840 :post-blank 1 :post-affiliated 200821 :parent #9)
#("Below Org snippet:\n" 0 19 ...)) (src-block (:language "org"
:switches nil :parameters nil :begin 200840 :end 200887 :number-lines
nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil
:value "[cite:@OrgCitations]\n" :post-blank 1 :post-affiliated 200840
:parent #9)) (paragraph (:begin 200887 :end 200900 :contents-begin
200887 :contents-end 200899 :post-blank 1 :post-affiliated 200887
:parent #9) #("exports to:\n" 0 12 ...)) (paragraph (:begin 200900
:end 200922 :contents-begin 200900 :contents-end 200921 :post-blank 1
:post-affiliated 200900 :parent #9) (raw ... ...) #("\n" 0 1 ...))
(paragraph (:begin 200922 :end 201063 :contents-begin 200922
:contents-end 201063 :post-blank 1 :post-affiliated 200922 :parent #9)
#("See " 0 4 ...) (link ... ... ... ...) #("for more information on
the " 0 28 ...) (code ...) #("\nsyntax.\n" 0 9 ...)))) (headline
(:raw-value "Printing Bibliography" :begin 201063 :end 201192
:pre-blank 0 :contents-begin 201090 :contents-end 201192 :level 4
:priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1
:footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 201063 :title (#("Printing Bibliography" 0 21 ...))
:parent #1) (section (:begin 201090 :end 201192 :contents-begin 201090
:contents-end 201192 :post-blank 1 :post-affiliated 201090 :parent #7)
(paragraph (:begin 201090 :end 201109 :contents-begin 201090
:contents-end 201109 :post-blank 1 :post-affiliated 201090 :parent
#10) #("Below Org snippet:\n" 0 19 ...)) (src-block (:language "org"
:switches nil :parameters nil :begin 201109 :end 201158 :number-lines
nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil
:value "#+print_bibliography:\n" :post-blank 1 :post-affiliated 201109
:parent #10)) (paragraph (:begin 201158 :end 201170 :contents-begin
201158 :contents-end 201170 :post-blank 1 :post-affiliated 201158
:parent #10) #("exports to:\n" 0 12 ...)) (keyword (:key
"PRINT_BIBLIOGRAPHY" :value "" :begin 201170 :end 201192 :post-blank 1
:post-affiliated 201170 :parent #10))))))
  org-element-map((org-data nil (section (:begin 200329 :end 200444
:contents-begin 200329 :contents-end 200444 :post-blank 1
:post-affiliated 200329 :parent #1) (paragraph ... ... ...)
(special-block ... ...) (paragraph ... ...)) (headline (:raw-value
"Specify Bibligraphy files" :begin 200444 :end 200800 :pre-blank 0
:contents-begin 200475 :contents-end 200800 :level 4 :priority nil
:tags nil :todo-keyword nil :todo-type nil :post-blank 1
:footnote-section-p nil ...) (section ... ... ... ...)) (headline
(:raw-value "Citation Syntax" :begin 200800 :end 201063 :pre-blank 0
:contents-begin 200821 :contents-end 201063 :level 4 :priority nil
:tags nil :todo-keyword nil :todo-type nil :post-blank 1
:footnote-section-p nil ...) (section ... ... ... ... ... ...))
(headline (:raw-value "Printing Bibliography" :begin 201063 :end
201192 :pre-blank 0 :contents-begin 201090 :contents-end 201192 :level
4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank
1 :footnote-section-p nil ...) (section ... ... ... ... ...))) keyword
#f(compiled-function (keyword) #<bytecode -0xd20fedbf377cdf9>)
(:export-options (subtree) :back-end #s(org-export-backend :name hugo
:parent blackfriday :transcoders (... ... ... ... ... ... ... ... ...
... ... ...) :options (... ... ... ... ... ... ... ... ... ... ... ...
... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) :filters
(...) :blocks nil :menu (72 "Export to Hugo-compatible ..." ...))
:translate-alist ((code . org-hugo-kbd-tags-maybe) (example-block .
org-hugo-example-block) (export-block . org-hugo-export-block)
(export-snippet . org-hugo-export-snippet) (headline .
org-hugo-heading) (inner-template . org-hugo-inner-template)
(inline-src-block . org-hugo-inline-src-block) (keyword .
org-hugo-keyword) (link . org-hugo-link) (paragraph .
org-hugo-paragraph) (src-block . org-hugo-src-block) (special-block .
org-hugo-special-block) (center-block . org-blackfriday-center-block)
(example-block . org-blackfriday-example-block) (fixed-width .
org-blackfriday-fixed-width) (footnote-reference .
org-blackfriday-footnote-reference) (inner-template .
org-blackfriday-inner-template) (italic . org-blackfriday-italic)
(item . org-blackfriday-item) (latex-environment .
org-blackfriday-latex-environment) (latex-fragment .
org-blackfriday-latex-fragment) (line-break . org-html-line-break)
(plain-list . org-blackfriday-plain-list) (plain-text .
org-blackfriday-plain-text) (quote-block .
org-blackfriday-quote-block) (radio-target .
org-blackfriday-radio-target) ...) :exported-data #<hash-table eq
5/4001 0x13a9641> :input-buffer "*Ox-hugo Pre-processed all..."
:input-file "/home/runner/work/ox-hugo/..." :with-toc nil
:section-numbers nil :author "" :creator "Emacs + Org mode + ox-hugo"
:with-smart-quotes nil :with-special-strings nil :with-sub-superscript
{} ...))
  org-cite-process-bibliography((:export-options (subtree) :back-end
#s(org-export-backend :name hugo :parent blackfriday :transcoders
((code . org-hugo-kbd-tags-maybe) (example-block .
org-hugo-example-block) (export-block . org-hugo-export-block)
(export-snippet . org-hugo-export-snippet) (headline .
org-hugo-heading) (inner-template . org-hugo-inner-template)
(inline-src-block . org-hugo-inline-src-block) (keyword .
org-hugo-keyword) (link . org-hugo-link) (paragraph .
org-hugo-paragraph) (src-block . org-hugo-src-block) (special-block .
org-hugo-special-block)) :options ((:with-toc nil "toc"
org-hugo-export-with-toc) (:section-numbers nil "num"
org-hugo-export-with-section-numbers) (:author "AUTHOR" nil
user-full-name newline) (:creator "CREATOR" nil
org-hugo-export-creator-string) (:with-smart-quotes nil "'" nil)
(:with-special-strings nil "-" nil) (:with-sub-superscript nil "^"
...) (:hugo-with-locale "HUGO_WITH_LOCALE" nil nil)
(:hugo-front-matter-format "HUGO_FRONT_MATTER_FORMAT" nil
org-hugo-front-matter-format) (:hugo-level-offset "HUGO_LEVEL_OFFSET"
nil "1") (:hugo-preserve-filling "HUGO_PRESERVE_FILLING" nil
org-hugo-preserve-filling) (:hugo-delete-trailing-ws
"HUGO_DELETE_TRAILING_WS" nil org-hugo-delete-trailing-ws)
(:hugo-section "HUGO_SECTION" nil org-hugo-section) (:hugo-bundle
"HUGO_BUNDLE" nil nil) (:hugo-base-dir "HUGO_BASE_DIR" nil
org-hugo-base-dir) (:hugo-goldmark "HUGO_GOLDMARK" nil
org-hugo-goldmark) (:hugo-code-fence "HUGO_CODE_FENCE" nil t)
(:hugo-use-code-for-kbd "HUGO_USE_CODE_FOR_KBD" nil
org-hugo-use-code-for-kbd) (:hugo-prefer-hyphen-in-tags
"HUGO_PREFER_HYPHEN_IN_TAGS" nil org-hugo-prefer-hyphen-in-tags)
(:hugo-allow-spaces-in-tags "HUGO_ALLOW_SPACES_IN_TAGS" nil
org-hugo-allow-spaces-in-tags) (:hugo-auto-set-lastmod
"HUGO_AUTO_SET_LASTMOD" nil org-hugo-auto-set-lastmod)
(:hugo-custom-front-matter "HUGO_CUSTOM_FRONT_MATTER" nil nil space)
(:hugo-blackfriday "HUGO_BLACKFRIDAY" nil nil space)
(:hugo-front-matter-key-replace "HUGO_FRONT_MATTER_KEY_REPLACE" nil
nil space) (:hugo-date-format "HUGO_DATE_FORMAT" nil
org-hugo-date-format) (:hugo-paired-shortcodes
"HUGO_PAIRED_SHORTCODES" nil org-hugo-paired-shortcodes space)
(:hugo-pandoc-citations "HUGO_PANDOC_CITATIONS" nil nil)
(:bibliography "BIBLIOGRAPHY" nil nil newline) (:html-container
"HTML_CONTAINER" nil org-hugo-container-element)
(:html-container-class "HTML_CONTAINER_CLASS" nil "") (:hugo-aliases
"HUGO_ALIASES" nil nil space) (:hugo-audio "HUGO_AUDIO" nil nil) ...)
:filters ((:filter-body . org-hugo-body-filter)) :blocks nil :menu (72
"Export to Hugo-compatible Markdo..." (... ... ... ... ... ...)))
:translate-alist ((code . org-hugo-kbd-tags-maybe) (example-block .
org-hugo-example-block) (export-block . org-hugo-export-block)
(export-snippet . org-hugo-export-snippet) (headline .
org-hugo-heading) (inner-template . org-hugo-inner-template)
(inline-src-block . org-hugo-inline-src-block) (keyword .
org-hugo-keyword) (link . org-hugo-link) (paragraph .
org-hugo-paragraph) (src-block . org-hugo-src-block) (special-block .
org-hugo-special-block) (center-block . org-blackfriday-center-block)
(example-block . org-blackfriday-example-block) (fixed-width .
org-blackfriday-fixed-width) (footnote-reference .
org-blackfriday-footnote-reference) (inner-template .
org-blackfriday-inner-template) (italic . org-blackfriday-italic)
(item . org-blackfriday-item) (latex-environment .
org-blackfriday-latex-environment) (latex-fragment .
org-blackfriday-latex-fragment) (line-break . org-html-line-break)
(plain-list . org-blackfriday-plain-list) (plain-text .
org-blackfriday-plain-text) (quote-block .
org-blackfriday-quote-block) (radio-target .
org-blackfriday-radio-target) (special-block .
org-blackfriday-special-block) (src-block . org-blackfriday-src-block)
(strike-through . org-blackfriday-strike-through) (table-cell .
org-blackfriday-table-cell) (table-row . org-blackfriday-table-row)
(table . org-blackfriday-table) ...) :exported-data #<hash-table eq
5/4001 0x13a9641> :input-buffer "*Ox-hugo Pre-processed all-posts..."
:input-file "/home/runner/work/ox-hugo/ox-hug..." :with-toc nil
:section-numbers nil :author "" :creator "Emacs + Org mode + ox-hugo"
:with-smart-quotes nil :with-special-strings nil :with-sub-superscript
{} :hugo-with-locale nil :hugo-front-matter-format "toml"
:hugo-level-offset "1" ...))
===

The ox-hugo CI is passing on emacs 26, 27, 28. 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.

Ref:
- https://github.com/kaushalmodi/ox-hugo/issues/630
- https://github.com/kaushalmodi/ox-hugo/runs/6352764912?check_suite_focus=true#step:5:597


Thanks!


^ permalink raw reply	[flat|nested] 32+ messages in thread

* 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 14:21             ` oc-basic "Wrong value for ENTRY-OR-KEY" error on emacs master (29.x) [Was: Bibliographies on export with ox-context and ox-epub] Kaushal Modi
@ 2022-05-09 21:33               ` Kaushal Modi
  2022-05-09 21:44                 ` Kaushal Modi
  0 siblings, 1 reply; 32+ messages in thread
From: Kaushal Modi @ 2022-05-09 21:33 UTC (permalink / raw)
  To: juh; +Cc: emacs-org list

On Mon, May 9, 2022 at 10:21 AM Kaushal Modi <kaushal.modi@gmail.com> 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 upstream bug on Emacs 29
after building it from source.

Here's a minimal test recipe:

=====
#+title: "Wrong value for ENTRY-OR-KEY: nil" error on Emacs 29

#+bibliography: test.bib

#+begin_src bib :tangle test.bib
@article{Foo,
         author={Bar},
         journal={Zoo},
         title={Foo by Bar},
         year={2021}}
#+end_src

[cite:@Foo]

#+print_bibliography:

Evaluate the below code block.

#+begin_src emacs-lisp :results none
(org-babel-tangle)
(org-export-as 'ascii)
#+end_src
=====

1. Open the above file in Emacs.
2. Run C-c C-c in that emacs-lisp code block

On Emacs 28: No error
On Emacs 29: org-cite-basic--get-field: Wrong value for ENTRY-OR-KEY: nil


^ permalink raw reply	[flat|nested] 32+ messages in thread

* 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 21:33               ` Kaushal Modi
@ 2022-05-09 21:44                 ` Kaushal Modi
  2022-05-10 15:10                   ` Kaushal Modi
  0 siblings, 1 reply; 32+ messages in thread
From: Kaushal Modi @ 2022-05-09 21:44 UTC (permalink / raw)
  To: juh; +Cc: emacs-org list

I have now sent this to Emacs bug tracking:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55342


^ permalink raw reply	[flat|nested] 32+ messages in thread

* 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 21:44                 ` Kaushal Modi
@ 2022-05-10 15:10                   ` Kaushal Modi
  2022-05-11 11:36                     ` Ihor Radchenko
  0 siblings, 1 reply; 32+ messages in thread
From: Kaushal Modi @ 2022-05-10 15:10 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-org list

On Mon, May 9, 2022 at 5:44 PM Kaushal Modi <kaushal.modi@gmail.com> 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=d221c02fa1db17e1275687f0bbce4ff1499119a1.

[1]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55342#11


^ permalink raw reply	[flat|nested] 32+ messages in thread

* 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 15:10                   ` Kaushal Modi
@ 2022-05-11 11:36                     ` Ihor Radchenko
  0 siblings, 0 replies; 32+ messages in thread
From: Ihor Radchenko @ 2022-05-11 11:36 UTC (permalink / raw)
  To: Kaushal Modi; +Cc: emacs-org list

Kaushal Modi <kaushal.modi@gmail.com> writes:

> On Mon, May 9, 2022 at 5:44 PM Kaushal Modi <kaushal.modi@gmail.com> 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=d221c02fa1db17e1275687f0bbce4ff1499119a1.
>
> [1]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55342#11

Thanks for reporting back!

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,
#+print_bibliography: appears to fail all the time when the document
contains invalid cite keys.

I consider this as a bug. At least org-cite-basic-export-bibliography
could provide a more useful error message. Or maybe even skip the
invalid keys. Or, similar to LaTeX, print ???. I am not sure which way
will be more canonical according to general oc.el design.

Best,
Ihor


^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2022-05-11 11:36 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-24  7:22 Bibliographies on export with ox-context and ox-epub juh
2021-11-24  8:43 ` Denis Maier
2021-11-24  9:32   ` juh
2021-11-24 10:59     ` Denis Maier
2021-11-24 11:36       ` juh
2021-11-24 19:29         ` András Simonyi
2021-11-25 11:19           ` juh
2021-11-25 12:49             ` András Simonyi
2021-11-25 13:53               ` juh
2021-12-01 13:42                 ` Nicolas Goaziou
2021-12-01 14:44                   ` juh
2021-12-01 14:57                     ` juh
2021-12-01 15:01                       ` Eric S Fraga
2021-12-02  8:11                         ` juh
2021-12-02 15:46                           ` Jason Ross
2021-12-01 15:06                     ` Nicolas Goaziou
2022-01-11 20:41                       ` juh
2022-01-12 14:53                         ` Nicolas Goaziou
2022-01-12 16:38                           ` juh
2022-01-12 16:39                           ` juh
2022-01-12 17:00                             ` Bruce D'Arcus
2022-01-12 17:05                             ` John Kitchin
2022-05-09 14:21             ` oc-basic "Wrong value for ENTRY-OR-KEY" error on emacs master (29.x) [Was: Bibliographies on export with ox-context and ox-epub] Kaushal Modi
2022-05-09 21:33               ` Kaushal Modi
2022-05-09 21:44                 ` Kaushal Modi
2022-05-10 15:10                   ` Kaushal Modi
2022-05-11 11:36                     ` Ihor Radchenko
2021-11-24  9:59   ` Bibliographies on export with ox-context and ox-epub Colin Baxter 😺
2021-11-24 10:51     ` Denis Maier
2021-11-24 11:13     ` Eric S Fraga
2021-11-24 11:58       ` Colin Baxter 😺
2021-11-24 18:14 ` John Kitchin

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).