[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] oc-csl: Add support for nocite citations
From: |
Ihor Radchenko |
Subject: |
Re: [PATCH] oc-csl: Add support for nocite citations |
Date: |
Sat, 02 Jul 2022 12:38:57 +0800 |
András Simonyi <andras.simonyi@gmail.com> writes:
> the attached patch adds support for nocite citations in the csl
> org-cite export processor, including support for using the special key
> "*" to include all entries in the bibliography.
Thanks!
By "*", do you mean something like [cite/n:@*]?
If so, will it be correctly fontified as an existing citation?
> +*** Support for nocite citations in the csl export processor
>
> +The csl citation export processor now supports `nocite' style
> +citations that add items to the printed bibliography without visible
> +references in the text. Using the key `*' in a nocite citation
> +includes all available items in the printed bibliography.
It would help to provide an example how to use "*" key.
Also, I'd prefer if you follow doc/Documentation_Standards.org. Please
use Org markup instead of `...' quotes.
> +(defun org-cite-csl--nocite-p (citation info)
> + "Non-nil when CITATION object's style is nocite.
> +INFO is the export state, as a property list."
> + (when-let ((style (car (org-cite-citation-style citation info))))
> + (or (string= style "nocite") (string= style "n"))))
Why not simply
(member (car (org-cite-citation-style citation info)) '("nocite" "n"))
?
Best,
Ihor
- [PATCH] oc-csl: Add support for nocite citations, András Simonyi, 2022/07/01
- Re: [PATCH] oc-csl: Add support for nocite citations,
Ihor Radchenko <=
- Re: [PATCH] oc-csl: Add support for nocite citations, András Simonyi, 2022/07/02
- Re: [PATCH] oc-csl: Add support for nocite citations, Ihor Radchenko, 2022/07/03
- Re: [PATCH] oc-csl: Add support for nocite citations, Bruce D'Arcus, 2022/07/03
- Re: [PATCH] oc-csl: Add support for nocite citations, Ihor Radchenko, 2022/07/03
- Re: [PATCH] oc-csl: Add support for nocite citations, Bruce D'Arcus, 2022/07/03
- Re: [PATCH] oc-csl: Add support for nocite citations, John Kitchin, 2022/07/03
- [BUG] @* in [cite/nocite:@*] is a valid special LaTeX bibliography key, but it is highlighted using "error" face by oc.el (was: [PATCH] oc-csl: Add support for nocite citations), Ihor Radchenko, 2022/07/03
- Re: [BUG] @* in [cite/nocite:@*] is a valid special LaTeX bibliography key, but it is highlighted using "error" face by oc.el (was: [PATCH] oc-csl: Add support for nocite citations), András Simonyi, 2022/07/04
- Re: [BUG] @* in [cite/nocite:@*] is a valid special LaTeX bibliography key, but it is highlighted using "error" face by oc.el (was: [PATCH] oc-csl: Add support for nocite citations), Ihor Radchenko, 2022/07/04
- Re: [BUG] @* in [cite/nocite:@*] is a valid special LaTeX bibliography key, but it is highlighted using "error" face by oc.el (was: [PATCH] oc-csl: Add support for nocite citations), András Simonyi, 2022/07/04