diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-biblatex.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-biblatex.sty | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-biblatex.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-biblatex.sty index b66f8446af5..0472693e549 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-biblatex.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-biblatex.sty @@ -19,6 +19,39 @@ \let\addtocontents\newfloat@addtocontents@ORI }{} \LWR@ProvidesPackagePass{biblatex}[2018/03/04] +\AfterPreamble{ + +\let\blx@anchors\@empty +\protected\def\blx@anchor{% + \xifinlist{\the\c@refsection @\abx@field@entrykey}{\blx@anchors} + {} + {\listxadd\blx@anchors{\the\c@refsection @\abx@field@entrykey}% + \hypertarget{cite.\the\c@refsection @\abx@field@entrykey}{}}} +\protected\def\blx@imc@bibhyperref{% + \@ifnextchar[%] + {\blx@bibhyperref} + {\blx@bibhyperref[\abx@field@entrykey]}}% + +\long\def\blx@bibhyperref[#1]#2{% + \hyperlink{cite.\the\c@refsection @#1}{% + #2% + }% +}%% \def\blx@nohyperref[#1]#2{#2}% + +\protected\long\def\blx@imc@bibhyperlink#1#2{% + \hyperlink{cite.\the\c@refsection:#1}{% + #2% + }% +}% + +\protected\long\def\blx@imc@bibhypertarget#1#2{% + \hypertarget{cite.\the\c@refsection:#1}{% + #2% + }% +} + +\let\blx@imc@ifhyperref\@firstoftwo +} \endinput %% %% End of file `lwarp-biblatex.sty'. |