diff options
Diffstat (limited to 'Master')
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 Binary files differindex 4f81e6dff21..4169aad1795 100644 --- a/Master/texmf-dist/doc/latex/mwe/mwe.pdf +++ b/Master/texmf-dist/doc/latex/mwe/mwe.pdf 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 Binary files differindex 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 diff --git a/Master/texmf-dist/tex/latex/mwe/example-grid-100x100bp.png b/Master/texmf-dist/tex/latex/mwe/example-grid-100x100bp.png Binary files differindex 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 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 Binary files differindex 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 diff --git a/Master/texmf-dist/tex/latex/mwe/example-grid-100x100pt.png b/Master/texmf-dist/tex/latex/mwe/example-grid-100x100pt.png Binary files differindex 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 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 Binary files differindex 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 diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-10x16.png b/Master/texmf-dist/tex/latex/mwe/example-image-10x16.png Binary files differindex 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 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 Binary files differindex 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 diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-16x10.png b/Master/texmf-dist/tex/latex/mwe/example-image-16x10.png Binary files differindex 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 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 Binary files differindex 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 diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-16x9.png b/Master/texmf-dist/tex/latex/mwe/example-image-16x9.png Binary files differindex 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 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 Binary files differindex 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 diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-1x1.png b/Master/texmf-dist/tex/latex/mwe/example-image-1x1.png Binary files differindex 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 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 Binary files differindex 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 diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-4x3.png b/Master/texmf-dist/tex/latex/mwe/example-image-4x3.png Binary files differindex 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 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 Binary files differindex 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 diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-9x16.png b/Master/texmf-dist/tex/latex/mwe/example-image-9x16.png Binary files differindex 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 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 Binary files differindex 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 diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-a.png b/Master/texmf-dist/tex/latex/mwe/example-image-a.png Binary files differindex 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 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 Binary files differindex 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 diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-a3.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-a3.pdf Binary files differindex 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 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 Binary files differindex 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 diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-a4.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-a4.pdf Binary files differindex 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 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 Binary files differindex 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 diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-a5.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-a5.pdf Binary files differindex 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 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 Binary files differindex 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 diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-b.png b/Master/texmf-dist/tex/latex/mwe/example-image-b.png Binary files differindex 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 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 Binary files differindex 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 diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-c.png b/Master/texmf-dist/tex/latex/mwe/example-image-c.png Binary files differindex 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 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 Binary files differindex 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 diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-golden.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-golden.pdf Binary files differindex 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 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 Binary files differindex 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 diff --git a/Master/texmf-dist/tex/latex/mwe/example-image-letter.pdf b/Master/texmf-dist/tex/latex/mwe/example-image-letter.pdf Binary files differindex 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 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 Binary files differindex 9a1a5f44b78..c3a7c94c0ab 100644 --- a/Master/texmf-dist/tex/latex/mwe/example-image.pdf +++ b/Master/texmf-dist/tex/latex/mwe/example-image.pdf diff --git a/Master/texmf-dist/tex/latex/mwe/example-image.png b/Master/texmf-dist/tex/latex/mwe/example-image.png Binary files differindex ddbb0a358dd..2f9a6017fb5 100644 --- a/Master/texmf-dist/tex/latex/mwe/example-image.png +++ b/Master/texmf-dist/tex/latex/mwe/example-image.png 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} }{} |