inbook
authorThomas Pietrzak <thomas.pietrzak@gmail.com>
Mon, 15 Apr 2019 08:20:28 +0000 (10:20 +0200)
committerThomas Pietrzak <thomas.pietrzak@gmail.com>
Mon, 15 Apr 2019 08:20:28 +0000 (10:20 +0200)
plain-withurls.bst

index 300c81f32a434bf6b9de5122de1fa29d95f57b4e..0259f2e80f6ab3e44c813fcc3b7004434d41a8fe 100644 (file)
@@ -651,7 +651,19 @@ FUNCTION {inbook}
     }
   if$
   new.block
-  format.btitle "title" output.check
+
+  % NICOLAS
+  doi empty$
+    { url empty$
+        { format.btitle }
+        { "\href{" url * "}{" * format.btitle * "}" * }
+      if$
+    }
+    { "\href{http://doi.org/" doi * "}{" * format.btitle * "}" * }
+    if$
+  "title" output.check
+  %format.btitle "title" output.check
+
   crossref missing$
     { format.bvolume output
       format.chapter.pages "chapter and pages" output.check