emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Nicolas Goaziou
Subject: Re: Bibliographies on export with ox-context and ox-epub
Date: Wed, 01 Dec 2021 14:42:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]