I'm using biblatex
with the following options
\usepackage[backend=biber,style=numeric-comp,sorting=none,%
isbn=false,url=false,doi=false,firstinits=true]{biblatex}
Thus, my bibliography contains neither url
nor doi
fields, making it nice and short. However, this comes with the disadvantage that references no longer contain clickable links leading to the download location of that particular source.
Is there a way to change this?
Best Answer
EDIT: Added Title clickable (1. just the title cickable and 2. the whole reference clickable)
1. Just the Title reference clickable
You can redefine the
title
macro and add the\href
to thetitle
using theDeclareFieldFormat
. I edited the default definitions in thebiblatex.def
file.And the macros are:
MWE
2. The whole reference clickable
I found a way that allow to make a reference clickable (The whole text of the reference is clickable)
For this I Modified the definition of
DeclareBibliographyDriver
to add a\href
to the full reference.This is necessary before
biblatex
load the bibliography style.By default, before load the style files,
biblatex
try load the filebiblatex-dm.cfg
(biblatex custom data model), then it is possible modify theDeclareBibliographyDriver
using this file.I created the file (
biblatex-dm.cfg
) in the work directory with the content:This code use
\href
only ifhyperref
is loaded anddoi
andurl
options arefalse
.The MWE:
And the result: