diff options
Diffstat (limited to 'Master/texmf-dist/source/generic/mfpic/mfpic.dtx')
-rw-r--r-- | Master/texmf-dist/source/generic/mfpic/mfpic.dtx | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/generic/mfpic/mfpic.dtx b/Master/texmf-dist/source/generic/mfpic/mfpic.dtx index 940ee1651f5..ea14d37321c 100644 --- a/Master/texmf-dist/source/generic/mfpic/mfpic.dtx +++ b/Master/texmf-dist/source/generic/mfpic/mfpic.dtx @@ -1,6 +1,6 @@ % \iffalse %%% File: mfpic.dtx -%%% A part of mfpic 1.03 2009/11/18 +%%% A part of mfpic 1.04 2010/03/30 %%% % ------------------------------------------------------------------- % @@ -22,7 +22,7 @@ %</driver> %<sty>\ProvidesPackage{mfpic} %<*sty> - [2009/11/18 v1.03. Macros for drawing with Metafont/MetaPost.]% + [2010/03/30 v1.04. Macros for drawing with Metafont/MetaPost.]% %</sty> %<*driver> \documentclass{ltxdoc} @@ -170,9 +170,9 @@ \ifx\mfpfileversion\UndEfInEd\else\expandafter\endinput\fi% {% \catcode\lq\.12 \catcode\lq\/12% - \gdef\mfpfileversion{1.03}% - \gdef\mfpfiledate{2009/11/18}% - \gdef\mfpicversion{103}% + \gdef\mfpfileversion{1.04}% + \gdef\mfpfiledate{2010/03/30}% + \gdef\mfpicversion{104}% }% % \end{macrocode} % @@ -1484,17 +1484,18 @@ % mismatches. But since older \grafbase{} didn't test this, some % mismatches will be missed. % -% After that (\cs{mfp@init@outfile}) we set the \mfc{mode}, the \mfc{mag} -% (both ignored by \MP), and arrange for \grafbase{} macros to be loaded. +% After that (\cs{mfp@init@outfile}) we set the \mfc{mode} and the +% \mfc{mag} if not known (both ignored by \MP), and arrange for +% \grafbase{} macros to be loaded. % \begin{macrocode} \newdef\mfp@versioninfo{% \mfp@p\space\mfp@filename.m\mfp@ifmpost{p}{f}, generated by Mfpic, v\mfpfileversion\space\mfpfiledate,\@nl \mfp@p\space from TeX source "\jobname" on \mfp@now\@nl - numeric mfpicversion; mfpicversion:=\mfpicversion;\@nl}% + numeric mfpicversion; mfpicversion := \mfpicversion;\@nl}% \newdef\mfp@init@outfile{% - if unknown mode: mode = localfont; fi\@nl - if unknown mag: mag = \number\mag/1000; fi\@nl + if unknown mode: mode := localfont; fi\@nl + if unknown mag: mag := \number\mag/1000; fi\@nl if unknown grafbase: input grafbase; fi\@nl\@nl}% % \end{macrocode} % Then a comparison of the version of this file, stored in @@ -1503,7 +1504,7 @@ % \grafbase{} with a current \mfpic. % \begin{macrocode} \newdef\mfp@versioncheck{% - if unknown grafbaseversion: grafbaseversion = 0; fi\@nl + if unknown grafbaseversion: grafbaseversion := 0; fi\@nl if grafbaseversion <> mfpicversion :\@nl GBmsg "Bad mfpic installation: mfpic and grafbase % versions do not match.";\@nl |