Skip to content

Commit

Permalink
try simple fix for issue #1103
Browse files Browse the repository at this point in the history
It seems i should not be adding this here.
  • Loading branch information
jkitchin committed Jan 29, 2024
1 parent 78d7897 commit 717e49d
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions org-ref-export.el
Original file line number Diff line number Diff line change
Expand Up @@ -212,17 +212,16 @@ REF is a plist data structure returned from `org-ref-parse-cite-path'."
(suffix . ,suffix)
(locator . ,locator)
(label . ,(when label (org-ref-dealias-label (string-trim label))))
;; TODO: proof of concept and not complete. I did not go through all the
;; types to see what else should be in here.
(suppress-author . ,(not (null (member type
'("citenum"
"citeyear"
"citeyear*"
"citedate"
"citedate*"
"citetitle"
"citetitle*"
"citeurl"))))))))
;; [2024-01-29 Mon] see
;; https://github.com/jkitchin/org-ref/issues/1103#issuecomment-1915028374
;; and related comments at
;; https://github.com/andras-simonyi/citeproc-el/issues/151. It seems I
;; should not be adding this. TODO: proof of concept and not complete. I
;; did not go through all the types to see what else should be in here.
;; (suppress-author . ,(not (null (member type '("citenum" "citeyear"
;; "citeyear*" "citedate" "citedate*" "citetitle" "citetitle*"
;; "citeurl")))))
)))

(declare-function org-ref-find-bibliography "org-ref-core")

Expand Down

0 comments on commit 717e49d

Please sign in to comment.