% author  : Hans Hagen / PRAGMA-ADE
% version : 2005-06-22

% todo: take antiqua (has everything)

% \tracetypescriptstrue

\usetypescriptfile[type-cbg]

% \preloadtypescriptstrue (default at pragma)

% this font does not work ... why
%
% \starttypescript [serif] [hebrew] [default]
%     \definefontsynonym [Serif] [hclassic]
%     \loadmapline[=][hclassic < hclassic.pfb]
% \stoptypescript

\setuppapersize
  [S6][S6]

\setupbodyfont
  [10pt]

\setuplayout
  [backspace=12pt,
   topspace=12pt,
   width=middle,
   height=middle,
   header=0pt,
   footer=0pt]

\setupcolors
  [state=start]

\setupbackgrounds
  [page]
  [background=color,
   backgroundcolor=darkgray]

\definetypeface [main-latin]    [rm] [serif] [latin-modern]    [default][encoding=texnansi]
\definetypeface [main-latin]    [tt] [mono]  [latin-modern]    [default][encoding=texnansi]

\definetypeface [main-math]     [rm] [serif] [latin-modern]    [default][encoding=texnansi]
\definetypeface [main-math]     [tt] [mono]  [latin-modern]    [default][encoding=texnansi]
\definetypeface [main-math]     [mm] [math]  [latin-modern]    [default][encoding=default]

\definetypeface [main-eastern]  [rm] [serif] [latin-modern]    [default][encoding=qx]
\definetypeface [main-eastern]  [tt] [mono]  [latin-modern]    [default][encoding=texnansi]

\definetypeface [main-greek]    [rm] [serif] [cbgreek]         [default][encoding=default]
\definetypeface [main-greek]    [tt] [mono]  [latin-modern]    [default][encoding=texnansi]

\definetypeface [main-cyrillic] [rm] [serif] [computer-modern] [default][encoding=t2a]
\definetypeface [main-cyrillic] [tt] [mono]  [latin-modern]    [default][encoding=texnansi]

% \definetypeface [main-hebrew]   [rm] [serif] [hebrew]          [default][encoding=default]
% \definetypeface [main-hebrew]   [tt] [mono]  [latin-modern]    [default][encoding=texnansi]

% The \showunicodetable macro is defined in unic-run.tex.

\starttext

% latin: western / eastern

\startstandardmakeup
  \setupbodyfont[main-latin]
  \centerbox{\scale[factor=max]{\showunicodetable{000}}}
\stopstandardmakeup
\startstandardmakeup
  \setupbodyfont[main-eastern]
  \centerbox{\scale[factor=max]{\showunicodetable{001}}}
\stopstandardmakeup
\startstandardmakeup
  \setupbodyfont[main-latin]
  \centerbox{\scale[factor=max]{\showunicodetable{002}}}
\stopstandardmakeup

% greek

\startstandardmakeup
  \setupbodyfont[main-greek]
  \centerbox{\scale[factor=max]{\showunicodetable{003}}}
\stopstandardmakeup

% cyrillic

\startstandardmakeup
  \setupbodyfont[main-cyrillic]
  \centerbox{\scale[factor=max]{\showunicodetable{004}}}
\stopstandardmakeup

% hebrew

% \startstandardmakeup
%   \setupbodyfont[mainhebrew]
%   \centerbox{\scale[factor=max]{\showunicodetable{005}}}
% \stopstandardmakeup

% misc

\startstandardmakeup
  \setupbodyfont[main-latin]
  \centerbox{\scale[factor=max]{\showunicodetable{030}}}
\stopstandardmakeup
\startstandardmakeup
  \setupbodyfont[main-latin]
  \centerbox{\scale[factor=max]{\showunicodetable{031}}}
\stopstandardmakeup
\startstandardmakeup
  \setupbodyfont[main-latin]
  \centerbox{\scale[factor=max]{\showunicodetable{032}}}
\stopstandardmakeup

% math

\startstandardmakeup
  \setupbodyfont[main-math]
  \centerbox{\scale[factor=max]{\showunicodetable{033}}}
\stopstandardmakeup
\startstandardmakeup
  \setupbodyfont[main-math]
  \centerbox{\scale[factor=max]{\showunicodetable{034}}}
\stopstandardmakeup
\startstandardmakeup
  \setupbodyfont[main-math]
  \centerbox{\scale[factor=max]{\showunicodetable{039}}}
\stopstandardmakeup

\stoptext
