Skip to content

Commit

Permalink
Reimplement citeproc-style-note-style as a function
Browse files Browse the repository at this point in the history
  • Loading branch information
andras-simonyi committed Mar 2, 2024
1 parent 169b953 commit eed63af
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions citeproc-style.el
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ USES-YS-VAR is non-nil iff the style uses the YEAR-SUFFIX
cite-layout cite-layout-attrs locale-opts macros terms
uses-ys-var date-text date-numeric locale)

(defun citeproc-style-cite-note (style)
"Return whether csl STYLE is a note style."
(string= (citeproc-style-category style) "note"))

(defun citeproc-style-parse (style)
"Return the parsed representation of csl STYLE.
STYLE is either a path to a style file or a style as a string.
Expand Down

0 comments on commit eed63af

Please sign in to comment.