András Simonyi <andras.simo...@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