diff options
author | Karl Berry <karl@freefriends.org> | 2018-04-01 22:24:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-04-01 22:24:04 +0000 |
commit | ac8d62d1767ddaee38fb7d8d0afc5ae70233f806 (patch) | |
tree | d75db9d11068090dd417fe1c20240176cac31ab2 /Master/texmf-dist/tex/latex/lwarp/lwarp-breakurl.sty | |
parent | fe9ffbe7cd9288728c5aa469cdb3ee173f90c69d (diff) |
lwarp (2apr18)
git-svn-id: svn://tug.org/texlive/trunk@47225 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-breakurl.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-breakurl.sty | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-breakurl.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-breakurl.sty index 49420b1f66e..8e4fc48a8dd 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-breakurl.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-breakurl.sty @@ -18,7 +18,7 @@ \LWR@ProvidesPackageDrop{breakurl} \LetLtxMacro\burl\url -\NewDocumentCommand{\burlalt}{O{} +m m}{% +\NewDocumentCommand{\LWR@burlaltb}{O{} +m m}{% \LWR@ensuredoingapar% \def\LWR@templink{#2}% \@onelevel@sanitize\LWR@templink% @@ -26,6 +26,17 @@ \@onelevel@sanitize\LWR@templinktwo% \LWR@subhyperref{\LWR@templink}{\LWR@templinktwo}% \LWR@ensuredoingapar% +\endgroup% +} + +\newrobustcmd*{\burlalt}{% +\begingroup% +\catcode`\#=12 +\catcode`\%=12 +\catcode`\&=12 +\catcode`\~=12 +\catcode`\_=12 +\LWR@burlaltb% } \LetLtxMacro\urlalt\burlalt |