texlive[49488] Master/texmf-dist: xurl (23dec18)

commits+karl at tug.org commits+karl at tug.org
Mon Dec 24 00:04:34 CET 2018


Revision: 49488
          http://tug.org/svn/texlive?view=revision&revision=49488
Author:   karl
Date:     2018-12-24 00:04:34 +0100 (Mon, 24 Dec 2018)
Log Message:
-----------
xurl (23dec18)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/xurl/Changes
    trunk/Master/texmf-dist/doc/latex/xurl/xurl.pdf
    trunk/Master/texmf-dist/doc/latex/xurl/xurl.tex
    trunk/Master/texmf-dist/tex/latex/xurl/xurl.sty

Modified: trunk/Master/texmf-dist/doc/latex/xurl/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xurl/Changes	2018-12-23 23:04:18 UTC (rev 49487)
+++ trunk/Master/texmf-dist/doc/latex/xurl/Changes	2018-12-23 23:04:34 UTC (rev 49488)
@@ -1,3 +1,4 @@
+0.07  2018-12-23  - move numbers into \UrlBreaks
 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

Modified: trunk/Master/texmf-dist/doc/latex/xurl/xurl.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/xurl/xurl.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xurl/xurl.tex	2018-12-23 23:04:18 UTC (rev 49487)
+++ trunk/Master/texmf-dist/doc/latex/xurl/xurl.tex	2018-12-23 23:04:34 UTC (rev 49488)
@@ -1,4 +1,4 @@
-%% $Id: xurl.tex 850 2018-12-08 13:05:34Z herbert $
+%% $Id: xurl.tex 876 2018-12-23 10:26:11Z herbert $
 %
 \listfiles\setcounter{errorcontextlines}{100}
 \RequirePackage{filecontents}
@@ -92,9 +92,9 @@
 set 
 
 \begin{verbatim}
-\setcounter{biburllcpenalty}{1}
-\setcounter{biburlucpenalty}{1}
-\setcounter{biburlnumpenalty}{1}
+\setcounter{biburllcpenalty}{100}
+\setcounter{biburlucpenalty}{200}
+\setcounter{biburlnumpenalty}{100}
 \end{verbatim}
 
 However, if you load \texttt{xurl} \emph{after} \texttt{biblatex} then it is done

Modified: trunk/Master/texmf-dist/tex/latex/xurl/xurl.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/xurl/xurl.sty	2018-12-23 23:04:18 UTC (rev 49487)
+++ trunk/Master/texmf-dist/tex/latex/xurl/xurl.sty	2018-12-23 23:04:34 UTC (rev 49488)
@@ -1,4 +1,4 @@
-%% $Id: xurl.sty 871 2018-12-16 21:11:43Z herbert $
+%% $Id: xurl.sty 876 2018-12-23 10:26:11Z 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.06 modify URL breaks]
+\ProvidesPackage{xurl}[2018/12/23 v 0.07 modify URL breaks]
 
 \newif\if at no@biblatex \@no at biblatexfalse
 \DeclareOption{nobiblatex}{\@no at biblatextrue}
@@ -28,9 +28,10 @@
 %
 \if at no@biblatex\else
   \@ifpackageloaded{biblatex}{%
+    \typeout{xurl: Set penalties for biblatex}%
     \setcounter{biburllcpenalty}{100}%
     \setcounter{biburlucpenalty}{200}%
-    \setcounter{biburlnumpenalty}{100}%
+    \global\setcounter{biburlnumpenalty}{100}%
   }{}       % biblatex has it's own url handling
 \fi
 %
@@ -43,7 +44,9 @@
      \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%
- \do\*\do\-\do\~\do\'\do\"\do\-}
+ \do\*\do\-\do\~\do\'\do\"\do\-%
+ \do0\do1\do2\do3\do4\do5\do6\do7\do8\do9\do=\do/\do.\do:%
+}
 %
 \def\UrlSpecials{%
   \do\ {\Url at space}%
@@ -50,7 +53,6 @@
   \do\%{\Url at percent}%
   \do\^^M{\Url at space}%
   \Url at force@Tilde
-  \do0\do1\do2\do3\do4\do5\do6\do7\do8\do9\do=\do/\do.\do:%
 }
 
 \Urlmuskip=0mu plus 1mu
@@ -123,6 +125,20 @@
   \do\~{~\penalty\UrlBreakPenalty}%
   \do\'{'\penalty\UrlBreakPenalty}%
   \do\"{"\penalty\UrlBreakPenalty}%
+  \do\0{/\penalty\UrlBreakPenalty}%
+  \do\1{/\penalty\UrlBreakPenalty}%
+  \do\2{/\penalty\UrlBreakPenalty}%
+  \do\3{/\penalty\UrlBreakPenalty}%
+  \do\4{/\penalty\UrlBreakPenalty}%
+  \do\5{/\penalty\UrlBreakPenalty}%
+  \do\6{/\penalty\UrlBreakPenalty}%
+  \do\7{/\penalty\UrlBreakPenalty}%
+  \do\8{/\penalty\UrlBreakPenalty}%
+  \do\9{/\penalty\UrlBreakPenalty}%
+  \do\={/\penalty\UrlBreakPenalty}%
+  \do\/{/\penalty\UrlBreakPenalty}%
+  \do\.{/\penalty\UrlBreakPenalty}%
+  \do\:{/\penalty\UrlBreakPenalty}%
 }
 %
 



More information about the tex-live-commits mailing list