%	-*- coding: euc-jp; -*-
\ProvidesPackage{m17n-lib}

%% Don't leave the space for marginal notes.
\setlength{\textwidth}{\paperwidth}
\addtolength{\textwidth}{-2in}
\setlength{\textheight}{\paperheight}
\addtolength{\textheight}{-2in}
\addtolength{\textheight}{-\headheight}
\addtolength{\textheight}{-\headsep}
\setlength{\headwidth}{\textwidth}
\setlength{\topmargin}{0in}
\setlength{\oddsidemargin}{0in}
\setlength{\evensidemargin}{0in}
\setlength{\marginparsep}{0pt}
\setlength{\marginparwidth}{0pt}
\setlength{\footskip}{0pt}

%% Don't write footers.
\rfoot[]{}
\lfoot[]{}
\cfoot[]{}
\def\footrule{}

%% Use arabic numbers in the second level `enumerate' environment.
\renewcommand\theenumii{\@arabic\c@enumii}

%% Add subsections to TOC.
\let\origtableofcontents\tableofcontents
\def\tableofcontents{\setcounter{tocdepth}{2}\origtableofcontents\clearpage}

%% Make each section start with a new page.
\let\origsection\section
\def\section{\cleardoublepage\origsection}
