From dff4dbf8de3762428b08cd3164f27a2e6bd7ab4c Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Fri, 22 May 2009 23:38:09 +0000
Subject: ragged2e 2.1, part of ms (21may09)

git-svn-id: svn://tug.org/texlive/trunk@13392 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/ms/ragged2e.sty | 52 +++++++++++++++++------------
 1 file changed, 31 insertions(+), 21 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/ms/ragged2e.sty')

diff --git a/Master/texmf-dist/tex/latex/ms/ragged2e.sty b/Master/texmf-dist/tex/latex/ms/ragged2e.sty
index a6a17006198..03d941856f3 100644
--- a/Master/texmf-dist/tex/latex/ms/ragged2e.sty
+++ b/Master/texmf-dist/tex/latex/ms/ragged2e.sty
@@ -6,30 +6,36 @@
 %%
 %% ragged2e.dtx  (with options: `package')
 %% 
-%% Copyright (C) [1996..2003] by Martin Schroeder. All rights reserved.
+%% Copyright 1996..2009 Martin Schroeder.
 %% 
 %% This file is part of the Ragged2e package
 %% -----------------------------------------
 %% 
-%% This program may be redistributed and/or modified under the terms
-%% of the LaTeX Project Public License, either version 1.0 of this
-%% license, or (at your option) any later version.
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
 %% The latest version of this license is in
-%%    CTAN:macros/latex/base/lppl.txt.
+%%   http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
 %% 
-%% The Ragged2e package contains these files:
-%%   ragged2e.dtx
-%%   ragged2e.ins
+%% This work has the LPPL maintenance status `maintained'.
+%% 
+%% The Current Maintainer of this work is Martin Schroeder.
+%% 
+%% This work consists of the files ragged2e.dtx and ragged2e.ins
+%% and the derived file ragged2e.sty.
 %% 
 %%                         Martin Schroeder
-%%                         Cruesemannallee 3
-%%                         28213 Bremen
+%%                         Barmer Strasse 14
+%%                         44137 Dortmund
 %%                         Germany
 %%                         martin@oneiros.de
 %% 
 \NeedsTeXFormat{LaTeX2e}[1996/10/24]
 \ProvidesPackage{ragged2e}
-         [2003/03/25 v2.04 ragged2e Package (MS)]
+         [2009/05/21 v2.1 ragged2e Package (MS)]
+%% Copyright 1996..2009 by Martin Schr\"oder.
 %% \CharacterTable
 %% {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
 %%  Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -50,14 +56,14 @@
 %% ===================================================================
 %%  @LaTeX-style-file{
 %%     author          = {Martin Schr\"oder},
-%%     version         = "2.04",
-%%     date            = "25 March 2003",
+%%     version         = "2.1",
+%%     date            = "21 May 2009",
 %%     filename        = "ragged2e.sty",
 %%     address         = {Martin Schr\"oder
-%%                        Cr\"usemannallee 3
-%%                        28213 Bremen
+%%                        Barmer Stra\"se 14
+%%                        44137 Dortmund
 %%                        Germany}
-%%     telephone       = "+49-421-2239425",
+%%     telephone       = "+49-231-1206574",
 %%     email           = "martin@oneiros.de",
 %%     docstring       = "LaTeX package which defines new commands
 %%                        \Centering, \RaggedLeft, \RaggedRight and
@@ -120,7 +126,7 @@
 \newcommand{\@raggedtwoe@abdhook}{%
   \PackageInfo{ragged2e}{ABD: executing \string\RaggedRight}%
   \RaggedRight
-  \edef\@tocrmarg{\@tocrmarg plus 2em}%
+  \@ifundefined{@tocrmarg}{}{\edef\@tocrmarg{\@tocrmarg plus 2em}}%
   \let\@raggedtwoe@abdhook\relax
   }
 \newcommand{\@raggedtwoe@document@opt}{%
@@ -142,7 +148,7 @@
 \ProcessOptions\relax
 \RequirePackage{everysel}
 \if@raggedtwoe@footmisc
-  \AtEndOfPackage{\RequirePackage{footmisc}[2002/08/28]}
+  \RequirePackage{footmisc}[2002/08/28]
 \fi
 \newlength{\CenteringLeftskip}
 \newlength{\RaggedLeftLeftskip}
@@ -207,7 +213,11 @@
     \@nolnerr
   \else
     \unskip
-    \reserved@e {\reserved@f #1}{\parskip\z@\par}%
+    \ifmmode
+      \reserved@e {\reserved@f #1}\nobreak \hfil \break
+    \else
+      \reserved@e {\reserved@f #1}{\parskip\z@\par}%
+    \fi
   \fi
   }
 \newcommand{\Centering}{%
@@ -300,8 +310,8 @@
    \let\endLaTeXflushright\endflushright
    \let\center\Center
    \let\endcenter\endCenter
-   \let\flushleft\Flushleft
-   \let\endflushleft\endFlushleft
+   \let\flushleft\FlushLeft
+   \let\endflushleft\endFlushLeft
    \let\flushright\FlushRight
    \let\endflushright\endFlushRight
 \fi
-- 
cgit v1.2.3

