Author: bugman Date: Tue Aug 28 18:46:56 2012 New Revision: 17363 URL: http://svn.gna.org/viewcvs/relax?rev=17363&view=rev Log: Modified the relax LaTeX bibliography style file relax.bst to convert DOI numbers to hyperlinks. This is to add links to the references within the relax user manual. Modified: trunk/docs/latex/relax.bst Modified: trunk/docs/latex/relax.bst URL: http://svn.gna.org/viewcvs/relax/trunk/docs/latex/relax.bst?rev=17363&r1=17362&r2=17363&view=diff ============================================================================== --- trunk/docs/latex/relax.bst (original) +++ trunk/docs/latex/relax.bst Tue Aug 28 18:46:56 2012 @@ -46,6 +46,7 @@ author booktitle chapter + doi edition editor howpublished @@ -269,6 +270,14 @@ if$ } +FUNCTION {format.doi} +{ + doi empty$ + { "" } + { "(\href{http://dx.doi.org/" doi * "}{DOI: " * doi * "})" * } + if$ +} + FUNCTION {format.title} { title empty$ { "" } @@ -507,6 +516,8 @@ format.pages output } if$ + new.block + format.doi output new.block note output fin.entry