summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/breakurl
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-13 22:59:55 +0000
committerKarl Berry <karl@freefriends.org>2013-04-13 22:59:55 +0000
commit0f41ce1d28482ce78a7ae6d61b06d84184bce1a5 (patch)
tree47cc50b358bd03d9ea8c81afe620b7ba5122a323 /Master/texmf-dist/tex/latex/breakurl
parent3e398ad7ee08bc7f8493d2a6a7c0550c5c1ec7cc (diff)
breakurl (12apr13)
git-svn-id: svn://tug.org/texlive/trunk@29901 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/breakurl')
-rw-r--r--Master/texmf-dist/tex/latex/breakurl/breakurl.sty9
1 files changed, 7 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/breakurl/breakurl.sty b/Master/texmf-dist/tex/latex/breakurl/breakurl.sty
index 0bf5b06e8fe..ea9181b6f9e 100644
--- a/Master/texmf-dist/tex/latex/breakurl/breakurl.sty
+++ b/Master/texmf-dist/tex/latex/breakurl/breakurl.sty
@@ -29,7 +29,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{breakurl}
- [2009/01/24 v1.30 Breakable hyperref URLs]
+ [2013/04/10 v1.40 Breakable hyperref URLs]
\RequirePackage{xkeyval}
@@ -39,6 +39,7 @@
% Dummy package options
\DeclareOptionX{preserveurlmacro}{}
\DeclareOptionX{hyphenbreaks}{}
+ \DeclareOptionX{anythingbreaks}{}
\DeclareOptionX{vertfit}{}
\ProcessOptionsX\relax
@@ -63,6 +64,7 @@
\newif\if@preserveurlmacro\@preserveurlmacrofalse
\newif\if@burl@fitstrut\@burl@fitstrutfalse
\newif\if@burl@fitglobal\@burl@fitglobalfalse
+\newif\if@burl@anythingbreaks\@burl@anythingbreaksfalse
\newtoks\burl@toks
@@ -124,6 +126,9 @@
\hyper@normalise\burl@addtocharlistafter{-}%
\egroup
}
+\DeclareOptionX{anythingbreaks}{%
+ \@burl@anythingbreakstrue
+}
\DeclareOptionX{vertfit}[local]{\burl@setvertfit{#1}}
\ProcessOptionsX\relax
@@ -209,7 +214,7 @@
\burl@urltext\do{%
\if@burl@breakafter\@burl@prevbreakaftertrue
\else\@burl@prevbreakafterfalse\fi
- \@burl@breakbeforefalse
+ \if@burl@anythingbreaks\@burl@breakbeforetrue\else\@burl@breakbeforefalse\fi
\@burl@breakafterfalse
\expandafter\burl@mif\burl@mfi
\if@burl@breakbefore