Skip to content

Commit

Permalink
Merge pull request #127 from andras-simonyi/Position_labels_in_names_…
Browse files Browse the repository at this point in the history
…blocks_acc_to_CSL_1.0.2

Position labels in names blocks according to CSL 1.0.2
  • Loading branch information
andras-simonyi committed Dec 9, 2022
2 parents 69536c8 + 8a33aa8 commit 32e61f5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions citeproc-name.el
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,9 @@ Nature."
(push `(plural . ,(if (> (length var-value) 1) "always" "never"))
label-attrs)))
(if with-label
(let ((form (alist-get 'form label-attrs))
(rendered-label (car (citeproc--label label-attrs context))))
(let ((rendered-label (car (citeproc--label label-attrs context))))
(citeproc-rt-join-formatted `((rendered-var . ,var))
(if (or label-before-names
(string= form "verb")
(string= form "verb-short"))
(if label-before-names
(list rendered-label rendered-names)
(list rendered-names rendered-label))
context))
Expand Down

0 comments on commit 32e61f5

Please sign in to comment.