diff options
author | Karl Berry <karl@freefriends.org> | 2011-10-04 23:12:01 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-10-04 23:12:01 +0000 |
commit | 60cb5ab4c8a6403a6c279cd27abcc1ef0b56f359 (patch) | |
tree | a537ea8336a80394cb59e879e915e356e5700acf /Master/texmf-dist | |
parent | 3e6694983cdb2f97b46861c31b37858a33c8bf93 (diff) |
mdframed 0.9f (4oct11)
git-svn-id: svn://tug.org/texlive/trunk@24195 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/mdframed/README | 14 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/mdframed/mdframed-doc-en.pdf | bin | 142805 -> 143131 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/mdframed/mdframed-doc-en.tex | 18 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mdframed/md-frame-0.mdf | 9 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mdframed/md-frame-1.mdf | 9 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mdframed/md-frame-3.mdf | 9 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mdframed/mdframed.sty | 36 |
7 files changed, 59 insertions, 36 deletions
diff --git a/Master/texmf-dist/doc/latex/mdframed/README b/Master/texmf-dist/doc/latex/mdframed/README index 4ba5eac5f01..0642e0e369c 100644 --- a/Master/texmf-dist/doc/latex/mdframed/README +++ b/Master/texmf-dist/doc/latex/mdframed/README @@ -1,7 +1,4 @@ -%%$Id: README 198 2011-09-11 10:50:44Z marco $ -%%$Rev: 198 $ -%%$Author: marco $ -%%$Date: 2011-09-11 12:50:44 +0200 (So, 11. Sep 2011) $ +%%$Id: README 201 2011-10-04 18:57:50Z marco $ The standard methods for framing text (\fbox or \fcolorbox) require you to handle page breaks by hand, meaning that you @@ -10,11 +7,12 @@ defines the environment \mdfamed which automatically deals with pagebreaks in framed text. -Author's name: Marco Daniel and Elke Schubert (!new) +Author's name: Marco Daniel and Elke Schubert (tikz) License type: lppl ---------------------------- -v0.9e -- working with twoside modus - +v0.9f +- fixes bugs (thanks to Lars Madsen) +- added option hidealllines +- fixed documentation diff --git a/Master/texmf-dist/doc/latex/mdframed/mdframed-doc-en.pdf b/Master/texmf-dist/doc/latex/mdframed/mdframed-doc-en.pdf Binary files differindex 16a9edba958..29d3c8d605d 100644 --- a/Master/texmf-dist/doc/latex/mdframed/mdframed-doc-en.pdf +++ b/Master/texmf-dist/doc/latex/mdframed/mdframed-doc-en.pdf diff --git a/Master/texmf-dist/doc/latex/mdframed/mdframed-doc-en.tex b/Master/texmf-dist/doc/latex/mdframed/mdframed-doc-en.tex index 3795a2c3d27..94cefa6bd27 100644 --- a/Master/texmf-dist/doc/latex/mdframed/mdframed-doc-en.tex +++ b/Master/texmf-dist/doc/latex/mdframed/mdframed-doc-en.tex @@ -1,6 +1,6 @@ %Documenation of the package mdframed -%%$Id: mdframed-doc-en.tex 198 2011-09-11 10:50:44Z marco $ -%%$Rev: 198 $ +%%$Id: mdframed-doc-en.tex 201 2011-10-04 18:57:50Z marco $ +%%$Rev: 201 $ %%$Author: marco $ %%$Dater:$ %% [latex -> ps -> pdf] @@ -8,7 +8,7 @@ \documentclass[english,11pt,]{scrartcl} %\usepackage{showframe} \usepackage[nofancy,draft,notoday]{svninfo} -\svnInfo $Id: mdframed-doc-en.tex 198 2011-09-11 10:50:44Z marco $ +\svnInfo $Id: mdframed-doc-en.tex 201 2011-10-04 18:57:50Z marco $ \usepackage{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} @@ -495,10 +495,10 @@ the second one is a number (e.g. 2) which will be multiplied by \mdoption{1 defa With this option you set the values \mdcommand{theorempreskipamount} and\newline \mdcommand{theorempostskipamount} to 0pt. -\mdDescribeMacro[false]{nobreak} Sometimes it is useful to prevent a frame from splitting. The \mdoption{nobreak} option is used for this purpose. +\mdDescribeMacro[false]{nobreak} Sometimes it is useful to prevent a frame from splitting. The \mdoption{nobreak} option is used for this purpose. If you activate this option you can enable it by setting \mdoption{nobreak=false}. -\mdDescribeMacro[0pt]{needspace} Sometimes it is useful to set a minimum height befor a frame should be splittet. For such cases you can use \mdoption{needspace}. +\mdDescribeMacro[0pt]{needspace} Sometimes it is useful to set a minimum height befor a frame should be splitted. For such cases you can use \mdoption{needspace}. The option requires a length which sets the minimum height befor a frame will be splitted. \mdDescribeMacro{style} If you define a special style with \mdcommand{mdfdefinstyle} you can use the key \mdoption{style} to load the style. \mdname has no predefined styles. @@ -944,6 +944,14 @@ Text\par Text\par Text \twocolumn[\subsection{Revision history}\label{rev}] \setkomafont{subsubsection}{\normalfont\bfseries} \small\raggedright +\minisec{Version 0.9d submitted 04 Oct 2011} +\begin{itemize} +\item fixes bugs (thanks to Lars Madsen) +\item added option \mdoption{hidealllines} +\item fixed documentation +\end{itemize} + + \minisec{Version 0.9e submitted 11 Sep 2011} \begin{itemize} \item working with \texttt{twoside} modus diff --git a/Master/texmf-dist/tex/latex/mdframed/md-frame-0.mdf b/Master/texmf-dist/tex/latex/mdframed/md-frame-0.mdf index 5ffb6ee0715..fa8693bfa0e 100644 --- a/Master/texmf-dist/tex/latex/mdframed/md-frame-0.mdf +++ b/Master/texmf-dist/tex/latex/mdframed/md-frame-0.mdf @@ -8,13 +8,14 @@ %% Public License, as described in lppl.txt in the base LaTeX distribution. %% Either version 1.0 or, at your option, any later version. -%%$Id: md-frame-0.mdf 195 2011-09-10 17:58:51Z marco $ -%%$Rev: 195 $ +%%$Id: md-frame-0.mdf 201 2011-10-04 18:57:50Z marco $ +%%$Rev: 201 $ %%$Author: marco $ -%%$Date: 2011-09-10 19:58:51 +0200 (Sa, 10. Sep 2011) $ +%%$Date: 2011-10-04 20:57:50 +0200 (Di, 04. Okt 2011) $ + \def\mdframedOpackagename{md-frame-0} \def\md@frameOdate@svn$#1: #2 #3 #4-#5-#6 #7 #8${#4/#5/#6\space } -\ProvidesFile{md-frame-0.mdf}[\md@frameOdate@svn$Id: md-frame-0.mdf 195 2011-09-10 17:58:51Z marco $ \mdversion: \mdframedOpackagename] +\ProvidesFile{md-frame-0.mdf}[\md@frameOdate@svn$Id: md-frame-0.mdf 201 2011-10-04 18:57:50Z marco $ \mdversion: \mdframedOpackagename] %%==================================================%% %%================single-box========================%% %%==================================================%% diff --git a/Master/texmf-dist/tex/latex/mdframed/md-frame-1.mdf b/Master/texmf-dist/tex/latex/mdframed/md-frame-1.mdf index df655bf6e31..9edb1aab92a 100644 --- a/Master/texmf-dist/tex/latex/mdframed/md-frame-1.mdf +++ b/Master/texmf-dist/tex/latex/mdframed/md-frame-1.mdf @@ -8,13 +8,14 @@ %% Public License, as described in lppl.txt in the base LaTeX distribution. %% Either version 1.0 or, at your option, any later version. -%%$Id: md-frame-1.mdf 195 2011-09-10 17:58:51Z marco $ -%%$Rev: 195 $ +%%$Id: md-frame-1.mdf 201 2011-10-04 18:57:50Z marco $ +%%$Rev: 201 $ %%$Author: marco $ -%%$Date: 2011-09-10 19:58:51 +0200 (Sa, 10. Sep 2011) $ +%%$Date: 2011-10-04 20:57:50 +0200 (Di, 04. Okt 2011) $ + \def\mdframedIpackagename{md-frame-1} \def\md@frameIdate@svn$#1: #2 #3 #4-#5-#6 #7 #8${#4/#5/#6\space } -\ProvidesFile{md-frame-1.mdf}[\md@frameIdate@svn$Id: md-frame-1.mdf 195 2011-09-10 17:58:51Z marco $ \mdversion: \mdframedIpackagename] +\ProvidesFile{md-frame-1.mdf}[\md@frameIdate@svn$Id: md-frame-1.mdf 201 2011-10-04 18:57:50Z marco $ \mdversion: \mdframedIpackagename] %%%% _____t_____ %%%% | | %%%% | | diff --git a/Master/texmf-dist/tex/latex/mdframed/md-frame-3.mdf b/Master/texmf-dist/tex/latex/mdframed/md-frame-3.mdf index 6c930751914..9f8ee185161 100644 --- a/Master/texmf-dist/tex/latex/mdframed/md-frame-3.mdf +++ b/Master/texmf-dist/tex/latex/mdframed/md-frame-3.mdf @@ -7,17 +7,16 @@ %% 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. - -%%$Id: md-frame-3.mdf 195 2011-09-10 17:58:51Z marco $ -%%$Rev: 195 $ +%%$Id: md-frame-3.mdf 201 2011-10-04 18:57:50Z marco $ +%%$Rev: 201 $ %%$Author: marco $ -%%$Date: 2011-09-10 19:58:51 +0200 (Sa, 10. Sep 2011) $ +%%$Date: 2011-10-04 20:57:50 +0200 (Di, 04. Okt 2011) $ %%Allgemeine Einstellungen fuer pstricks %%Hier nur einfacher Rahmen mit Einstellungen \def\mdframedIIIpackagename{md-frame-3} \def\md@frameIIIdate@svn$#1: #2 #3 #4-#5-#6 #7 #8${#4/#5/#6\space } -\ProvidesFile{md-frame-3.mdf}[\md@frameIIIdate@svn$Id: md-frame-3.mdf 195 2011-09-10 17:58:51Z marco $ \mdversion: \mdframedIIIpackagename] +\ProvidesFile{md-frame-3.mdf}[\md@frameIIIdate@svn$Id: md-frame-3.mdf 201 2011-10-04 18:57:50Z marco $ \mdversion: \mdframedIIIpackagename] % \def\md@ptlength@to@pscode#1{\pst@number{#1} \pst@number\psxunit div} \let\ptTps\md@ptlength@to@pscode\relax diff --git a/Master/texmf-dist/tex/latex/mdframed/mdframed.sty b/Master/texmf-dist/tex/latex/mdframed/mdframed.sty index 085743f886a..e923466e5d7 100644 --- a/Master/texmf-dist/tex/latex/mdframed/mdframed.sty +++ b/Master/texmf-dist/tex/latex/mdframed/mdframed.sty @@ -32,17 +32,17 @@ %% %% %%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>%% -%%$Id: mdframed.sty 198 2011-09-11 10:50:44Z marco $ -%%$Rev: 198 $ +%%$Id: mdframed.sty 201 2011-10-04 18:57:50Z marco $ +%%$Rev: 201 $ %%$Author: marco $ -%%$Date: 2011-09-11 12:50:44 +0200 (So, 11. Sep 2011) $ +%%$Date: 2011-10-04 20:57:50 +0200 (Di, 04. Okt 2011) $ %% Allgemeine Angaben -\def\mdversion{v0.9e} +\def\mdversion{v0.9f} \def\mdframedpackagename{mdframed} \def\md@maindate@svn$#1: #2 #3 #4-#5-#6 #7 #8${#4/#5/#6\space } \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mdframed}[\md@maindate@svn$Id: mdframed.sty 198 2011-09-11 10:50:44Z marco $ \mdversion: \mdframedpackagename] +\ProvidesPackage{mdframed}[\md@maindate@svn$Id: mdframed.sty 201 2011-10-04 18:57:50Z marco $ \mdversion: \mdframedpackagename] %%==================================================%% %%=============== Benoetigte Pakete ================%% %%==================================================%% @@ -139,10 +139,10 @@ } \providecommand*\mdf@framemethod{} +\def\md@framemethod@i{}% +\def\md@framemethod@ii{}% +\def\md@framemethod@iii{}% \define@key{mdf}{framemethod}[default]{% - \def\md@framemethod@i{}% - \def\md@framemethod@ii{}% - \def\md@framemethod@iii{}% \lowercase{\def\md@tempa{#1}} \forcsvlist{\listadd\md@framemethod@i}{default,tex,latex,none,0} \forcsvlist{\listadd\md@framemethod@ii}{tikz,1} @@ -153,7 +153,8 @@ {\def\mdf@@framemethod{tikz}\defcounter{mdf@globalstyle@cnt}{1}}% {\xifinlist{\md@tempa}{\md@framemethod@iii}% {\def\mdf@@framemethod{pstricks}\defcounter{mdf@globalstyle@cnt}{2}}% - {\md@PackageWarning{Unknown framemethod \md@tempa\MessageBreak}}% + {% + \md@PackageWarning{Unknown framemethod \md@tempa\MessageBreak}}% }% }% \ifcase\value{mdf@globalstyle@cnt}\relax% @@ -217,6 +218,7 @@ \DeclareBoolOption[true]{leftline} \DeclareBoolOption[true]{bottomline} \DeclareBoolOption[true]{rightline} +\DeclareBoolOption[false]{hidealllines} %%FARBEN \DeclareStringOption[none]{xcolor} \DeclareStringOption[black]{linecolor} @@ -563,6 +565,19 @@ } %%==================================================%% +%%======keine Linien anzeigen - hidealllines =======%% +%%==================================================%% +\newrobustcmd*\md@hidealllines@check{% + \ifbool{mdf@hidealllines}{% + \setbool{mdf@leftline}{false}% + \setbool{mdf@rightline}{false}% + \setbool{mdf@topline}{false}% + \setbool{mdf@bottomline}{false}% + }{}% +} + + +%%==================================================%% %%==Deklaration diverser Eingabe und Hilfsparameter=%% %%==================================================%% \newlength\mdfboundingboxheight @@ -583,6 +598,7 @@ \begingroup %check is needed? \mdfsetup{#1}%% + \md@hidealllines@check% \mdf@settings% \md@twoside@checklength% \let\width\z@% @@ -604,7 +620,7 @@ \detected@md@put@frame \end{md@trivlist}% \hrule \@height\z@ \@width\hsize -\endgroup% +\endgroup\@endparenv% } %%==================================================%% %%================== Twoside-Modus =================%% |