summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/xurl/xurl.sty
blob: 1c511e80c66eb4d0749ad56646dcb20a7bb2a33f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
%% $Id: xurl.sty 705 2018-01-09 08:16:14Z herbert $
%%
%% This is file `xurl.sty',
%%
%% IMPORTANT NOTICE:
%%
%% Package `xurl'
%%
%% Herbert Voss <hvoss _at_ tug.org>
%%
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN archives
%% in directory macros/latex/base/lppl.txt.
%%
%% DESCRIPTION:
%%   `xurl' is a package for extended URL breaks
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{xurl}[2018/01/09 v 0.03 modify URL breaks]

\DeclareOption*{\PassOptionsToPackage\CurrentOption{url}}
\ProcessOptions\relax
%
\RequirePackage{url}
%
\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\-}
%
\endinput