summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-12-17 21:32:09 +0000
committerKarl Berry <karl@freefriends.org>2018-12-17 21:32:09 +0000
commit6b1a8094f0a744aa5cd6bf002eab62c21fcee76a (patch)
tree4ca935af5e6260926718caf7bf85ea7afd43dbac
parentb3d70195571fd3e8127732f8d3d59f47e2805b8f (diff)
xurl (17dec18)
git-svn-id: svn://tug.org/texlive/trunk@49441 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/xurl/Changes1
-rw-r--r--Master/texmf-dist/doc/latex/xurl/xurl.pdfbin53948 -> 52902 bytes
-rw-r--r--Master/texmf-dist/doc/latex/xurl/xurl.tex2
-rw-r--r--Master/texmf-dist/tex/latex/xurl/xurl.sty27
4 files changed, 20 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/xurl/Changes b/Master/texmf-dist/doc/latex/xurl/Changes
index 2228bee824a..fc4494144e0 100644
--- a/Master/texmf-dist/doc/latex/xurl/Changes
+++ b/Master/texmf-dist/doc/latex/xurl/Changes
@@ -1,3 +1,4 @@
+0.06 2018-12-16 - define \UrlSpecials
0.05 2018-12-08 - added support for biblatex
0.04 2018-06-02 - change \Urlmuskip to allow stretchability
0.03 2018-01-09 - added UrlOrd characters
diff --git a/Master/texmf-dist/doc/latex/xurl/xurl.pdf b/Master/texmf-dist/doc/latex/xurl/xurl.pdf
index c84bb84a0de..566aa01ef28 100644
--- a/Master/texmf-dist/doc/latex/xurl/xurl.pdf
+++ b/Master/texmf-dist/doc/latex/xurl/xurl.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/xurl/xurl.tex b/Master/texmf-dist/doc/latex/xurl/xurl.tex
index a2ec6766147..9fd8d84c8ef 100644
--- a/Master/texmf-dist/doc/latex/xurl/xurl.tex
+++ b/Master/texmf-dist/doc/latex/xurl/xurl.tex
@@ -1,4 +1,4 @@
-%% $Id: xltabular-doc.tex 635 2017-10-24 18:22:59Z herbert $
+%% $Id: xurl.tex 850 2018-12-08 13:05:34Z herbert $
%
\listfiles\setcounter{errorcontextlines}{100}
\RequirePackage{filecontents}
diff --git a/Master/texmf-dist/tex/latex/xurl/xurl.sty b/Master/texmf-dist/tex/latex/xurl/xurl.sty
index 0724dc27b71..37d32bb1aec 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 849 2018-12-08 09:00:57Z herbert $
+%% $Id: xurl.sty 871 2018-12-16 21:11:43Z herbert $
%%
%% This is file `xurl.sty',
%%
@@ -16,7 +16,7 @@
%% `xurl' is a package for extended URL breaks
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{xurl}[2018/12/08 v 0.05 modify URL breaks]
+\ProvidesPackage{xurl}[2018/12/08 v 0.06 modify URL breaks]
\newif\if@no@biblatex \@no@biblatexfalse
\DeclareOption{nobiblatex}{\@no@biblatextrue}
@@ -28,22 +28,32 @@
%
\if@no@biblatex\else
\@ifpackageloaded{biblatex}{%
- \setcounter{biburllcpenalty}{1}%
- \setcounter{biburlucpenalty}{1}%
- \setcounter{biburlnumpenalty}{1}%
+ \setcounter{biburllcpenalty}{100}%
+ \setcounter{biburlucpenalty}{200}%
+ \setcounter{biburlnumpenalty}{100}%
}{} % biblatex has it's own url handling
\fi
%
+%\mathchardef\UrlBigBreakPenalty=100
+%\mathchardef\UrlBreakPenalty=200
+
\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%
\do\m\do\n\do\o\do\p\do\q\do\r\do\s\do\t\do\u\do\v\do\w\do\x\do\y\do\z%
\do\A\do\B\do\C\do\D\do\E\do\F\do\G\do\H\do\I\do\J\do\K\do\L%
\do\M\do\N\do\O\do\P\do\Q\do\R\do\S\do\T\do\U\do\V\do\W\do\X\do\Y\do\Z%
- \do0\do1\do2\do3\do4\do5\do6\do7\do8\do9\do=\do/\do.\do:%
- \do\*\do\-\do\~\do\'\do\"\do\-}
+ \do\*\do\-\do\~\do\'\do\"\do\-}
%
-\Urlmuskip=0mu plus 0.1mu
+\def\UrlSpecials{%
+ \do\ {\Url@space}%
+ \do\%{\Url@percent}%
+ \do\^^M{\Url@space}%
+ \Url@force@Tilde
+ \do0\do1\do2\do3\do4\do5\do6\do7\do8\do9\do=\do/\do.\do:%
+}
+
+\Urlmuskip=0mu plus 1mu
%
%
@@ -114,7 +124,6 @@
\do\'{'\penalty\UrlBreakPenalty}%
\do\"{"\penalty\UrlBreakPenalty}%
}
-%\fi
%