From 5a0627015b7eae0c9668507034583187c8b1c849 Mon Sep 17 00:00:00 2001 From: Thomas Pietrzak Date: Mon, 15 Apr 2019 10:20:28 +0200 Subject: [PATCH] inbook --- plain-withurls.bst | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/plain-withurls.bst b/plain-withurls.bst index 300c81f..0259f2e 100644 --- a/plain-withurls.bst +++ b/plain-withurls.bst @@ -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 -- 2.30.2