url in incollection
authorThomas Pietrzak <thomas.pietrzak@gmail.com>
Wed, 17 Apr 2019 14:07:03 +0000 (16:07 +0200)
committerThomas Pietrzak <thomas.pietrzak@gmail.com>
Wed, 17 Apr 2019 14:07:03 +0000 (16:07 +0200)
plain-withurls.bst

index 0259f2e80f6ab3e44c813fcc3b7004434d41a8fe..e0aaed7b6bbf9beaf5db4e7a69af8cb8c24dfa37 100644 (file)
@@ -689,7 +689,20 @@ FUNCTION {incollection}
 { output.bibitem
   format.authors "author" output.check
   new.block
-  format.title "title" output.check
+
+
+  % NICOLAS
+  doi empty$
+    { url empty$
+        { format.btitle }
+        { "\href{" url * "}{" * format.title * "}" * }
+      if$
+    }
+    { "\href{http://doi.org/" doi * "}{" * format.title * "}" * }
+    if$
+  "title" output.check
+  %format.title "title" output.check
+
   new.block
   crossref missing$
     { format.in.ed.booktitle "booktitle" output.check