emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Denis Maier <denismaier@mailbox.org>
To: juh <juh+org-mode@mailbox.org>, Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: Bibliographies on export with ox-context and ox-epub
Date: Wed, 24 Nov 2021 09:43:47 +0100	[thread overview]
Message-ID: <ea78c4ec-850a-d125-dc03-c2376a308e68@mailbox.org> (raw)
In-Reply-To: <YZ3oLiZuFfMSxRST@sokrates>

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
> 



  reply	other threads:[~2021-11-24  8:44 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-24  7:22 Bibliographies on export with ox-context and ox-epub juh
2021-11-24  8:43 ` Denis Maier [this message]
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
2022-10-22  6:38                       ` [PATCH] " Ihor Radchenko
2022-11-06  7:47                         ` 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ea78c4ec-850a-d125-dc03-c2376a308e68@mailbox.org \
    --to=denismaier@mailbox.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=juh+org-mode@mailbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).