diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/dtk/dtk-url.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/dtk/dtk-url.sty | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/dtk/dtk-url.sty b/Master/texmf-dist/tex/latex/dtk/dtk-url.sty index 69e5b05717a..9b6e1a44c3c 100644 --- a/Master/texmf-dist/tex/latex/dtk/dtk-url.sty +++ b/Master/texmf-dist/tex/latex/dtk/dtk-url.sty @@ -14,7 +14,7 @@ %% version 2005/12/01 or later. \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{dtk-url}[2015/09/25 v1.1 Urls for DTK (HO)] +\ProvidesPackage{dtk-url}[2016/04/23 v1.2 Urls for DTK (HO,hv)] %% 1.1 hv \RequirePackage{url}[2006/04/12] @@ -76,10 +76,11 @@ \fi % Ensure that the needed primitives are enabled in LuaTeX -\RequirePackage{ifluatex} -\ifluatex - \directlua{tex.enableprimitives('',{'pdfstartlink','pdfendlink'})}% -\fi +%% No more needed, we use the new macros hv 2016-04-23 +%\RequirePackage{ifluatex} +%\ifluatex +% \directlua{tex.enableprimitives('',{'pdfstartlink','pdfendlink'})}% +%\fi \let\DTK@UrlLinkPrefix\@empty \ifDTK@Url@ @@ -97,7 +98,7 @@ }% \x \DTK@UrlWrite{\DTK@UrlType}{\DTK@Raw}% - \pdfstartlink attr{% + \pdfextension startlink attr{% /H/I% /C[1 0 0]% red /Border[1 0 0]% @@ -112,7 +113,7 @@ >>% }% #1% - \pdfendlink + \pdfextension endlink }% % Implement writing of file \DTK@UrlFile |