summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-05-15 23:31:52 +0000
committerKarl Berry <karl@freefriends.org>2012-05-15 23:31:52 +0000
commit7083389477705019f50a254b8b50665343e54c9e (patch)
tree9ffc25c5a6a1793d19189e36ed8ca6b8a9ba2d1a
parent72358836133e467497a2df5e5c03a3b66ec1567d (diff)
mwe (15may12)
git-svn-id: svn://tug.org/texlive/trunk@26422 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/mwe/mwe.pdfbin308628 -> 401829 bytes
-rw-r--r--Master/texmf-dist/source/latex/mwe/mwe.dtx39
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-grid-100x100bp.eps4
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-grid-100x100bp.pdfbin16613 -> 16613 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-grid-100x100bp.pngbin3767 -> 3767 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-grid-100x100pt.eps4
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-grid-100x100pt.pdfbin16950 -> 16950 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-grid-100x100pt.pngbin3955 -> 3955 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-10x16.eps4
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-10x16.pdfbin37913 -> 37913 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-10x16.pngbin4211 -> 4211 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-16x10.eps4
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-16x10.pdfbin36480 -> 36480 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-16x10.pngbin5194 -> 5194 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-16x9.eps4
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-16x9.pdfbin36752 -> 36752 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-16x9.pngbin5125 -> 5125 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-1x1.eps4
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-1x1.pdfbin33894 -> 33894 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-1x1.pngbin3538 -> 3538 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-4x3.eps4
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-4x3.pdfbin35626 -> 35626 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-4x3.pngbin3529 -> 3529 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-9x16.eps4
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-9x16.pdfbin38235 -> 38235 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-9x16.pngbin4115 -> 4115 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-a.eps4
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-a.pdfbin12160 -> 12160 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-a.pngbin6526 -> 6526 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-a3-landscape.pdfbin23518 -> 23518 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-a3.pdfbin23763 -> 23763 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-a4-landscape.pdfbin21076 -> 21076 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-a4.pdfbin21280 -> 21280 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-a5-landscape.pdfbin19644 -> 19644 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-a5.pdfbin19652 -> 19652 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-b.eps4
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-b.pdfbin17200 -> 17200 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-b.pngbin6104 -> 6104 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-c.eps4
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-c.pdfbin11707 -> 11707 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-c.pngbin6228 -> 6228 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-golden-upright.pdfbin35360 -> 35360 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-golden.pdfbin36332 -> 36332 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-letter-landscape.pdfbin20721 -> 20721 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image-letter.pdfbin20827 -> 20827 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image.eps4
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image.pdfbin17567 -> 17567 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-image.pngbin6710 -> 6710 bytes
-rw-r--r--Master/texmf-dist/tex/latex/mwe/mwe.sty18
49 files changed, 76 insertions, 29 deletions
diff --git a/Master/texmf-dist/doc/latex/mwe/mwe.pdf b/Master/texmf-dist/doc/latex/mwe/mwe.pdf
index 4f81e6dff21..4169aad1795 100644
--- a/Master/texmf-dist/doc/latex/mwe/mwe.pdf
+++ b/Master/texmf-dist/doc/latex/mwe/mwe.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/mwe/mwe.dtx b/Master/texmf-dist/source/latex/mwe/mwe.dtx
index 4233e1054c7..45fb034268b 100644
--- a/Master/texmf-dist/source/latex/mwe/mwe.dtx
+++ b/Master/texmf-dist/source/latex/mwe/mwe.dtx
@@ -25,10 +25,10 @@
%<*driver>
\ProvidesFile{mwe.dtx}[%
%<=*DATE>
- 2012/05/08
+ 2012/05/15
%<=/DATE>
%<=*VERSION>
- v0.2
+ v0.3
%<=/VERSION>
DTX file for mwe]
\documentclass{ydoc}
@@ -69,6 +69,7 @@
%
% \changes{v0.1}{2012/05/03}{Initial version.}
% \changes{v0.2}{2012/05/08}{Added ``example-'' prefix to image files.}
+% \changes{v0.3}{2012/05/15}{Added graphicspath for ``example-'' and moved PDF to the begin of the file extensions.}
%
% \DoNotIndex{\newcommand,\newenvironment}
%
@@ -136,6 +137,10 @@
% The \pkg{mwe} can be loaded in the preamble of a MWE and loads often used packages.
% At this moment these are only \pkg{graphicx}, \pkg{lipsum} and \pkg{blindtext}, while the last two are only
% loaded if they are installed. The package is not required for using the image files.
+% If the package is loaded it will change the graphic extension list so that PDF files are used first for formats which
+% support PDF images. Also \Macro\graphicspath{{example-}} is used to allow to shorten the file names to `|image..|'
+% instead of the full `|example-image...|'.
+%
% Some MWE might even be better off not to use the package if specific side-effect between packages is tested.
%
% \begin{lstlisting}[language={[latex]tex},gobble=4,title={Usage Example}]
@@ -172,7 +177,7 @@
% \begin{center}
% \begin{tabular}{>{\ttfamily}l>{\ttfamily}l}
% \toprule
-% \normalfont Files & \normalfont TEXMF Installation folder \\
+% \normalfont Files & \normalfont\hskip-3em TEXMF Installation folder \\
% \midrule
% mwe.dtx mwe.ins & source/latex/mwe/ \\
% mwe.pdf README INSTALL & doc/latex/mwe/ \\
@@ -190,6 +195,8 @@
%
% \section{Provided Images}
% The following images are provided by \pkg{mwe}.
+% If the \pkg{mwe} \LaTeX\ package is loaded the PDF version will be used instead of the PNG version
+% and the `|example-|' part of the filename may be skipped.
%
% \subsection{Normal Images}
% The following images are meant as dummy replacements for real images.
@@ -284,6 +291,32 @@
%
% \begin{macrocode}
\RequirePackage{graphicx}
+% \end{macrocode}
+%
+% Allow ``image'' instead of ``example-image''.
+% \begin{macrocode}
+\expandafter\ifx\csname Ginput@path\endcsname\relax
+ \graphicspath{{example-}}
+\fi
+% \end{macrocode}
+%
+% Put `|.pdf|' as first extension if included in
+% list of image file extensions.
+% \begin{macrocode}
+\begingroup
+\def\@tempa#1,.pdf,#2\@nnil{%
+ \ifx\@nnil#2\@nnil\else
+ \def\@tempa##1\relax##2\@nnil{%
+ \gdef\Gin@extensions{.pdf,#1,##1}%
+ }%
+ \@tempa#2\@nnil
+ \fi
+}
+\expandafter\@tempa\Gin@extensions\relax,.pdf,\@nnil
+\endgroup
+% \end{macrocode}
+%
+% \begin{macrocode}
\IfFileExists{lipsum.sty}{%
\RequirePackage{lipsum}
}{}
diff --git a/Master/texmf-dist/tex/latex/mwe/example-grid-100x100bp.eps b/Master/texmf-dist/tex/latex/mwe/example-grid-100x100bp.eps
index b9de13f2118..9e8f89b87ee 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-grid-100x100bp.eps
+++ b/Master/texmf-dist/tex/latex/mwe/example-grid-100x100bp.eps
@@ -1,7 +1,7 @@
%!PS-Adobe-2.0
%%Creator: dvips(k) 5.991 Copyright 2011 Radical Eye Software
%%Title: example-grid-100x100bp.dvi
-%%CreationDate: Tue May 8 14:28:05 2012
+%%CreationDate: Tue May 15 13:43:27 2012
%%Pages: 1
%%PageOrder: Ascend
%%BoundingBox: 0 0 100 100
@@ -11,7 +11,7 @@
%DVIPSCommandLine: dvips -q -o example-grid-100x100bp.ps
%+ example-grid-100x100bp.dvi
%DVIPSParameters: dpi=600
-%DVIPSSource: TeX output 2012.05.08:1428
+%DVIPSSource: TeX output 2012.05.15:1343
%%BeginProcSet: tex.pro 0 0
%!
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
diff --git a/Master/texmf-dist/tex/latex/mwe/example-grid-100x100bp.pdf b/Master/texmf-dist/tex/latex/mwe/example-grid-100x100bp.pdf
index 8f3017b43b8..6e7e54fbf9d 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-grid-100x100bp.pdf
+++ b/Master/texmf-dist/tex/latex/mwe/example-grid-100x100bp.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-grid-100x100bp.png b/Master/texmf-dist/tex/latex/mwe/example-grid-100x100bp.png
index 498a6169494..77fd2ec4919 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-grid-100x100bp.png
+++ b/Master/texmf-dist/tex/latex/mwe/example-grid-100x100bp.png
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-grid-100x100pt.eps b/Master/texmf-dist/tex/latex/mwe/example-grid-100x100pt.eps
index a1fae7c4e32..97be71d9041 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-grid-100x100pt.eps
+++ b/Master/texmf-dist/tex/latex/mwe/example-grid-100x100pt.eps
@@ -1,7 +1,7 @@
%!PS-Adobe-2.0
%%Creator: dvips(k) 5.991 Copyright 2011 Radical Eye Software
%%Title: example-grid-100x100pt.dvi
-%%CreationDate: Tue May 8 14:28:07 2012
+%%CreationDate: Tue May 15 13:43:30 2012
%%Pages: 1
%%PageOrder: Ascend
%%BoundingBox: 0 0 100 100
@@ -11,7 +11,7 @@
%DVIPSCommandLine: dvips -q -o example-grid-100x100pt.ps
%+ example-grid-100x100pt.dvi
%DVIPSParameters: dpi=600
-%DVIPSSource: TeX output 2012.05.08:1428
+%DVIPSSource: TeX output 2012.05.15:1343
%%BeginProcSet: tex.pro 0 0
%!
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
diff --git a/Master/texmf-dist/tex/latex/mwe/example-grid-100x100pt.pdf b/Master/texmf-dist/tex/latex/mwe/example-grid-100x100pt.pdf
index 333544f9b5e..a4c5454e888 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-grid-100x100pt.pdf
+++ b/Master/texmf-dist/tex/latex/mwe/example-grid-100x100pt.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-grid-100x100pt.png b/Master/texmf-dist/tex/latex/mwe/example-grid-100x100pt.png
index 407b8c9700d..9d443004569 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-grid-100x100pt.png
+++ b/Master/texmf-dist/tex/latex/mwe/example-grid-100x100pt.png
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-10x16.eps b/Master/texmf-dist/tex/latex/mwe/example-image-10x16.eps
index e51c3e139f0..59696a6e52b 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-10x16.eps
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-10x16.eps
@@ -1,7 +1,7 @@
%!PS-Adobe-2.0
%%Creator: dvips(k) 5.991 Copyright 2011 Radical Eye Software
%%Title: example-image-10x16.dvi
-%%CreationDate: Tue May 8 14:27:50 2012
+%%CreationDate: Tue May 15 13:43:13 2012
%%Pages: 1
%%PageOrder: Ascend
%%BoundingBox: 0 0 200 320
@@ -12,7 +12,7 @@
%DVIPSCommandLine: dvips -q -o example-image-10x16.ps
%+ example-image-10x16.dvi
%DVIPSParameters: dpi=600
-%DVIPSSource: TeX output 2012.05.08:1427
+%DVIPSSource: TeX output 2012.05.15:1343
%%BeginProcSet: tex.pro 0 0
%!
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-10x16.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-10x16.pdf
index e975e555a30..7e051b0296e 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-10x16.pdf
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-10x16.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-10x16.png b/Master/texmf-dist/tex/latex/mwe/example-image-10x16.png
index 84100018523..8042f961a43 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-10x16.png
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-10x16.png
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-16x10.eps b/Master/texmf-dist/tex/latex/mwe/example-image-16x10.eps
index 2c4e4c01900..16057684ffb 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-16x10.eps
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-16x10.eps
@@ -1,7 +1,7 @@
%!PS-Adobe-2.0
%%Creator: dvips(k) 5.991 Copyright 2011 Radical Eye Software
%%Title: example-image-16x10.dvi
-%%CreationDate: Tue May 8 14:27:51 2012
+%%CreationDate: Tue May 15 13:43:14 2012
%%Pages: 1
%%PageOrder: Ascend
%%BoundingBox: 0 0 320 200
@@ -12,7 +12,7 @@
%DVIPSCommandLine: dvips -q -o example-image-16x10.ps
%+ example-image-16x10.dvi
%DVIPSParameters: dpi=600
-%DVIPSSource: TeX output 2012.05.08:1427
+%DVIPSSource: TeX output 2012.05.15:1343
%%BeginProcSet: tex.pro 0 0
%!
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-16x10.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-16x10.pdf
index 5c437c3d11c..7034eca29ed 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-16x10.pdf
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-16x10.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-16x10.png b/Master/texmf-dist/tex/latex/mwe/example-image-16x10.png
index 989d4159a03..01d7f6339d4 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-16x10.png
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-16x10.png
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-16x9.eps b/Master/texmf-dist/tex/latex/mwe/example-image-16x9.eps
index 48060ee499b..e5c79980155 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-16x9.eps
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-16x9.eps
@@ -1,7 +1,7 @@
%!PS-Adobe-2.0
%%Creator: dvips(k) 5.991 Copyright 2011 Radical Eye Software
%%Title: example-image-16x9.dvi
-%%CreationDate: Tue May 8 14:27:53 2012
+%%CreationDate: Tue May 15 13:43:16 2012
%%Pages: 1
%%PageOrder: Ascend
%%BoundingBox: 0 0 320 180
@@ -12,7 +12,7 @@
%DVIPSCommandLine: dvips -q -o example-image-16x9.ps
%+ example-image-16x9.dvi
%DVIPSParameters: dpi=600
-%DVIPSSource: TeX output 2012.05.08:1427
+%DVIPSSource: TeX output 2012.05.15:1343
%%BeginProcSet: tex.pro 0 0
%!
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-16x9.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-16x9.pdf
index 4cda87752e7..8f26814ac7b 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-16x9.pdf
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-16x9.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-16x9.png b/Master/texmf-dist/tex/latex/mwe/example-image-16x9.png
index 35fff25b86e..def7f7f212f 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-16x9.png
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-16x9.png
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-1x1.eps b/Master/texmf-dist/tex/latex/mwe/example-image-1x1.eps
index 14af748167a..e2a7fe847f0 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-1x1.eps
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-1x1.eps
@@ -1,7 +1,7 @@
%!PS-Adobe-2.0
%%Creator: dvips(k) 5.991 Copyright 2011 Radical Eye Software
%%Title: example-image-1x1.dvi
-%%CreationDate: Tue May 8 14:27:54 2012
+%%CreationDate: Tue May 15 13:43:17 2012
%%Pages: 1
%%PageOrder: Ascend
%%BoundingBox: 0 0 200 200
@@ -12,7 +12,7 @@
%DVIPSCommandLine: dvips -q -o example-image-1x1.ps
%+ example-image-1x1.dvi
%DVIPSParameters: dpi=600
-%DVIPSSource: TeX output 2012.05.08:1427
+%DVIPSSource: TeX output 2012.05.15:1343
%%BeginProcSet: tex.pro 0 0
%!
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-1x1.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-1x1.pdf
index d976f8d7d15..50144e5eaeb 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-1x1.pdf
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-1x1.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-1x1.png b/Master/texmf-dist/tex/latex/mwe/example-image-1x1.png
index d630d03e1c3..6c03dbfe4e3 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-1x1.png
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-1x1.png
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-4x3.eps b/Master/texmf-dist/tex/latex/mwe/example-image-4x3.eps
index 6293e05dcb6..5dec56e8ad8 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-4x3.eps
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-4x3.eps
@@ -1,7 +1,7 @@
%!PS-Adobe-2.0
%%Creator: dvips(k) 5.991 Copyright 2011 Radical Eye Software
%%Title: example-image-4x3.dvi
-%%CreationDate: Tue May 8 14:27:56 2012
+%%CreationDate: Tue May 15 13:43:19 2012
%%Pages: 1
%%PageOrder: Ascend
%%BoundingBox: 0 0 160 120
@@ -12,7 +12,7 @@
%DVIPSCommandLine: dvips -q -o example-image-4x3.ps
%+ example-image-4x3.dvi
%DVIPSParameters: dpi=600
-%DVIPSSource: TeX output 2012.05.08:1427
+%DVIPSSource: TeX output 2012.05.15:1343
%%BeginProcSet: tex.pro 0 0
%!
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-4x3.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-4x3.pdf
index 6dc2d667b0c..c1de8e015d5 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-4x3.pdf
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-4x3.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-4x3.png b/Master/texmf-dist/tex/latex/mwe/example-image-4x3.png
index a87a50fc207..f86c49403d9 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-4x3.png
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-4x3.png
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-9x16.eps b/Master/texmf-dist/tex/latex/mwe/example-image-9x16.eps
index d5371eef44a..596466c3bf9 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-9x16.eps
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-9x16.eps
@@ -1,7 +1,7 @@
%!PS-Adobe-2.0
%%Creator: dvips(k) 5.991 Copyright 2011 Radical Eye Software
%%Title: example-image-9x16.dvi
-%%CreationDate: Tue May 8 14:27:57 2012
+%%CreationDate: Tue May 15 13:43:20 2012
%%Pages: 1
%%PageOrder: Ascend
%%BoundingBox: 0 0 180 320
@@ -12,7 +12,7 @@
%DVIPSCommandLine: dvips -q -o example-image-9x16.ps
%+ example-image-9x16.dvi
%DVIPSParameters: dpi=600
-%DVIPSSource: TeX output 2012.05.08:1427
+%DVIPSSource: TeX output 2012.05.15:1343
%%BeginProcSet: tex.pro 0 0
%!
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-9x16.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-9x16.pdf
index 1e66c735527..5133f12267e 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-9x16.pdf
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-9x16.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-9x16.png b/Master/texmf-dist/tex/latex/mwe/example-image-9x16.png
index 6f264426c57..0e7c70bc74b 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-9x16.png
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-9x16.png
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-a.eps b/Master/texmf-dist/tex/latex/mwe/example-image-a.eps
index f3012302b0d..76cd9eed371 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-a.eps
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-a.eps
@@ -1,7 +1,7 @@
%!PS-Adobe-2.0
%%Creator: dvips(k) 5.991 Copyright 2011 Radical Eye Software
%%Title: example-image-a.dvi
-%%CreationDate: Tue May 8 14:27:59 2012
+%%CreationDate: Tue May 15 13:43:22 2012
%%Pages: 1
%%PageOrder: Ascend
%%BoundingBox: 0 0 320 240
@@ -10,7 +10,7 @@
%DVIPSWebPage: (www.radicaleye.com)
%DVIPSCommandLine: dvips -q -o example-image-a.ps example-image-a.dvi
%DVIPSParameters: dpi=600
-%DVIPSSource: TeX output 2012.05.08:1427
+%DVIPSSource: TeX output 2012.05.15:1343
%%BeginProcSet: tex.pro 0 0
%!
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-a.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-a.pdf
index 4406140ab24..2da15a043fe 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-a.pdf
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-a.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-a.png b/Master/texmf-dist/tex/latex/mwe/example-image-a.png
index d374204720e..a7607fa3454 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-a.png
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-a.png
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-a3-landscape.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-a3-landscape.pdf
index a1aa8d2d98f..afd1350e5da 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-a3-landscape.pdf
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-a3-landscape.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-a3.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-a3.pdf
index ec483254b36..51917df0b39 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-a3.pdf
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-a3.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-a4-landscape.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-a4-landscape.pdf
index 0287084cb65..796662a8c47 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-a4-landscape.pdf
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-a4-landscape.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-a4.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-a4.pdf
index 00fe8104a8f..03b70e0d4c0 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-a4.pdf
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-a4.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-a5-landscape.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-a5-landscape.pdf
index bebffa5f627..ee883cbf01c 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-a5-landscape.pdf
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-a5-landscape.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-a5.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-a5.pdf
index 600bda84432..953dc3c4e7e 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-a5.pdf
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-a5.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-b.eps b/Master/texmf-dist/tex/latex/mwe/example-image-b.eps
index 315a2a981a5..2cfb4ac0f04 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-b.eps
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-b.eps
@@ -1,7 +1,7 @@
%!PS-Adobe-2.0
%%Creator: dvips(k) 5.991 Copyright 2011 Radical Eye Software
%%Title: example-image-b.dvi
-%%CreationDate: Tue May 8 14:28:00 2012
+%%CreationDate: Tue May 15 13:43:23 2012
%%Pages: 1
%%PageOrder: Ascend
%%BoundingBox: 0 0 320 240
@@ -10,7 +10,7 @@
%DVIPSWebPage: (www.radicaleye.com)
%DVIPSCommandLine: dvips -q -o example-image-b.ps example-image-b.dvi
%DVIPSParameters: dpi=600
-%DVIPSSource: TeX output 2012.05.08:1428
+%DVIPSSource: TeX output 2012.05.15:1343
%%BeginProcSet: tex.pro 0 0
%!
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-b.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-b.pdf
index 0e63690c9ce..0ac34dc4fb5 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-b.pdf
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-b.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-b.png b/Master/texmf-dist/tex/latex/mwe/example-image-b.png
index 2276c6143b9..1b4dc7fa1a9 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-b.png
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-b.png
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-c.eps b/Master/texmf-dist/tex/latex/mwe/example-image-c.eps
index 5a45dade5fd..d00d7efecb6 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-c.eps
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-c.eps
@@ -1,7 +1,7 @@
%!PS-Adobe-2.0
%%Creator: dvips(k) 5.991 Copyright 2011 Radical Eye Software
%%Title: example-image-c.dvi
-%%CreationDate: Tue May 8 14:28:02 2012
+%%CreationDate: Tue May 15 13:43:25 2012
%%Pages: 1
%%PageOrder: Ascend
%%BoundingBox: 0 0 320 240
@@ -10,7 +10,7 @@
%DVIPSWebPage: (www.radicaleye.com)
%DVIPSCommandLine: dvips -q -o example-image-c.ps example-image-c.dvi
%DVIPSParameters: dpi=600
-%DVIPSSource: TeX output 2012.05.08:1428
+%DVIPSSource: TeX output 2012.05.15:1343
%%BeginProcSet: tex.pro 0 0
%!
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-c.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-c.pdf
index d93632941ea..26a139a07df 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-c.pdf
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-c.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-c.png b/Master/texmf-dist/tex/latex/mwe/example-image-c.png
index 389aad90431..a5ba223f94a 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-c.png
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-c.png
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-golden-upright.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-golden-upright.pdf
index 8aac9d6252f..6df0024d6e8 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-golden-upright.pdf
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-golden-upright.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-golden.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-golden.pdf
index 46bad576ab8..619f36114d6 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-golden.pdf
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-golden.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-letter-landscape.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-letter-landscape.pdf
index 41d46ba545d..fbc6d882efa 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-letter-landscape.pdf
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-letter-landscape.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-letter.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-letter.pdf
index ea52b373811..e14dffa429a 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image-letter.pdf
+++ b/Master/texmf-dist/tex/latex/mwe/example-image-letter.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image.eps b/Master/texmf-dist/tex/latex/mwe/example-image.eps
index 81403426181..1596bf1b5b0 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image.eps
+++ b/Master/texmf-dist/tex/latex/mwe/example-image.eps
@@ -1,7 +1,7 @@
%!PS-Adobe-2.0
%%Creator: dvips(k) 5.991 Copyright 2011 Radical Eye Software
%%Title: example-image.dvi
-%%CreationDate: Tue May 8 14:28:09 2012
+%%CreationDate: Tue May 15 13:43:32 2012
%%Pages: 1
%%PageOrder: Ascend
%%BoundingBox: 0 0 320 240
@@ -10,7 +10,7 @@
%DVIPSWebPage: (www.radicaleye.com)
%DVIPSCommandLine: dvips -q -o example-image.ps example-image.dvi
%DVIPSParameters: dpi=600
-%DVIPSSource: TeX output 2012.05.08:1428
+%DVIPSSource: TeX output 2012.05.15:1343
%%BeginProcSet: tex.pro 0 0
%!
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image.pdf b/Master/texmf-dist/tex/latex/mwe/example-image.pdf
index 9a1a5f44b78..c3a7c94c0ab 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image.pdf
+++ b/Master/texmf-dist/tex/latex/mwe/example-image.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/example-image.png b/Master/texmf-dist/tex/latex/mwe/example-image.png
index ddbb0a358dd..2f9a6017fb5 100644
--- a/Master/texmf-dist/tex/latex/mwe/example-image.png
+++ b/Master/texmf-dist/tex/latex/mwe/example-image.png
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/mwe/mwe.sty b/Master/texmf-dist/tex/latex/mwe/mwe.sty
index 35157e4c1ac..306d887dace 100644
--- a/Master/texmf-dist/tex/latex/mwe/mwe.sty
+++ b/Master/texmf-dist/tex/latex/mwe/mwe.sty
@@ -17,10 +17,24 @@
%% and the derived filebase mwe.sty and example-*.{pdf,eps,png,eps}.
%%
\ProvidesPackage{mwe}[%
- 2012/05/08
- v0.2
+ 2012/05/15
+ v0.3
Package to support minimal working examples (MWE)]
\RequirePackage{graphicx}
+\expandafter\ifx\csname Ginput@path\endcsname\relax
+ \graphicspath{{example-}}
+\fi
+\begingroup
+\def\@tempa#1,.pdf,#2\@nnil{%
+ \ifx\@nnil#2\@nnil\else
+ \def\@tempa##1\relax##2\@nnil{%
+ \gdef\Gin@extensions{.pdf,#1,##1}%
+ }%
+ \@tempa#2\@nnil
+ \fi
+}
+\expandafter\@tempa\Gin@extensions\relax,.pdf,\@nnil
+\endgroup
\IfFileExists{lipsum.sty}{%
\RequirePackage{lipsum}
}{}