* [org-cite] CSL processor, APA Style, and no-date citations
@ 2021-11-17 14:50 Rudolf Adamkovič
2021-11-17 15:06 ` Bruce D'Arcus
0 siblings, 1 reply; 7+ messages in thread
From: Rudolf Adamkovič @ 2021-11-17 14:50 UTC (permalink / raw)
To: emacs-orgmode
I would like to start using the new citations with the APA Style. To cite in APA, I use a CSL file. Everything works well with Pandoc, but with Org, all citations with no "date" BibTeX field render as "$AUTHOR" instead of "$AUTHOR (n.d.)" both in-text and in the reference list. This renders Org unusable with APA Style. What can I do?
Emacs configuration:
(add-to-list 'package-selected-packages 'citeproc)
(with-eval-after-load 'oc
(require 'ox)
(require 'oc-csl))
Document configuration:
#+CITE_EXPORT: csl apa.csl
CSL file:
https://github.com/citation-style-language/styles/blob/master/apa.csl
Rudy
--
"I love deadlines. I love the whooshing noise they make as they go by." -- Douglas Adams, The Salmon of Doubt
Rudolf Adamkovič <salutis@me.com>
Studenohorská 25
84103 Bratislava
Slovakia
[he/him]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [org-cite] CSL processor, APA Style, and no-date citations
2021-11-17 14:50 [org-cite] CSL processor, APA Style, and no-date citations Rudolf Adamkovič
@ 2021-11-17 15:06 ` Bruce D'Arcus
2021-11-17 16:25 ` András Simonyi
0 siblings, 1 reply; 7+ messages in thread
From: Bruce D'Arcus @ 2021-11-17 15:06 UTC (permalink / raw)
To: Rudolf Adamkovič; +Cc: org-mode-email
On Wed, Nov 17, 2021 at 9:59 AM Rudolf Adamkovič <salutis@me.com> wrote:
> I would like to start using the new citations with the APA Style. To cite in APA, I use a CSL file. Everything works well with Pandoc, but with Org, all citations with no "date" BibTeX field render as "$AUTHOR" instead of "$AUTHOR (n.d.)" both in-text and in the reference list. This renders Org unusable with APA Style. What can I do?
I'm guessing that's a little bug in citeproc-el.
If Andras doesn't reply here, you might add this to the issue tracker there?
Bruce
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [org-cite] CSL processor, APA Style, and no-date citations
2021-11-17 15:06 ` Bruce D'Arcus
@ 2021-11-17 16:25 ` András Simonyi
2021-11-17 17:47 ` Rudolf Adamkovič
0 siblings, 1 reply; 7+ messages in thread
From: András Simonyi @ 2021-11-17 16:25 UTC (permalink / raw)
To: Bruce D'Arcus; +Cc: org-mode-email, Rudolf Adamkovič
Dear All,
On Wed, 17 Nov 2021 at 16:07, Bruce D'Arcus <bdarcus@gmail.com> wrote:
>
> On Wed, Nov 17, 2021 at 9:59 AM Rudolf Adamkovič <salutis@me.com> wrote:
>
> > I would like to start using the new citations with the APA Style. To cite in APA, I use a CSL file. Everything works well with Pandoc, but with Org, all citations with no "date" BibTeX field render as "$AUTHOR" instead of "$AUTHOR (n.d.)" both in-text and in the reference list. This renders Org unusable with APA Style. What can I do?
>
> I'm guessing that's a little bug in citeproc-el.
>
> If Andras doesn't reply here, you might add this to the issue tracker there?
>
> Bruce
this looks like a citeproc-el bug indeed -- could you post a bug
report on the GitHub project page?
thanks in advance,
András
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [org-cite] CSL processor, APA Style, and no-date citations
2021-11-17 16:25 ` András Simonyi
@ 2021-11-17 17:47 ` Rudolf Adamkovič
2021-11-17 17:51 ` Bruce D'Arcus
0 siblings, 1 reply; 7+ messages in thread
From: Rudolf Adamkovič @ 2021-11-17 17:47 UTC (permalink / raw)
To: András Simonyi, Bruce D'Arcus; +Cc: org-mode-email
András Simonyi <andras.simonyi@gmail.com> writes:
> this looks like a citeproc-el bug indeed -- could you post a bug
> report on the GitHub project page?
Done. Opened 3 GitHub issues:
- Fix "literal" authors (#72)
- Fix title capitalization (#71)
- Support no-date citations (#70)
In the meantime, can I use the BibLaTeX backend (or something else) for *HTML* export?
Rudy
--
"Logic is a science of the necessary laws of thought, without which no employment of the understanding and the reason takes place." -- Immanuel Kant, 1785
Rudolf Adamkovič <salutis@me.com>
Studenohorská 25
84103 Bratislava
Slovakia
[he/him]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [org-cite] CSL processor, APA Style, and no-date citations
2021-11-17 17:47 ` Rudolf Adamkovič
@ 2021-11-17 17:51 ` Bruce D'Arcus
2021-11-17 18:05 ` John Kitchin
2021-11-17 21:57 ` Joost Kremers
0 siblings, 2 replies; 7+ messages in thread
From: Bruce D'Arcus @ 2021-11-17 17:51 UTC (permalink / raw)
To: Rudolf Adamkovič; +Cc: org-mode-email, András Simonyi
On Wed, Nov 17, 2021 at 12:47 PM Rudolf Adamkovič <salutis@me.com> wrote:
> In the meantime, can I use the BibLaTeX backend (or something else) for *HTML* export?
I don't believe so, unless there's some good latex -> html solution
I'm not aware of.
Bruce
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [org-cite] CSL processor, APA Style, and no-date citations
2021-11-17 17:51 ` Bruce D'Arcus
@ 2021-11-17 18:05 ` John Kitchin
2021-11-17 21:57 ` Joost Kremers
1 sibling, 0 replies; 7+ messages in thread
From: John Kitchin @ 2021-11-17 18:05 UTC (permalink / raw)
To: Bruce D'Arcus
Cc: org-mode-email, Rudolf Adamkovič, András Simonyi
[-- Attachment #1: Type: text/plain, Size: 1072 bytes --]
in org-ref there is a natbib-bbl preprocessor for this. It works with
bibtex (not biblatex) though.
You can see how it works here:
https://www.youtube.com/watch?v=lq3LspE-rAs&list=PL0sMmOaE_gs3E0OjExoI7vlCAVygj6S4I&index=8
You would have to use another preprocessor to convert org-cites to org-ref
links, or adapt the code in
https://github.com/jkitchin/org-ref/blob/master/org-ref-natbib-bbl-citeproc.el
to work off of the org-cites.
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 17, 2021 at 12:53 PM Bruce D'Arcus <bdarcus@gmail.com> wrote:
> On Wed, Nov 17, 2021 at 12:47 PM Rudolf Adamkovič <salutis@me.com> wrote:
>
> > In the meantime, can I use the BibLaTeX backend (or something else) for
> *HTML* export?
>
> I don't believe so, unless there's some good latex -> html solution
> I'm not aware of.
>
> Bruce
>
>
[-- Attachment #2: Type: text/html, Size: 1980 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [org-cite] CSL processor, APA Style, and no-date citations
2021-11-17 17:51 ` Bruce D'Arcus
2021-11-17 18:05 ` John Kitchin
@ 2021-11-17 21:57 ` Joost Kremers
1 sibling, 0 replies; 7+ messages in thread
From: Joost Kremers @ 2021-11-17 21:57 UTC (permalink / raw)
To: Bruce D'Arcus; +Cc: emacs-orgmode
On Wed, Nov 17 2021, Bruce D'Arcus wrote:
> I don't believe so, unless there's some good latex -> html solution
> I'm not aware of.
There's (at least) tex4ht and lwarp, but to what extent they support biblatex, I
don't know.
--
Joost Kremers
Life has its moments
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-11-17 22:00 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-17 14:50 [org-cite] CSL processor, APA Style, and no-date citations Rudolf Adamkovič
2021-11-17 15:06 ` Bruce D'Arcus
2021-11-17 16:25 ` András Simonyi
2021-11-17 17:47 ` Rudolf Adamkovič
2021-11-17 17:51 ` Bruce D'Arcus
2021-11-17 18:05 ` John Kitchin
2021-11-17 21:57 ` Joost Kremers
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).