]> git.donarmstrong.com Git - org-ref.git/blobdiff - doi-utils.org
add alias
[org-ref.git] / doi-utils.org
index 9a28a9d5f8b193c0bf2f8b5e55a7c348c348131a..e6c026688399f477ba677b39961d8b756efbe90a 100644 (file)
@@ -451,6 +451,7 @@ Now we define a function that fills in that template from the metadata.
        results
        author
        title
+       booktitle
        journal
        year
        volume
@@ -485,6 +486,20 @@ Now we define a function that fills in that template from the metadata.
   doi =          {%{doi}},
   url =          {%{url}},
 }"))
+     
+     ((string= type "proceedings-article")
+      (setq booktitle (plist-get results :container-title))
+      (doi-utils-expand-template "@inproceedings{,
+  author =      {%{author}},
+  title =       {%{title}},
+  booktitle =    {%{booktitle}},
+  year =        {%{year}},
+  month =       {%{month}},
+  pages =       {%{pages}},
+  doi =          {%{doi}},
+  url =          {%{url}},
+}"))
+     
     (t (message-box "%s not supported yet." type)))))
 #+END_SRC