From 4e9750715f219d797d201e091dd0917660b68178 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 6 Feb 2012 00:42:14 +0000
Subject: mdframed (5feb12)

git-svn-id: svn://tug.org/texlive/trunk@25299 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/mdframed/mdframed.sty | 42 +++++++++++------------
 1 file changed, 20 insertions(+), 22 deletions(-)

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

diff --git a/Master/texmf-dist/tex/latex/mdframed/mdframed.sty b/Master/texmf-dist/tex/latex/mdframed/mdframed.sty
index 0b54ecc3ea3..a0e56bcaf65 100644
--- a/Master/texmf-dist/tex/latex/mdframed/mdframed.sty
+++ b/Master/texmf-dist/tex/latex/mdframed/mdframed.sty
@@ -48,12 +48,13 @@
 %% >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
 %% ==================================================
 %% 
-\def\mdversion{v1.2a}
+%% CheckSum{5147}
+\def\mdversion{v1.3a}
 \def\mdframedpackagename{mdframed}
 \def\mdf@maindate@svn$#1: #2 #3 #4-#5-#6 #7 #8${#4/#5/#6\space }
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{mdframed}%
-     [\mdf@maindate@svn$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $%
+     [\mdf@maindate@svn$Id: mdframed.dtx 344 2012-02-04 23:50:02Z marco $%
       \mdversion: \mdframedpackagename]
 \newcommand*\mdf@PackageWarning[1]{\PackageWarning{\mdframedpackagename}{#1}}
 \newcommand*\mdf@PackageInfo[1]{\PackageInfo{\mdframedpackagename}{#1}}
@@ -206,6 +207,7 @@
    {frametitlerulewidth==.2pt},
    {frametitleleftmargin==10pt},%
    {frametitlerightmargin==10pt},%
+   {shadowsize==8pt},%
 }
 \mdf@dolist{\mdf@do@stringoption}{%
     {frametitle=={}},%
@@ -220,6 +222,7 @@
     {psroundlinecolor==\mdf@backgroundcolor},%
     {frametitlerulecolor==\mdf@linecolor},
     {frametitlebackgroundcolor==\mdf@backgroundcolor},%
+    {shadowcolor==black!50},%
     {settings=={}},%
     {frametitlesettings=={}},%
     {font=={}},%
@@ -248,6 +251,7 @@
     {footnoteinside==true},%
     {usetwoside==true},%
     {repeatframetitle==false},%Noch nicht richtig implementiert
+    {shadow==false},%
 }
 \mdf@dolist{\mdf@do@alignoption}{%
     {left==\mdf@leftmargin@length==\z@},%
@@ -377,6 +381,7 @@
 
 \newrobustcmd\mdfcreateextratikz{}
 
+
 \def\mdf@lrbox#1{%
 %%patch to work with amsthm
   \mdf@patchamsthm
@@ -384,27 +389,20 @@
   \edef\mdf@restoreparams{%
    \parindent=\the\parindent \parskip=\the\parskip}
   \setbox#1\vbox\bgroup
-   \begingroup
+   \color@begingroup%
     \mdf@horizontalmargin@equation%
-    \color@setgroup%
-    \hsize=\mdf@horizontalspaceofbox%
     \columnwidth=\hsize%
     \textwidth=\hsize%
-    \let\if@nobreak\iffalse
-    \let\if@noskipsec\iffalse
-    \let\par\@@par
-    \let\-\@dischyph
-    \let\'\@acci\let\`\@accii\let\=\@acciii
-    \parindent\z@ \parskip\z@skip
-    \linewidth\hsize
-    \@totalleftmargin\z@
-    \leftskip\z@skip \rightskip\z@skip
-    \parfillskip\@flushglue \lineskip\normallineskip%
-    \baselineskip\normalbaselineskip%
-    \everypar{\mdf@restoreparams}\ignorespaces%
+    \@parboxrestore%
+    \mdf@restoreparams%
+    %SETZE
+    \@afterindentfalse%
+    \@afterheading%
+    %STREICHE
+    %\@doendpe
 }
 
-\def\endmdf@lrbox{\endgroup\unskip\color@endgroup\egroup}
+\def\endmdf@lrbox{\color@endgroup\egroup}
 
 \newrobustcmd*\mdf@ignorevbadness{%
    \edef\mdf@currentvbadness{\the\vbadness}%
@@ -428,9 +426,9 @@
   \itemindent\z@%
   \let\@itemlabel\@empty%
   \def\makelabel##1{##1}%
-  \item\leavevmode\hrule \@height\z@ \@width\linewidth\relax%
+%%  \item\leavevmode\hrule \@height\z@ \@width\linewidth\relax%
 %%  \item\mbox{}\relax% second version
-%%  \item\relax% first Version
+  \item\relax% first Version
 }
 \let\endmdf@trivlist\endtrivlist
 \patchcmd\endmdf@trivlist\@endparenv\mdf@endparenv{}{}
@@ -779,8 +777,8 @@
  \iftoggle{md:checktwoside}{\mdf@zref@label\if@mdf@pageodd}{}%
 }
 \newrobustcmd*\mdf@freepagevspace{%
-     \penalty\@M \vskip 2\baselineskip \vskip\height
-     \penalty9999 \vskip -2\baselineskip \vskip-\height
+     \penalty\@M \vskip 2\baselineskip
+     \penalty9999 \vskip -2\baselineskip
      \penalty9999
      \ifdimequal{\pagegoal}{\maxdimen}%
           {\mdf@freevspace@length\vsize}%
-- 
cgit v1.2.3

