From 8b2c5c99a9df67b559a227d41490d9c758a47835 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 20 Apr 2011 23:10:19 +0000 Subject: mpgraphics (20apr11) git-svn-id: svn://tug.org/texlive/trunk@22142 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/mpgraphics/README | 4 ++-- .../texmf-dist/doc/latex/mpgraphics/mpgraphics.pdf | Bin 152016 -> 152358 bytes .../source/latex/mpgraphics/mpgraphics.dtx | 17 +++++++++-------- .../source/latex/mpgraphics/mpgraphics.ins | 4 ++-- .../texmf-dist/tex/latex/mpgraphics/mpgraphics.sty | 7 ++++--- 5 files changed, 17 insertions(+), 15 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/mpgraphics/README b/Master/texmf-dist/doc/latex/mpgraphics/README index 2b1ebecc388..c41510f0d81 100644 --- a/Master/texmf-dist/doc/latex/mpgraphics/README +++ b/Master/texmf-dist/doc/latex/mpgraphics/README @@ -1,6 +1,6 @@ _________________ The mpgraphics package -v0.1 +v0.2 mpgraphics allows users to typeset metapost inline and display figures in their LaTeX documents with only and only one run of @@ -11,7 +11,7 @@ end user do not need to carry out the long process. ______________ Vafa Khalighi -vafakhlgh@gmail.com +vafa018@gmail.com Copyright © 2011 Distributed under the LaTeX Project Public License diff --git a/Master/texmf-dist/doc/latex/mpgraphics/mpgraphics.pdf b/Master/texmf-dist/doc/latex/mpgraphics/mpgraphics.pdf index 4a383294a0b..4cceb41c80c 100644 Binary files a/Master/texmf-dist/doc/latex/mpgraphics/mpgraphics.pdf and b/Master/texmf-dist/doc/latex/mpgraphics/mpgraphics.pdf differ diff --git a/Master/texmf-dist/source/latex/mpgraphics/mpgraphics.dtx b/Master/texmf-dist/source/latex/mpgraphics/mpgraphics.dtx index 641eba58e2b..45104e9b2ce 100644 --- a/Master/texmf-dist/source/latex/mpgraphics/mpgraphics.dtx +++ b/Master/texmf-dist/source/latex/mpgraphics/mpgraphics.dtx @@ -5,7 +5,7 @@ %<*readme> _________________ The mpgraphics package -v0.1 +v0.2 mpgraphics allows users to typeset metapost inline and display figures in their LaTeX documents with only and only one run of @@ -16,7 +16,7 @@ end user do not need to carry out the long process. ______________ Vafa Khalighi -vafakhlgh@gmail.com +vafa018@gmail.com Copyright © 2011 Distributed under the LaTeX Project Public License @@ -45,7 +45,7 @@ by Vafa Khalighi. \endpreamble \postamble -Copyright © 2011 Vafa Khalighi +Copyright © 2011 Vafa Khalighi It may be distributed and/or modified under the LaTeX Project Public License, version 1.3c or higher (your choice). The latest version of @@ -133,8 +133,8 @@ textFR} % \CheckSum{0} % \makeatletter %\title{The \textsf{mpgraphics} Package\\ \href{http://bitbucket.org/vafa/mpgraphics}{\texttt{http://bitbucket.org/vafa/mpgraphics}}} -%\author{Vafa Khalighi\\ \href{mailto:vafakhlgh@gmail.com}{\texttt{vafakhlgh@gmail.com}}} -%\date{Version 0.1\qquad\today} +%\author{Vafa Khalighi\\ \href{mailto:vafa018@gmail.com}{\texttt{vafa018@gmail.com}}} +%\date{Version 0.2\qquad\today} %\maketitle %\begin{abstract} %It is not possible to include \mpost{} graphics directly into your \LaTeX{} documents; you have got to process your \mpost{} code first with \mpost{} and then include the images in your \LaTeX{} document. This is difficult and time consuming and the situation even becomes worser when you have many \mpost{} graphics. @@ -375,7 +375,7 @@ textFR} %\section{Acknowledgements} %Many thanks to the authors of \textsf{pdftricks} (Radhakrishnan CV, Rajagopal CV, and Antoine Chambert-Loir) and \textsf{auto-pst-pdf} (Will Robertson and Johannes Große) packages. This package could not exist without their combined efforts over many years as \mpg{} borrows some ideas from \textsf{pdftricks} and \textsf{auto-pst-pdf} packages. % -%Enrico Gregorio deserves special mention for his wonderful suggestions and contributions which improved this package a lot. +%Thanks to Enrico Gregorio for suggesting \textsf{epstopdf} program. % %Finally, I wish to thank John D. Hobby, Taco Hoekwater, and other \mpost{} developers for developing \mpost. % \StopEventually{} @@ -390,14 +390,15 @@ textFR} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \newcommand{\mpgraphics@date}{2011/07/25} -\newcommand{\mpgraphics@version}{v0.1} -\newcommand{\mpgraphics@commit}{commit 6} +\newcommand{\mpgraphics@version}{v0.2} +\newcommand{\mpgraphics@commit}{commit 7} \ProvidesPackage{mpgraphics}[\mpgraphics@date\space \mpgraphics@version\space <\mpgraphics@commit> inline and display metapost figures in LaTeX] \newcommand{\mpg@graphicsextension}{\ifPDFTeX\ifpdf pdf\else eps\fi\else\ifXeTeX pdf\fi\fi} \newcommand{\mpg@graphicsformatname}{\ifPDFTeX\ifpdf PDF\else EPS\fi\else\ifXeTeX PDF\fi\fi} \newcommand{\mpg@formatname}{\ifPDFTeX\ifpdf pdflatex\else latex\fi\else\ifXeTeX xelatex\fi\fi} \RequirePackage{graphicx,color,moreverb,xkeyval,ifplatform,iftex,ifpdf} +\@ifundefined{verbatim@out}{\newwrite\verbatim@out}{}% \newif\if@mpg@debug\@mpg@debugfalse \expandafter\newif\csname if@mpg@no@\mpg@graphicsextension\endcsname \newif\if@mpg@noprocess \@mpg@noprocessfalse diff --git a/Master/texmf-dist/source/latex/mpgraphics/mpgraphics.ins b/Master/texmf-dist/source/latex/mpgraphics/mpgraphics.ins index f8a16903a63..54c69a9ce48 100644 --- a/Master/texmf-dist/source/latex/mpgraphics/mpgraphics.ins +++ b/Master/texmf-dist/source/latex/mpgraphics/mpgraphics.ins @@ -24,7 +24,7 @@ \endpreamble \postamble -Copyright © 2011 Vafa Khalighi +Copyright © 2011 Vafa Khalighi It may be distributed and/or modified under the LaTeX Project Public License, version 1.3c or higher (your choice). The latest version of @@ -38,7 +38,7 @@ by Vafa Khalighi. \generate{\file{mpgraphics.sty}{\from{\jobname.dtx}{mpgraphics.sty}}} \endbatchfile %% -%% Copyright © 2011 Vafa Khalighi +%% Copyright © 2011 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/latex/mpgraphics/mpgraphics.sty b/Master/texmf-dist/tex/latex/mpgraphics/mpgraphics.sty index eb861e6251e..b00a18b14e8 100644 --- a/Master/texmf-dist/tex/latex/mpgraphics/mpgraphics.sty +++ b/Master/texmf-dist/tex/latex/mpgraphics/mpgraphics.sty @@ -14,14 +14,15 @@ %% \NeedsTeXFormat{LaTeX2e} \newcommand{\mpgraphics@date}{2011/07/25} -\newcommand{\mpgraphics@version}{v0.1} -\newcommand{\mpgraphics@commit}{commit 6} +\newcommand{\mpgraphics@version}{v0.2} +\newcommand{\mpgraphics@commit}{commit 7} \ProvidesPackage{mpgraphics}[\mpgraphics@date\space \mpgraphics@version\space <\mpgraphics@commit> inline and display metapost figures in LaTeX] \newcommand{\mpg@graphicsextension}{\ifPDFTeX\ifpdf pdf\else eps\fi\else\ifXeTeX pdf\fi\fi} \newcommand{\mpg@graphicsformatname}{\ifPDFTeX\ifpdf PDF\else EPS\fi\else\ifXeTeX PDF\fi\fi} \newcommand{\mpg@formatname}{\ifPDFTeX\ifpdf pdflatex\else latex\fi\else\ifXeTeX xelatex\fi\fi} \RequirePackage{graphicx,color,moreverb,xkeyval,ifplatform,iftex,ifpdf} +\@ifundefined{verbatim@out}{\newwrite\verbatim@out}{}% \newif\if@mpg@debug\@mpg@debugfalse \expandafter\newif\csname if@mpg@no@\mpg@graphicsextension\endcsname \newif\if@mpg@noprocess \@mpg@noprocessfalse @@ -370,7 +371,7 @@ inline and display metapost figures in LaTeX] \expandafter\edef\csname Fig#1\endcsname{TRUE} \fi\fi\d@d} %% -%% Copyright © 2011 Vafa Khalighi +%% Copyright © 2011 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of -- cgit v1.2.3