From: Thomas Pietrzak Date: Mon, 15 Apr 2019 08:20:28 +0000 (+0200) Subject: inbook X-Git-Tag: first-full-draft~225 X-Git-Url: https://git.thomaspietrzak.com/?a=commitdiff_plain;h=5a0627015b7eae0c9668507034583187c8b1c849;p=hdr.git inbook --- 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