X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=org-ref.el;h=465502629918becbad0e4e4ad7488200411a764f;hb=a0cf8796ba016252193e69bf61cf49448cd89886;hp=0b86ed0156fd8d76572fdb2ffdf160625cc2df0b;hpb=d06422e1b0990063d3fedf2a6b4077802061c484;p=org-ref.git diff --git a/org-ref.el b/org-ref.el index 0b86ed0..4655026 100644 --- a/org-ref.el +++ b/org-ref.el @@ -81,7 +81,7 @@ You should use full-paths for each file." '(("article" . "%a, %t, %j, %v(%n), %p (%y). link. doi.") ("book" . "%a, %t, %u (%y).") - ("techreport" . "%a, %t, %u (%y).") + ("techreport" . "%a, %t, %i, %u (%y).") ("proceedings" . "%e, %t in %S, %u (%y).") ("inproceedings" . "%a, %t, %p, in %b, edited by %e, %u (%y)")) "String to format an entry. Just the reference, no numbering at the beginning, etc... see the `org-ref-reftex-format-citation' docstring for the escape codes." @@ -552,6 +552,8 @@ Format according to the type in `org-ref-bibliography-entry-format'." (setq output (replace-regexp-in-string "()" "" output)) ;; get rid of empty link and doi (setq output (replace-regexp-in-string " link\\." "" output)) + ;; change double dash to single dash + (setq output (replace-regexp-in-string "--" "-" output)) (setq output (replace-regexp-in-string " doi\\." "" output)) (format "
  • [%s] %s
  • " key key output)))