summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/mpgraphics
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-07-29 17:05:12 +0000
committerKarl Berry <karl@freefriends.org>2012-07-29 17:05:12 +0000
commitb0f3361df8e042de432eea3dde12086a360f57eb (patch)
tree4b1c74956311e6812bd6f7b700b6b0f16e3ca217 /Master/texmf-dist/source/latex/mpgraphics
parent0b5536b5784d88c5802337d39bc12585aba6cfd8 (diff)
mpgraphics (21jun12)
git-svn-id: svn://tug.org/texlive/trunk@27230 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/mpgraphics')
-rw-r--r--Master/texmf-dist/source/latex/mpgraphics/mpgraphics.dtx28
-rw-r--r--Master/texmf-dist/source/latex/mpgraphics/mpgraphics.ins8
2 files changed, 17 insertions, 19 deletions
diff --git a/Master/texmf-dist/source/latex/mpgraphics/mpgraphics.dtx b/Master/texmf-dist/source/latex/mpgraphics/mpgraphics.dtx
index 45104e9b2ce..e01b1aea6b7 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.2
+v0.3
mpgraphics allows users to typeset metapost inline and display
figures in their LaTeX documents with only and only one run of
@@ -16,9 +16,9 @@ end user do not need to carry out the long process.
______________
Vafa Khalighi
-vafa018@gmail.com
+Vafa.Khalighi@student.uts.edu.au
-Copyright © 2011
+Copyright © 2011-2012
Distributed under the LaTeX Project Public License
It may be distributed and/or modified under the LaTeX Project Public License,
version 1.3c or higher (your choice). The latest version of
@@ -37,7 +37,7 @@ by Vafa Khalighi.
\preamble
______________________________________
- Copyright © 2011 Vafa Khalighi
+ Copyright © 2011-2012 Vafa Khalighi
License information appended.
@@ -45,7 +45,7 @@ by Vafa Khalighi.
\endpreamble
\postamble
-Copyright © 2011 Vafa Khalighi <vafa018@gmail.com>
+Copyright © 2011-2012 Vafa Khalighi <Vafa.Khalighi@student.uts.edu.au>
It may be distributed and/or modified under the LaTeX Project Public License,
version 1.3c or higher (your choice). The latest version of
@@ -88,10 +88,8 @@ by Vafa Khalighi.
\setlength\columnseprule{.4pt}
\setmainfont[Mapping=tex-text,Numbers=OldStyle]{Minion Pro}
\setsansfont[Mapping=tex-text,Numbers=OldStyle]{Myriad Pro}
-\newfontfamily\ParsiFont[Script=Arabic]{FreeFarsi}
+\setmonofont{Andale Mono}
\newcommand\cmdtype[1]{\textcolor{myred}{\texttt{#1}}}
-\def\parsitext#1{\RLE{\ParsiFont#1}}
-\def\XePersian{XePersian}
\def\mpg{\textsf{mpgraphics} package}
\def\mpost{\textsf{MetaPost}}
\lstset{backgroundcolor=\color{hellgelb},numbers=left,frame=single,escapeinside=~~,morekeywords={includegraphics,
@@ -132,9 +130,9 @@ textFR}
% \GetFileInfo{\jobname.sty}
% \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:vafa018@gmail.com}{\texttt{vafa018@gmail.com}}}
-%\date{Version 0.2\qquad\today}
+%\title{The \textsf{mpgraphics} Package\\ \href{https://bitbucket.org/vkhalighi/mpgraphics}{\texttt{https://bitbucket.org/vkhalighi/mpgraphics}}}
+%\author{Vafa Khalighi\\ \href{mailto:Vafa.Khalighi@student.uts.edu.au}{\texttt{Vafa.Khalighi@student.uts.edu.au}}}
+%\date{Version 0.3\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.
@@ -389,9 +387,9 @@ textFR}
%
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\newcommand{\mpgraphics@date}{2011/07/25}
-\newcommand{\mpgraphics@version}{v0.2}
-\newcommand{\mpgraphics@commit}{commit 7}
+\newcommand{\mpgraphics@date}{2012/06/09}
+\newcommand{\mpgraphics@version}{v0.3}
+\newcommand{\mpgraphics@commit}{commit 2}
\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}
@@ -451,7 +449,7 @@ inline and display metapost figures in LaTeX]
"\unexpanded{\input} #1"}
\def\mpg@cmd@extrametapost#1#2{mpost \mpg@metapost@opts\space
"\unexpanded{\input} #1"}
-\def\mpg@cmd@epstopdf#1#2{epstopdf \mpg@epstopdf@opts\space -o "#2" "#1"}
+\def\mpg@cmd@epstopdf#1#2{epstopdf \mpg@epstopdf@opts\space --outfile "#2" "#1"}
\def\mpg@nl{^^J\space\space\space\space}
\newcommand\mpg@PackageError[2]{%
\PackageError{mpgraphics}{\mpg@nl #1^^J}{#2}}
diff --git a/Master/texmf-dist/source/latex/mpgraphics/mpgraphics.ins b/Master/texmf-dist/source/latex/mpgraphics/mpgraphics.ins
index 54c69a9ce48..fd334aef0f0 100644
--- a/Master/texmf-dist/source/latex/mpgraphics/mpgraphics.ins
+++ b/Master/texmf-dist/source/latex/mpgraphics/mpgraphics.ins
@@ -7,7 +7,7 @@
%% mpgraphics.dtx (with options: `batchfile')
%%
%% ______________________________________
-%% Copyright © 2011 Vafa Khalighi
+%% Copyright © 2011-2012 Vafa Khalighi
%%
%% License information appended.
%%
@@ -17,14 +17,14 @@
\preamble
______________________________________
- Copyright © 2011 Vafa Khalighi
+ Copyright © 2011-2012 Vafa Khalighi
License information appended.
\endpreamble
\postamble
-Copyright © 2011 Vafa Khalighi <vafa018@gmail.com>
+Copyright © 2011-2012 Vafa Khalighi <Vafa.Khalighi@student.uts.edu.au>
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 <vafa018@gmail.com>
+%% Copyright © 2011-2012 Vafa Khalighi <Vafa.Khalighi@student.uts.edu.au>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of