summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/latex/breakurl/breakurl.dtx24
1 files changed, 13 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/latex/breakurl/breakurl.dtx b/Master/texmf-dist/source/latex/breakurl/breakurl.dtx
index fdb8b8c02b1..2f43a46c6c8 100644
--- a/Master/texmf-dist/source/latex/breakurl/breakurl.dtx
+++ b/Master/texmf-dist/source/latex/breakurl/breakurl.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2005,2006,2007 by Vilar Camara Neto.
+% Copyright (C) 2005,2006,2007,2008 by Vilar Camara Neto.
%
% This file may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -28,7 +28,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{breakurl}
%<*package>
- [2007/12/18 v1.21 Breakable hyperref URLs]
+ [2008/04/05 v1.22 Breakable hyperref URLs]
%</package>
%<*driver>
\documentclass{ltxdoc}
@@ -43,7 +43,7 @@
%</driver>
% \fi
-% \CheckSum{379}
+% \CheckSum{377}
% \CharacterTable
@@ -62,6 +62,8 @@
% Grave accent \` Left brace \{ Vertical bar \|
% Right brace \} Tilde \~}
%
+% \changes{v1.22}{2008/04/05}{Corrected a misuse of \string\leavevmode which
+% generated blank lines inside tables}
% \changes{v1.21}{2007/06/20}{\string\burlalt and \string\urlalt now work under
% pdflatex; also bug fixes from Heiko Oberdiek}
% \changes{v1.20}{2006/08/26}{Changes to reflect update of hyperref package}
@@ -85,7 +87,7 @@
% \textsf{breakurl}~\fileversion, dated~\filedate.}}
% \author{Vilar Camara Neto \\
% \texttt{neto@dcc.ufmg.br}}
-% \date{December 18, 2007}
+% \date{April 05, 2008}
%
% \maketitle
%
@@ -243,6 +245,8 @@
%
% \begin{description}
%
+% \item[v1.22] Corrected blank lines appearing inside tables.
+%
% \item[v1.21] |\burlalt| and the synonym |\urlalt| now work with pdflatex.
% Also, there are a couple of bug fixes (thank you again, Heiko).
%
@@ -335,10 +339,10 @@
%
% Thanks to Hendri Adriaens, Donald Arseneau, Michael Friendly, Morten Høgholm,
% David Le Kim, Damian Menscher, Tristan Miller, Heiko Oberdiek, Christoph
-% Schiller, Xiaotian Sun, Michael Toews, and David Tulloh for suggestions, bug
-% reports, comments, and corrections. A special thanks to the participants of
-% |comp.text.tex| newsgroups for their constant effort to help hundreds of
-% people in the beautiful world of \TeX/\LaTeX.
+% Schiller, Xiaotian Sun, Michael Toews, David Tulloh, and Jinsong Zhao for
+% suggestions, bug reports, comments, and corrections. A special thanks to the
+% participants of |comp.text.tex| newsgroups for their constant effort to help
+% hundreds of people in the beautiful world of \TeX/\LaTeX.
%
%
% \section{Source code}
@@ -490,13 +494,11 @@
\def\burl@hyper@linkurl#1#2{%
\begingroup
\hyper@chars
- \leavevmode
\burl@condpdflink{#1}%
\endgroup
}
\def\burl@condpdflink#1{%
- \leavevmode
\if@burl@fitstrut
\sbox\pdf@box{#1\strut}%
\else\if@burl@fitglobal
@@ -506,7 +508,6 @@
\fi\fi
\dimen@\ht\pdf@box\dimen@ii\dp\pdf@box
\sbox\pdf@box{#1}%
- \leavevmode
\ifdim\dimen@ii=\z@
\literalps@out{BU.SS}%
\else
@@ -528,6 +529,7 @@
%
% \begin{macrocode}
\DeclareRobustCommand*{\burl}{%
+ \leavevmode
\begingroup
\let\hyper@linkurl=\burl@hyper@linkurl
\catcode`\&=12\relax