add proceedings article type
authorJohn Kitchin <jkitchin@andrew.cmu.edu>
Tue, 23 Sep 2014 16:21:07 +0000 (12:21 -0400)
committerJohn Kitchin <jkitchin@andrew.cmu.edu>
Tue, 23 Sep 2014 16:21:07 +0000 (12:21 -0400)
doi-utils.org

index 9a28a9d..e6c0266 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