Update bibliography-mimosis.tex
parent
caf651c25b
commit
ac9797bcc4
|
@ -130,3 +130,34 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
\DeclareLanguageMapping{english}{english-mimosis}
|
\DeclareLanguageMapping{english}{english-mimosis}
|
||||||
|
|
||||||
|
% This block produces clickable and colored author names whenever \textcite is used
|
||||||
|
\DeclareFieldFormat{citehyperref}{%
|
||||||
|
\DeclareFieldAlias{bibhyperref}{noformat}% Avoid nested links
|
||||||
|
\bibhyperref{#1}}
|
||||||
|
\DeclareFieldFormat{textcitehyperref}{%
|
||||||
|
\DeclareFieldAlias{bibhyperref}{noformat}% Avoid nested links
|
||||||
|
\bibhyperref{%
|
||||||
|
#1%
|
||||||
|
\ifbool{cbx:parens}
|
||||||
|
{\bibcloseparen\global\boolfalse{cbx:parens}}
|
||||||
|
{}}}
|
||||||
|
\savebibmacro{cite}
|
||||||
|
\savebibmacro{textcite}
|
||||||
|
\renewbibmacro*{cite}{%
|
||||||
|
\printtext[citehyperref]{%
|
||||||
|
\restorebibmacro{cite}%
|
||||||
|
\usebibmacro{cite}}}
|
||||||
|
\renewbibmacro*{textcite}{%
|
||||||
|
\ifboolexpr{
|
||||||
|
( not test {\iffieldundef{prenote}} and
|
||||||
|
test {\ifnumequal{\value{citecount}}{1}} )
|
||||||
|
or
|
||||||
|
( not test {\iffieldundef{postnote}} and
|
||||||
|
test {\ifnumequal{\value{citecount}}{\value{citetotal}}} )
|
||||||
|
}
|
||||||
|
{\DeclareFieldAlias{textcitehyperref}{noformat}}
|
||||||
|
{}%
|
||||||
|
\printtext[textcitehyperref]{%
|
||||||
|
\restorebibmacro{textcite}%
|
||||||
|
\usebibmacro{textcite}}}
|
||||||
|
|
Loading…
Reference in New Issue