%D \module
%D   [       file=cont-ja,
%D        version=1997.08.19,
%D          title=\CONTEXT,
%D       subtitle=\CONTEXT\ English Format Generation,
%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.

\catcode`\{=1 \catcode`\}=2 \def\defaultinterface{english}

\input context.mkii

\input up-siz.tex

%
\newfam\jisfam
%
\def\mc{\fam\jisfam\jisfont}%
%
\let\origtf\tf
\let\origbf\bf
\let\origit\it
\let\origsl\sl
\let\origbi\bi
\let\origbs\bs
\let\origsc\sc
%
\let\origtfa\tfa
\let\origtfb\tfb
\let\origtfc\tfc
\let\origtfd\tfd
%
%
\let\origrm\rm
\def\rm{\mc\origrm}
%
\def\tf{\origtf\rm}
\def\bf{\origbf\rm}
\def\it{\origit\rm}
\def\sl{\origsl\rm}
\def\bi{\origbi\rm}
\def\bs{\origbs\rm}
\def\sc{\origsc\rm}
%
\def\tfa{\origtfa\rm}
\def\tfb{\origtfb\rm}
\def\tfc{\origtfc\rm}
\def\tfd{\origtfd\rm}
%
\def\bfa{\tfa\bf}
\def\ita{\tfa\it}
\def\sla{\tfa\sl}
\def\bia{\tfa\bi}
\def\bsa{\tfa\bs}
\def\sca{\tfa\sc}
%
\def\bfb{\tfb\bf}
\def\itb{\tfb\it}
\def\slb{\tfb\sl}
\def\bib{\tfb\bi}
\def\bsb{\tfb\bs}
\def\scb{\tfb\sc}
%
\def\bfc{\tfc\bf}
\def\itc{\tfc\it}
\def\slc{\tfc\sl}
\def\bic{\tfc\bi}
\def\bsc{\tfc\bs}
\def\scc{\tfc\sc}
%
\def\bfd{\tfd\bf}
\def\itd{\tfd\it}
\def\sld{\tfd\sl}
\def\bid{\tfd\bi}
\def\bsd{\tfd\bs}
\def\scd{\tfd\sc}
%
\let\orgtfx\tfx
\let\orgbfx\bfx
\let\orgitx\itx
\let\orgslx\slx
\let\orgbix\bix
\let\orgbsx\bsx
\let\orgscx\scx
%
\let\orgtfxx\tfxx
\let\orgbfxx\bfxx
\let\orgitxx\itxx
\let\orgslxx\slxx
\let\orgbixx\bixx
\let\orgbsxx\bsxx
\let\orgscxx\scxx
%
\def\tfx{\orgtfx\mc}
\def\bfx{\orgbfx\mc}
\def\itx{\orgitx\mc}
\def\slx{\orgslx\mc}
\def\bix{\orgbix\mc}
\def\bsx{\orgbsx\mc}
\def\scx{\orgscx\mc}
%
\def\tfxx{\orgtfxx\mc}
\def\bfxx{\orgbfxx\mc}
\def\itxx{\orgitxx\mc}
\def\slxx{\orgslxx\mc}
\def\bixx{\orgbixx\mc}
\def\bsxx{\orgbsxx\mc}
\def\scxx{\orgscxx\mc}
%
\input ukinsoku
%
\tf\relax
\kanjiskip=0pt plus .4pt minus .4pt
\xkanjiskip=.25zw plus 1pt minus 1pt
\autospacing\autoxspacing
\jcharwidowpenalty=500

\unprotect

\setupcurrentlanguage[\s!en]

\def\loaduserspecifications
  {%
   \donothing
  }

\loaduserspecifications

% Do we need more defaults? or maybe all languages?

\installlanguage [\s!us] [\c!state=\v!start]
\installlanguage [\s!gb] [\c!state=\v!start]

\setupencoding[default=ec] \usetypescript[fallback][\defaultencoding]
\setupbodyfont[rm,12pt]

\protect \errorstopmode \dump \endinput
