%D \module
%D   [      file=s-chi-00,
%D        version=1999.12.21,
%D          title=\CONTEXT\ Style File,
%D       subtitle=Basic Chinese Style,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D    suggestions=Wang Lei,
%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.

\mainlanguage[cn]

\setupbodyfont[chi]

\unprotect

\setupsection [\v!sectionlevel-1] [\c!headconversion=\s!chinese]
\setupsection [\v!sectionlevel-2] [\c!headconversion=\s!chinese]
\setupsection [\v!sectionlevel-3] [\c!headconversion=\s!chinese]

\setupsection [\v!sectionlevel-2] [\v!appendix\c!conversion=]

\setuphead [\v!chapter]    [\c!distance=1.25em]
\setuphead [\v!section]    [\c!distance=1.25em]
\setuphead [\v!subsection] [\c!distance=1.00em]

\setuplist [\v!chapter] [\c!headlabel=\v!yes,\c!headconversion=\v!yes,\c!width=5em]
\setuplist [\v!section] [\c!headlabel=\v!yes,\c!headconversion=\v!yes,\c!width=5em]

\setupmarking [\v!chapter\v!number] [\c!headlabel=\v!yes,\c!headconversion=\v!yes]
\setupmarking [\v!section\v!number] [\c!headlabel=\v!yes,\c!headconversion=\v!yes]

\setuplabeltext [cn]          [\v!subsection={\symbol[S]\kern.25em}]
\setuplabeltext [cn]       [\v!subsubsection={\symbol[S]\kern.25em}]
\setuplabeltext [cn]    [\v!subsubsubsection={\symbol[S]\kern.25em}]
\setuplabeltext [cn] [\v!subsubsubsubsection={\symbol[S]\kern.25em}]

% nog taalonafhankelijk maken -> \e!tabel enz

\definereferenceformat [intable]   [\c!label=\v!table]
\definereferenceformat [infigure]  [\c!label=\v!figure]
\definereferenceformat [inchapter] [\c!label=\v!chapter]
\definereferenceformat [insection] [\c!label=\v!section]

% important

\setuptyping[\c!tab=\v!no]

\protect \endinput
