diff options
Diffstat (limited to 'Master/texmf-dist/metapost/context/base/mpiv/minifun.mpiv')
-rw-r--r-- | Master/texmf-dist/metapost/context/base/mpiv/minifun.mpiv | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Master/texmf-dist/metapost/context/base/mpiv/minifun.mpiv b/Master/texmf-dist/metapost/context/base/mpiv/minifun.mpiv new file mode 100644 index 00000000000..6d877fddb51 --- /dev/null +++ b/Master/texmf-dist/metapost/context/base/mpiv/minifun.mpiv @@ -0,0 +1,45 @@ +%D \module +%D [ file=minifun.mp, +%D version=2018.06.02, +%D title=\CONTEXT\ \METAPOST\ graphics, +%D subtitle=format generation file, +%D author=Hans Hagen, +%D date=\currentdate, +%D copyright={PRAGMA / Hans Hagen \& Ton Otten}] +%C +%C This module is part of the \CONTEXT\ macro||package and is +%C therefore copyrighted by \PRAGMA. See mreadme.pdf for +%C details. + +%D This is a minimal \METAFUN\ instance which can be handy for isolated +%D subruns. + +prologues := 0 ; +mpprocset := 1 ; + +input "mp-base.mpiv" ; +input "mp-tool.mpiv" ; +input "mp-mlib.mpiv" ; +input "mp-luas.mpiv" ; +input "mp-page.mpiv" ; + +string minifunversion ; minifunversion = + "minifun iv" & " " & + decimal year & "-" & + decimal month & "-" & + decimal day & " " & + if ((time div 60) < 10) : "0" & fi + decimal (time div 60) & ":" & + if ((time-(time div 60)*60) < 10) : "0" & fi + decimal (time-(time div 60)*60) ; + +let normalend = end ; + +if known mplib : + def end = ; message "" ; message minifunversion ; message "" ; endinput ; enddef ; + def bye = ; message "" ; message minifunversion ; message "" ; endinput ; enddef ; +else : + def end = ; message "" ; message minifunversion ; message "" ; normalend ; enddef ; +fi ; + +% dump ; % obsolete in mplib |