summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/titlesec/wrap.tss
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-07-25 21:54:45 +0000
committerKarl Berry <karl@freefriends.org>2011-07-25 21:54:45 +0000
commitd82f21bf5bbb6269a51a3b7045e3764cfbccd6b7 (patch)
tree2c894d976d0ae2cb9bfff01ff929ecb1b5234d8e /Master/texmf-dist/tex/latex/titlesec/wrap.tss
parentc8570fd6aff117b8caeec3dcc0039161c6e85049 (diff)
titlesec (25jul11)
git-svn-id: svn://tug.org/texlive/trunk@23221 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/titlesec/wrap.tss')
-rw-r--r--Master/texmf-dist/tex/latex/titlesec/wrap.tss9
1 files changed, 5 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/titlesec/wrap.tss b/Master/texmf-dist/tex/latex/titlesec/wrap.tss
index 4c248723f16..a35723e1aaf 100644
--- a/Master/texmf-dist/tex/latex/titlesec/wrap.tss
+++ b/Master/texmf-dist/tex/latex/titlesec/wrap.tss
@@ -2,10 +2,10 @@
% | Typeset titlesec.tex to get the documentation. |
% +--------------------------------------------------+
%
-% Copyright (c) 1998-2007 by Javier Bezos.
+> % Copyright (c) 1998-2011 by Javier Bezos.
% All Rights Reserved.
%
-% This file is part of the titlesec distribution release 2.8
+% This file is part of the titlesec distribution release 2.9
% -----------------------------------------------------------
%
% It may be distributed and/or modified under the
@@ -20,7 +20,7 @@
%
% The Current Maintainer of this work is Javier Bezos.
-\ProvidesFile{wrap.tss}[2007/08/12]
+\ProvidesFile{wrap.tss}[2011/07/25]
\gdef\ttlh@wrap#1#2#3#4#5#6#7#8{%
\global\@noskipsectrue
@@ -36,12 +36,14 @@
\advance\rightskip 1\leftskip plus 1fil
\leftskip=\z@
\parindent\z@
+ \let\iftitlemeasuring\@firstoftwo
\global\setbox\ttl@box\vtop{\setlength\hsize{#6}%
\color@begingroup
\ifttl@label{#2}\ttl@calc\hspace{#3}\fi
#4{#8}\kern\z@\strut
\@@par
\color@endgroup}%
+ \let\iftitlemeasuring\@secondoftwo
\ttl@boxprocess
\global\titlewidth\titlewidth
\global\titlewidthfirst\titlewidthfirst
@@ -72,7 +74,6 @@
\advance\count@
\ifdim\@tempdimb<\the\count@.5\baselineskip\@ne\else\tw@\fi
\dp\ttl@box=\z@
- \if@nobreak\advance\count@\@ne\fi
\xdef\@svsechd##1##2{%
\noexpand\llap{\box\ttl@box##2}%
\setbox\z@\hbox{\hskip\ttl@maxdimen\relax##2}%