%D \module
%D   [       file=mlib-ctx,
%D        version=2008.03.25,
%D          title=\METAPOST\ Integrated Graphics,
%D       subtitle=Basics,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

\writestatus{loading}{MetaPost Library Graphics / Initializations}

\installcorenamespace{graphicvariable}

% \unprotect

% \newdimension\d_adaptive_width
% \newdimension\d_adaptive_height
% \newdimension\d_adaptive_depth
% \newdimension\d_adaptive_line
% \newdimension\d_adaptive_hsize
% \newbox      \b_adaptive_box

% \protect

\permanent\def\btx{} % begin (textext) string
\permanent\def\etx{} % end   (textext) string

\registerctxluafile{mlib-fio}{autosuffix}
\registerctxluafile{mlib-run}{autosuffix}
\registerctxluafile{mlib-ctx}{autosuffix}
\registerctxluafile{mlib-lua}{autosuffix}
\registerctxluafile{mlib-mpf}{autosuffix}
\registerctxluafile{mlib-scn}{autosuffix}
\registerctxluafile{mlib-mat}{autosuffix}
\registerctxluafile{mlib-ran}{autosuffix}
\registerctxluafile{mlib-lmp}{autosuffix}
\registerctxluafile{mlib-int}{autosuffix}
\registerctxluafile{mlib-lmt}{autosuffix}
\registerctxluafile{mlib-pos}{autosuffix}
%registerctxluafile{mlib-cnt}{autosuffix}
\registerctxluafile{mlib-svg}{autosuffix}
\registerctxluafile{mlib-fnt}{autosuffix} % outline fun
\registerctxluafile{mlib-ptr}{autosuffix}
%registerctxluafile{mlib-fnc}{autosuffix} % delayed
\registerctxluafile{mlib-msh}{autosuffix} % can't be delayed as it has helpers
%registerctxluafile{mlib-eff}{autosuffix} % delayed

\unprotect

\defineframed
  [potracebitmap]
  [\c!foregroundstyle=\tttf,
   \c!offset=\v!overlay,%
   \c!align=\v!normal,%
   \c!frame=\v!off]%

\protect \endinput
