[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] #+cite_export: ... bibstyle citestyle cannot be universally us
From: |
Edgar Lux |
Subject: |
Re: [BUG] #+cite_export: ... bibstyle citestyle cannot be universally used as global defaults (was: Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-cite) |
Date: |
Fri, 3 Feb 2023 10:33:54 +0100 (CET) |
On Jan 24, 2023 at 11:54 AM, Ihor Radchenko <yantar92@posteo.net> wrote:Edgar
Lux <edgarlux@mailfence.com> writes:
> I understand. My takeaway from here is that there is a need to provide
> extended global defaults for both bibliography style and citation style.
>
> Which is a questionable design choice. I was referring to higher-level
> docstring for `org-cite-export-processors':
>
> (NAME BIBLIOGRAPHY-STYLE CITATION-STYLE)
>
> There, NAME is the name of a registered citation processor providing
> export
> functionality, as a symbol. BIBLIOGRAPHY-STYLE (respectively
> CITATION-STYLE)
> is the desired default style to use when printing a bibliography
> (respectively
> exporting a citation), as a string or nil. Both BIBLIOGRAPHY-STYLE and
> CITATION-STYLE are optional. NAME is mandatory.
>
> oc-biblatex simply deviates from the global paradigm, making oc-biblatex
> special compared to other citation processors. Not ideal.
>
> I think that we have a fundamental design flaw with org-cite:
>
> #+cite_export: processor bibliography-style citation-style
>
> introduces:
>
> - default bibliography style set document-wide
> - default citation style set individually in every citation via
> low-level commands, BUT NOT GLOBAL DEFAULT CITATION STYLE.
>
> Basically, CITATION_STYLE cannot currently affect document preamble by
> design.
>
> That's why awkward workarounds in oc-biblatex, where default citation
> style can be set globally, and we have to attach citation style to
> BIBLIOGRAPHY_STYLE keyword.
>
> I suggest the following changes to the org-cite:
>
> 1. :export-finalizer should accept export processor triplet instead of
> bibliography style as 4th argument. The assumption that only
> bibliography style is required to finalize the export is clearly not
> accurate.
>
> 2. Allow passing extra arguments in #+cite_export:
>
> #+cite_export: processor[opt1=val1,opt2=val2,...] bibliography-style[...]
> citation-style[...]
>
> The options listed within the square brackets will pass extra default
> options
> to the processor/styles and used as needed by citation processor
> implementations.
>
> WDYT?
> --
> Ihor Radchenko // yantar92,
> Learn more about Org mode at <https://orgmode.org/>.
> Support Org development at <https://liberapay.com/org-mode>,
> or support my work at <https://liberapay.com/yantar92>
Dear Ihor and Org mailing list,
I wanted to answer last weekend, because I had the intention to contribute a
little in terms of code. However, I was very busy, and I will be very busy this
weekend as well. All in all, the idea sounds great. I appreciate that my
opinion is taken into account, but I know very little about citation systems. I
was only a bit concerned about the effort which is needed to implement the
changes, as little as they may be.
--
Sent with https://mailfence.com
Secure and private email
- Re: [BUG] #+cite_export: ... bibstyle citestyle cannot be universally used as global defaults (was: Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-cite),
Edgar Lux <=