summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/xurl
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-12-09 22:41:45 +0000
committerKarl Berry <karl@freefriends.org>2018-12-09 22:41:45 +0000
commitb676f6d8c04382e4911666a502b902b51b33c2ec (patch)
tree586176ddc4a5f8a7b36b48196734bb4eb8f6955a /Master/texmf-dist/tex/latex/xurl
parent68c14c6cf18f35f6726ed5b3e6f225d05968f7bb (diff)
xurl (9dec18)
git-svn-id: svn://tug.org/texlive/trunk@49368 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/xurl')
-rw-r--r--Master/texmf-dist/tex/latex/xurl/xurl.sty19
1 files changed, 16 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/xurl/xurl.sty b/Master/texmf-dist/tex/latex/xurl/xurl.sty
index 098e59b3529..0724dc27b71 100644
--- a/Master/texmf-dist/tex/latex/xurl/xurl.sty
+++ b/Master/texmf-dist/tex/latex/xurl/xurl.sty
@@ -1,4 +1,4 @@
-%% $Id: xurl.sty 705 2018-01-09 08:16:14Z herbert $
+%% $Id: xurl.sty 849 2018-12-08 09:00:57Z herbert $
%%
%% This is file `xurl.sty',
%%
@@ -16,13 +16,24 @@
%% `xurl' is a package for extended URL breaks
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{xurl}[2018/06/02 v 0.04 modify URL breaks]
+\ProvidesPackage{xurl}[2018/12/08 v 0.05 modify URL breaks]
+
+\newif\if@no@biblatex \@no@biblatexfalse
+\DeclareOption{nobiblatex}{\@no@biblatextrue}
\DeclareOption*{\PassOptionsToPackage\CurrentOption{url}}
\ProcessOptions\relax
%
\RequirePackage{url}
%
+\if@no@biblatex\else
+ \@ifpackageloaded{biblatex}{%
+ \setcounter{biburllcpenalty}{1}%
+ \setcounter{biburlucpenalty}{1}%
+ \setcounter{biburlnumpenalty}{1}%
+ }{} % biblatex has it's own url handling
+\fi
+%
\def\UrlBreaks{%
\do\/%
\do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j\do\k\do\l%
@@ -34,6 +45,8 @@
%
\Urlmuskip=0mu plus 0.1mu
%
+%
+
\endinput
\def\UrlSpecials{%
@@ -101,7 +114,7 @@
\do\'{'\penalty\UrlBreakPenalty}%
\do\"{"\penalty\UrlBreakPenalty}%
}
-\fi
+%\fi
%