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/mdframed/Makefile166
-rw-r--r--Master/texmf-dist/source/latex/mdframed/mdframed.dtx74
-rw-r--r--Master/texmf-dist/source/latex/mdframed/mdframed.ins98
-rwxr-xr-xMaster/texmf-dist/source/latex/mdframed/mdframedmake.bat32
4 files changed, 335 insertions, 35 deletions
diff --git a/Master/texmf-dist/source/latex/mdframed/Makefile b/Master/texmf-dist/source/latex/mdframed/Makefile
new file mode 100644
index 00000000000..f67d0bf16a6
--- /dev/null
+++ b/Master/texmf-dist/source/latex/mdframed/Makefile
@@ -0,0 +1,166 @@
+################################################################
+## Makefile for mdframed project folder
+## $Id: Makefile 319 2012-01-09 18:38:06Z marco $
+################################################################
+## Definitions
+################################################################
+.SILENT:
+SHELL := /bin/bash
+.PHONY: all clean ctan allwithoutclean
+################################################################
+## Name list
+################################################################
+PACKAGE = mdframed
+EXAMPLED = mdframed-example-default
+EXAMPLET = mdframed-example-tikz
+EXAMPLEP = mdframed-example-pstricks
+EXAMPLESX = mdframed-example-texsx
+EXAMPLLIST= $(EXAMPLED) $(EXAMPLET) $(EXAMPLEP) $(EXAMPLESX)
+FILELIST = $(PACKAGE) $(EXAMPLED) $(EXAMPLET) $(EXAMPLEP) $(EXAMPLESX)
+AUXFILES = aux dtxe glo glolog gls hd ins idx idxlog ilg ind log out ps thm tmp toc
+################################################################
+## Colordefinition
+################################################################
+NO_COLOR = \x1b[0m
+OK_COLOR = \x1b[32;01m
+WARN_COLOR = \x1b[33;01m
+ERROR_COLOR = \x1b[31;01m
+################################################################
+## make help
+################################################################
+help:
+ @echo
+ @echo -e "$(WARN_COLOR)The following definitions provided by this Makefile"
+ @echo -e "$(OK_COLOR)\tmake docsty\t\t--\ttypesets the documenation and the package"
+ @echo -e "$(OK_COLOR)\tmake all\t\t--\trun docsty examples clean"
+ @echo -e "\tmake examples\t\t--\tcompiles all example files"
+ @echo -e "\tmake clean\t\t--\tremove all helpfiles created by mdframed"
+ @echo -e "\tmake changeversion\t--\tmaintaner tool to change the version"
+ @echo -e "$(WARN_COLOR)End help$(NO_COLOR)"
+
+################################################################
+## Compilation
+################################################################
+%.pdf: %.tex
+ NAME=`basename $< .tex` ;\
+ echo -e "" ;\
+ echo -e "\t$(ERROR_COLOR)Typesetting $$NAME$(NO_COLOR)" ;\
+ pdflatex -draftmode -interaction=nonstopmode $< > /dev/null ;\
+ if [ $$? = 0 ] ; then \
+ echo -e "\t$(OK_COLOR)compilation in draftmode without erros$(NO_COLOR)" ;\
+ echo -e "\t$(OK_COLOR)Run PDFLaTeX again on $$NAME.tex$(NO_COLOR)" ;\
+ pdflatex -interaction=nonstopmode $< > /dev/null ;\
+ else \
+ echo -e "\t$(ERROR_COLOR)compilation in draftmode with erros$(NO_COLOR)" ;\
+ exit 0;\
+ fi ;\
+ echo -e "\t$(OK_COLOR)Typesetting $$NAME finished $(NO_COLOR)" ;\
+
+%.ps: %.tex
+ NAME=`basename $< .tex` ;\
+ echo -e "" ;\
+ echo -e "\t$(ERROR_COLOR)Typesetting $$NAME$(NO_COLOR)" ;\
+ latex -draftmode -interaction=nonstopmode $< > /dev/null ;\
+ if [ $$? = 0 ] ; then \
+ echo -e "\t$(OK_COLOR)compilation in draftmode without erros$(NO_COLOR)" ;\
+ echo -e "\t$(OK_COLOR)Run LaTeX again on $$NAME.tex$(NO_COLOR)" ;\
+ latex -interaction=nonstopmode $< > /dev/null ;\
+ dvips -q $$NAME.dvi ;\
+ ps2pdf $$NAME.ps ;\
+ else \
+ echo -e "\t$(ERROR_COLOR)compilation in draftmode with erros$(NO_COLOR)" ;\
+ exit 0;\
+ fi ;\
+ echo -e "\t$(OK_COLOR)Typesetting $$NAME done$(NO_COLOR)" ;\
+################################################################
+## Compilation
+################################################################
+docsty: $(PACKAGE).dtx
+ echo -e "" ;\
+ echo -e "\t$(ERROR_COLOR)Typesetting $(PACKAGE).dtx$(NO_COLOR)" ;\
+ pdflatex -draftmode -interaction=nonstopmode $(PACKAGE).dtx > /dev/null ;\
+ if [ $$? = 0 ] ; then \
+ echo -e "\t$(OK_COLOR)compilation in draftmode without erros$(NO_COLOR)" ;\
+ makeindex -q -t $(PACKAGE).glolog -s gglo.ist -o $(PACKAGE).gls $(PACKAGE).glo ;\
+ if [ $$? = 0 ] ; then \
+ echo -e "\t$(OK_COLOR)compilation of Glossar without errors$(NO_COLOR)" ;\
+ fi ;\
+ makeindex -q -t $(PACKAGE).idxlog -s gind.ist $(PACKAGE).idx ;\
+ if [ $$? = 0 ] ; then \
+ echo -e "\t$(OK_COLOR)compilation of Index without errors$(NO_COLOR)" ;\
+ fi ;\
+ pdflatex $(PACKAGE).dtx > /dev/null ;\
+ if [ $$? = 0 ] ; then \
+ echo -e "\t$(OK_COLOR)Second pdflatex compilation without erros$(NO_COLOR)" ;\
+ else \
+ echo -e "\t$(ERROR_COLOR)Second pdflatex compilation with erros$(NO_COLOR)" ;\
+ exit 0;\
+ fi ;\
+ pdflatex $(PACKAGE).dtx > /dev/null ;\
+ else \
+ echo -e "\t$(ERROR_COLOR)compilation in draftmode with erros$(NO_COLOR)" ;\
+ exit 0;\
+ fi ;\
+
+examples: $(EXAMPLED).pdf $(EXAMPLET).pdf $(EXAMPLEP).ps $(EXAMPLESX).pdf
+
+exampled: $(EXAMPLED).pdf
+examplet: $(EXAMPLET).pdf
+examplep: $(EXAMPLEP).ps
+examplesx:$(EXAMPLESX).pdf
+
+clean:
+ echo "" ;\
+ echo -e "\t$(ERROR_COLOR)Start removing help files$(NO_COLOR)" ;\
+ for I in $(FILELIST) ;\
+ do \
+ for J in $(AUXFILES) ;\
+ do \
+ rm -rf $$I.$$J ;\
+ done ;\
+ done ;\
+ echo -e "\t$(OK_COLOR)Removing finished$(NO_COLOR)" ;\
+
+all: docsty examples clean
+
+
+################################################################
+## maintaner tool
+################################################################
+changeversion:
+ @echo
+ @echo -e "$(OK_COLOR)Aktuell wird die folgende Version verwendet"
+ @sed '/\\def\\mdversion/!d' $(PACKAGE).sty
+ @echo -e "$(WARN_COLOR)"
+ @read -p "Bitte neue Version eingeben: " REPLY && sed -rie "s/(\\\\def\\\\mdversion\{).*(})/\1$$REPLY\2/" $(PACKAGE).dtx&&\
+ echo -e "$(OK_COLOR)Version geƤndert zu $$REPLY$(NO_COLOR)"
+ @echo
+
+usectanify:
+ echo "" ;\
+ echo -e "\t$(ERROR_COLOR)Start ctanify$(NO_COLOR)" ;\
+ ctanify $(PACKAGE).ins $(PACKAGE).pdf README.txt ltxmdf.cls \
+ donald-duck.jpg=doc/latex/mdframed/ \
+ $(EXAMPLED).tex=doc/latex/mdframed/ \
+ $(EXAMPLED).pdf=doc/latex/mdframed/ \
+ $(EXAMPLET).tex=doc/latex/mdframed/ \
+ $(EXAMPLET).pdf=doc/latex/mdframed/ \
+ $(EXAMPLEP).tex=doc/latex/mdframed/ \
+ $(EXAMPLEP).pdf=doc/latex/mdframed/ \
+ $(EXAMPLESX).tex=doc/latex/mdframed/ \
+ $(EXAMPLESX).pdf=doc/latex/mdframed/ \
+ Makefile=source/latex/mdframed/ \
+ mdframedmake.bat=source/latex/mdframed/ \
+ md-frame-0.mdf=tex/latex/mdframed/ \
+ md-frame-1.mdf=tex/latex/mdframed/ \
+ md-frame-2.mdf=tex/latex/mdframed/ \
+ md-frame-3.mdf=tex/latex/mdframed/ ;\
+ if [ $$? = 0 ] ; then \
+ echo -e "\t$(OK_COLOR)ctanify without errors$(NO_COLOR)" ;\
+ echo -e "" ;\
+ else \
+ echo -e "\t$(ERROR_COLOR)ctanify with erros$(NO_COLOR)" ;\
+ exit 0;\
+ fi ;\
+
+ctan: docsty examples usectanify clean
diff --git a/Master/texmf-dist/source/latex/mdframed/mdframed.dtx b/Master/texmf-dist/source/latex/mdframed/mdframed.dtx
index 53b1a72ab32..915c3c116ab 100644
--- a/Master/texmf-dist/source/latex/mdframed/mdframed.dtx
+++ b/Master/texmf-dist/source/latex/mdframed/mdframed.dtx
@@ -153,13 +153,13 @@ Have fun!
\endpostamble
\usedir{tex/latex/mdframed}
\generate{\file{mdframed.sty}{\from{mdframed.dtx}{package}}}
-\nopreamble\nopostamble
+\nopreamble\nopostamble\usedir{tex/latex/mdframed}
\generate{\file{md-frame-0.mdf}{\from{mdframed.dtx}{mdframedefault}}}
-\nopreamble\nopostamble
+\nopreamble\nopostamble\usedir{tex/latex/mdframed}
\generate{\file{md-frame-1.mdf}{\from{mdframed.dtx}{mdframetikz}}}
-\nopreamble\nopostamble
+\nopreamble\nopostamble\usedir{tex/latex/mdframed}
\generate{\file{md-frame-2.mdf}{\from{mdframed.dtx}{mdframepstricks}}}
-\nopreamble\nopostamble
+\nopreamble\nopostamble\usedir{tex/latex/mdframed}
\generate{\file{md-frame-3.mdf}{\from{mdframed.dtx}{mdframepstricks}}}
\Msg{*********************************************************}
\Msg{*}
@@ -168,13 +168,16 @@ Have fun!
\Msg{*}
\Msg{* \space\space documentation.sty}
\Msg{*}
-\Msg{* To produce the documentation run the file documentation.dtx}
+\Msg{* To produce the documentation run the file mdframed.dtx}
\Msg{* once through LaTeX. Then, run}
\Msg{*}
\Msg{* \space\space makeindex -s gglo.ist -o mdframed.gls mdframed.glo}
\Msg{* \space\space makeindex -s gind.ist mdframed.idx}
\Msg{*}
-\Msg{* through makeIndex to produce the glossary. Finally, run LaTeX once again.}
+\Msg{* through makeIndex to produce the glossary. Finally, run PdfLaTeX once again.}
+\Msg{*}
+\Msg{* To create the examples run (pdf)latex on the tex-files.}
+\Msg{*}
\Msg{* That's all!}
\Msg{*}
\Msg{* Happy TeXing!}
@@ -184,16 +187,16 @@ Have fun!
%<*internal>
\usedir{source/latex/mdframed}
\generate{\file{mdframed.ins}{\from{mdframed.dtx}{install}}}
-\nopreamble\nopostamble
-\usedir{doc/latex/mdframed}
+
+\nopreamble\nopostamble\usedir{doc/latex/mdframed}
\generate{\file{README.txt}{\from{mdframed.dtx}{readme}}}
-\nopreamble\nopostamble
+\nopreamble\nopostamble\usedir{source/latex/mdframed}
\generate{\file{mdframed-example-default.tex}{\from{mdframed.dtx}{mdframed-example-default}}}
-\nopreamble\nopostamble
+\nopreamble\nopostamble\usedir{source/latex/mdframed}
\generate{\file{mdframed-example-tikz.tex}{\from{mdframed.dtx}{mdframed-example-tikz}}}
-\nopreamble\nopostamble
+\nopreamble\nopostamble\usedir{source/latex/mdframed}
\generate{\file{mdframed-example-pstricks.tex}{\from{mdframed.dtx}{mdframed-example-pstricks}}}
-\nopreamble\nopostamble
+\nopreamble\nopostamble\usedir{source/latex/mdframed}
\generate{\file{mdframed-example-texsx.tex}{\from{mdframed.dtx}{mdframed-example-texsx}}}
\ifx\fmtname\nameofplainTeX
@@ -203,11 +206,11 @@ Have fun!
\fi
%</internal>
%<*driver>
-%%$Id: mdframed.dtx 312 2012-01-08 12:43:36Z marco $
+%%$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
\setcounter{errorcontextlines}{999}
\documentclass[parskip=false,11pt,]{ltxmdf}
\usepackage[framemethod=TikZ]{mdframed}
-\ltxmdfsetifoot$Id: mdframed.dtx 312 2012-01-08 12:43:36Z marco $
+\ltxmdfsetifoot$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
\EnableCrossrefs
\CodelineIndex
@@ -218,7 +221,7 @@ Have fun!
%</driver>
% \fi
%
-% CheckSum{3517}
+% \CheckSum{5128}
%
% \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
@@ -1535,14 +1538,14 @@ Have fun!
%
% \subsection{The Explanation of mdframed.sty}
%
-% %$Id: mdframed.dtx 312 2012-01-08 12:43:36Z marco $
-% %$Rev: 312 $
+% %$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
+% %$Rev: 320 $
% %$Author: marco $
-% %$Date: 2012-01-08 13:43:36 +0100 (So, 08. Jan 2012) $
+% %$Date: 2012-01-09 19:44:33 +0100 (Mo, 09. Jan 2012) $
% \begin{macro}{mdversion,mdframedpackagename,mdf@maindate@svn}
% Set package information
% \begin{macrocode}
-\def\mdversion{v1.2}
+\def\mdversion{v1.2a}
\def\mdframedpackagename{mdframed}
\def\mdf@maindate@svn$#1: #2 #3 #4-#5-#6 #7 #8${#4/#5/#6\space }
% \end{macrocode}
@@ -1551,7 +1554,7 @@ Have fun!
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mdframed}%
- [\mdf@maindate@svn$Id: mdframed.dtx 312 2012-01-08 12:43:36Z marco $%
+ [\mdf@maindate@svn$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $%
\mdversion: \mdframedpackagename]
% \end{macrocode}
%
@@ -2616,7 +2619,7 @@ Have fun!
% \end{macrocode}
% \end{macro}
%
-%
+% \changes{v1.2a}{2012/01/09}{take account of \protect\Cmd{parskip} for the vertical calculation}
% \begin{macro}{mdf@freepagevspace}
% \begin{macrocode}
\newrobustcmd*\mdf@freepagevspace{%
@@ -2627,6 +2630,7 @@ Have fun!
{\mdf@freevspace@length\vsize}%
{\mdf@freevspace@length=\pagegoal\relax%
\advance\mdf@freevspace@length by -\pagetotal\relax%
+ \addtolength\mdf@freevspace@length{\dimexpr-\parskip\relax}\relax%
}%
}
% \end{macrocode}
@@ -3081,7 +3085,7 @@ Have fun!
%% Public License, as described in lppl.txt in the base LaTeX distribution.
%% Either version 1.0 or, at your option, any later version.
-%%$Id: mdframed.dtx 312 2012-01-08 12:43:36Z marco $
+%%$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
%
% \end{macrocode}
%
@@ -3091,7 +3095,7 @@ Have fun!
\def\mdframedOpackagename{md-frame-0}
\def\mdf@frameOdate@svn$#1: #2 #3 #4-#5-#6 #7 #8${#4/#5/#6\space }
\ProvidesFile{md-frame-0.mdf}%
- [\mdf@frameOdate@svn$Id: mdframed.dtx 312 2012-01-08 12:43:36Z marco $%
+ [\mdf@frameOdate@svn$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $%
\mdversion: \mdframedOpackagename]
% \end{macrocode}
% \end{macro}
@@ -3513,7 +3517,7 @@ Have fun!
%% Public License, as described in lppl.txt in the base LaTeX distribution.
%% Either version 1.0 or, at your option, any later version.
-%%$Id: mdframed.dtx 312 2012-01-08 12:43:36Z marco $
+%%$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
%
% \end{macrocode}
% \changes{v1.1beta}{2011/12/16}{added lost semicolons}
@@ -3523,7 +3527,7 @@ Have fun!
\def\mdframedIpackagename{md-frame-1}
\def\mdf@frameIdate@svn$#1: #2 #3 #4-#5-#6 #7 #8${#4/#5/#6\space }
\ProvidesFile{md-frame-1.mdf}%
- [\mdf@frameIdate@svn$Id: mdframed.dtx 312 2012-01-08 12:43:36Z marco $ %
+ [\mdf@frameIdate@svn$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $ %
\mdversion: \mdframedIpackagename]
%
% \end{macrocode}
@@ -4187,7 +4191,7 @@ Have fun!
%% Public License, as described in lppl.txt in the base LaTeX distribution.
%% Either version 1.0 or, at your option, any later version.
-%%$Id: mdframed.dtx 312 2012-01-08 12:43:36Z marco $
+%%$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
%
% \end{macrocode}
%
@@ -4197,7 +4201,7 @@ Have fun!
\def\mdframedIIpackagename{md-frame-2}
\def\mdf@frameIIdate@svn$#1: #2 #3 #4-#5-#6 #7 #8${#4/#5/#6\space }
\ProvidesFile{md-frame-2.mdf}%
- [\mdf@frameIIdate@svn$Id: mdframed.dtx 312 2012-01-08 12:43:36Z marco $ %
+ [\mdf@frameIIdate@svn$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $ %
\mdversion: \mdframedIIpackagename]
% \end{macrocode}
% \end{macro}
@@ -4881,10 +4885,10 @@ Have fun!
%
% \begin{macrocode}
%Documenation of the package mdframed
-%%$Id: mdframed.dtx 312 2012-01-08 12:43:36Z marco $
+%%$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
\setcounter{errorcontextlines}{999}
\documentclass[parskip=false,english,11pt]{ltxmdf}
-\ltxmdfsetifoot $Id: mdframed.dtx 312 2012-01-08 12:43:36Z marco $
+\ltxmdfsetifoot $Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
\usepackage{showexpl}
\lstset{style=lstltxmdf,explpreset={pos=b,rframe={}},}
@@ -5097,10 +5101,10 @@ The example below is inspired by the following post on StackExchange \href{http:
%
% \begin{macrocode}
%Documenation of the package mdframed
-%%$Id: mdframed.dtx 312 2012-01-08 12:43:36Z marco $
+%%$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
\setcounter{errorcontextlines}{999}
\documentclass[parskip=false,english,11pt]{ltxmdf}
-\ltxmdfsetifoot $Id: mdframed.dtx 312 2012-01-08 12:43:36Z marco $
+\ltxmdfsetifoot $Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
\usepackage{showexpl}
\lstset{style=lstltxmdf,explpreset={pos=b,rframe={}},}
@@ -5349,10 +5353,10 @@ color(100bp)=(black!5)}
%
% \begin{macrocode}
%Documenation of the package mdframed
-%%$Id: mdframed.dtx 312 2012-01-08 12:43:36Z marco $
+%%$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
\setcounter{errorcontextlines}{999}
\documentclass[parskip=false,english,11pt]{ltxmdf}
-\ltxmdfsetifoot$Id: mdframed.dtx 312 2012-01-08 12:43:36Z marco $
+\ltxmdfsetifoot$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
\lstDeleteShortInline{|}
\newcommand\Loadedframemethod{PSTricks}
@@ -5477,10 +5481,10 @@ function of the independent variables alone.
% \begin{macrocode}
%Documenation of the package mdframed
-%%$Id: mdframed.dtx 312 2012-01-08 12:43:36Z marco $
+%%$Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
\setcounter{errorcontextlines}{999}
\documentclass[parskip=false,english,11pt,ltxlipsum]{ltxmdf}
-\ltxmdfsetifoot $Id: mdframed.dtx 312 2012-01-08 12:43:36Z marco $
+\ltxmdfsetifoot $Id: mdframed.dtx 320 2012-01-09 18:44:33Z marco $
\usepackage{showexpl}
\lstset{style=lstltxmdf,explpreset={pos=b,rframe={}},}
diff --git a/Master/texmf-dist/source/latex/mdframed/mdframed.ins b/Master/texmf-dist/source/latex/mdframed/mdframed.ins
new file mode 100644
index 00000000000..a33cfa88416
--- /dev/null
+++ b/Master/texmf-dist/source/latex/mdframed/mdframed.ins
@@ -0,0 +1,98 @@
+\input docstrip.tex
+\keepsilent
+\askforoverwritefalse
+\preamble
+----------------------------------------------------------------
+Working with the command fbox or fcolorbox, one has to
+handle page breaks by hand. The present package defines the
+environment mdframed which automatically deals with page breaks.
+
+Author's name: Marco Daniel and Elke Schubert (!new)
+License type: lppl
+
+==================================================
+========Is based on the idea of framed.sty========
+==================================================
+===== Currently the package has a beta-Status ====
+==================================================
+ WITH THANKS TO (alphabetically):
+ ROLF NIEPRASCHK
+ HEIKO OBERDIEK
+ HERBERT VOSS
+
+ Copyright (c) 2010 Marco Daniel
+
+ This package may be distributed under the terms of the LaTeX Project
+ Public License, as described in lppl.txt in the base LaTeX distribution.
+ Either version 1.0 or, at your option, any later version.
+
+=================================================
+ Erstellung eines Rahmens, der am Seitenende keine
+ horizontale Linie einfuegt
+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
+ _______________
+ | page 1 |
+ | Text |
+ | __Text__ |
+ | | Text | |
+ P A G E B R E A K
+ | | Text | |
+ | |_Text_| |
+ | Text |
+ |____page 2___|
+
+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
+==================================================
+
+\endpreamble
+\postamble
+
+================================================================
+Copyright (C) 2011 by Marco Daniel
+
+This work may be distributed and/or modified under the
+conditions of the LaTeX Project Public License (LPPL), either
+version 1.3c of this license or (at your option) any later
+version. The latest version of this license is in the file:
+
+http://www.latex-project.org/lppl.txt
+
+This work is "maintained" (as per LPPL maintenance status) by
+Marco Daniel.
+
+Have fun!
+
+================================================================
+\endpostamble
+\usedir{tex/latex/mdframed}
+\generate{\file{mdframed.sty}{\from{mdframed.dtx}{package}}}
+\nopreamble\nopostamble\usedir{tex/latex/mdframed}
+\generate{\file{md-frame-0.mdf}{\from{mdframed.dtx}{mdframedefault}}}
+\nopreamble\nopostamble\usedir{tex/latex/mdframed}
+\generate{\file{md-frame-1.mdf}{\from{mdframed.dtx}{mdframetikz}}}
+\nopreamble\nopostamble\usedir{tex/latex/mdframed}
+\generate{\file{md-frame-2.mdf}{\from{mdframed.dtx}{mdframepstricks}}}
+\nopreamble\nopostamble\usedir{tex/latex/mdframed}
+\generate{\file{md-frame-3.mdf}{\from{mdframed.dtx}{mdframepstricks}}}
+\Msg{*********************************************************}
+\Msg{*}
+\Msg{* To finish the installation you have to move the}
+\Msg{* following file into a directory searched by TeX:}
+\Msg{*}
+\Msg{* \space\space documentation.sty}
+\Msg{*}
+\Msg{* To produce the documentation run the file mdframed.dtx}
+\Msg{* once through LaTeX. Then, run}
+\Msg{*}
+\Msg{* \space\space makeindex -s gglo.ist -o mdframed.gls mdframed.glo}
+\Msg{* \space\space makeindex -s gind.ist mdframed.idx}
+\Msg{*}
+\Msg{* through makeIndex to produce the glossary. Finally, run PdfLaTeX once again.}
+\Msg{*}
+\Msg{* To create the examples run (pdf)latex on the tex-files.}
+\Msg{*}
+\Msg{* That's all!}
+\Msg{*}
+\Msg{* Happy TeXing!}
+\Msg{*********************************************************}
+\endbatchfile
diff --git a/Master/texmf-dist/source/latex/mdframed/mdframedmake.bat b/Master/texmf-dist/source/latex/mdframed/mdframedmake.bat
new file mode 100755
index 00000000000..879b622ced2
--- /dev/null
+++ b/Master/texmf-dist/source/latex/mdframed/mdframedmake.bat
@@ -0,0 +1,32 @@
+::################################################################
+::## Makefile for mdframed project folder (WINDOWS)
+::## $Id: mdframedmake.bat 315 2012-01-08 12:53:05Z marco $
+::################################################################
+title Entpacken mdframed.dtx unter windows
+@echo off
+::
+pdflatex mdframed.dtx
+makeindex -s gglo.ist -o mdframed.gls mdframed.glo
+makeindex -s gind.ist mdframed.idx
+pdflatex mdframed.dtx
+pdflatex mdframed.dtx
+::
+pdflatex mdframed-example-default.tex
+pdflatex mdframed-example-default.tex
+::
+pdflatex mdframed-example-tikz.tex
+pdflatex mdframed-example-tikz.tex
+::
+latex mdframed-example-pstricks.tex
+latex mdframed-example-pstricks.tex
+dvips mdframed-example-pstricks.dvi
+call ps2pdf mdframed-example-pstricks.ps
+::
+pdflatex mdframed-example-texsx.tex
+pdflatex mdframed-example-texsx.tex
+::
+for %%I in (aux glo hd idx dvi log out ps syntex.gz thm tmp toc) do (
+ for %%J in (default tikz pstricks texsx) do (del mdframed-example-%%J.%%I)
+)
+::
+for %%I in (aux dtxe glo gls hd idx ilg ind ins log out thm toc) do (del mdframed.%%I)