Re: [org-cite] CSL processor, APA Style, and no-date citations

2021-11-17 Thread Joost Kremers


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



Re: [org-cite] CSL processor, APA Style, and no-date citations

2021-11-17 Thread John Kitchin
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=PL0sMmOaE_gs3E0OjExoI7vlCAVygj6S4I=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  wrote:

> On Wed, Nov 17, 2021 at 12:47 PM Rudolf Adamkovič  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
>
>


Re: [org-cite] CSL processor, APA Style, and no-date citations

2021-11-17 Thread Bruce D'Arcus
On Wed, Nov 17, 2021 at 12:47 PM Rudolf Adamkovič  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



Re: [org-cite] CSL processor, APA Style, and no-date citations

2021-11-17 Thread Rudolf Adamkovič
András Simonyi  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č 
Studenohorská 25
84103 Bratislava
Slovakia

[he/him]



Re: [org-cite] CSL processor, APA Style, and no-date citations

2021-11-17 Thread András Simonyi
Dear All,

On Wed, 17 Nov 2021 at 16:07, Bruce D'Arcus  wrote:
>
> On Wed, Nov 17, 2021 at 9:59 AM Rudolf Adamkovič  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



Re: [org-cite] CSL processor, APA Style, and no-date citations

2021-11-17 Thread Bruce D'Arcus
On Wed, Nov 17, 2021 at 9:59 AM Rudolf Adamkovič  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



[org-cite] CSL processor, APA Style, and no-date citations

2021-11-17 Thread Rudolf Adamkovič
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č 
Studenohorská 25
84103 Bratislava
Slovakia

[he/him]