\documentclass{book}

\usepackage{amsmath,amssymb}
%\usepackage{amsmath,amssymb,color}
%\definecolor{lightgray}{gray}{0.75}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Frequently used macros
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\TeXmacs}{$\textrm{\TeX}_{{\textsc{{\normalsize macs}}}^{\mbox{}}}$}
\newcommand{\scheme}{{\sc Scheme}}
\newcommand{\tmdef}[1]{#1}
\newcommand{\tmref}[3]{#1}
\newcommand{\tmat}{\symbol{"40}}
\newcommand{\tmunsc}{\_}
\newcommand{\key}[1]{\fbox{\rule[-2pt]{0pt}{9pt}#1}}
%\newcommand{\key}[1]{\colorbox{lightgray}{#1}}
\newcommand{\menu}[1]{\textsf{#1}}
\newcommand{\submenu}[2]{\textsf{#1}$\rightarrow$\textsf{#2}}
\newcommand{\subsubmenu}[3]{\textsf{#1}$\rightarrow$\textsf{#2}$\rightarrow$\textsf{#3}}
\newcommand{\pari}{{\sc Pari}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Environments
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newenvironment{remark}{\bigskip

\noindent\textbf{Remark.}\ }{\bigskip

}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Special symbols
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\catcode`\¤=\active\def¤{\verb¤}
\catcode`\à=\active\defà{\`a}
\catcode`\á=\active\defá{\'a}
\catcode`\ä=\active\defä{\"a}
\catcode`\â=\active\defâ{\^a}
\catcode`\å=\active\defå{\aa}
\catcode`\ç=\active\defç{\c{c}}
\catcode`\è=\active\defè{\`e}
\catcode`\é=\active\defé{\'e}
\catcode`\ë=\active\defë{\"e}
\catcode`\ê=\active\defê{\^e}
\catcode`\ì=\active\defì{\`{\i}}
\catcode`\í=\active\defí{\'{\i}}
\catcode`\ï=\active\defï{\"{\i}}
\catcode`\î=\active\defî{\^{\i}}
\catcode`\ò=\active\defò{\`o}
\catcode`\ó=\active\defó{\'o}
\catcode`\ö=\active\defö{\"o}
\catcode`\ô=\active\defô{\^o}
\catcode`\ù=\active\defù{\`u}
\catcode`\ú=\active\defú{\'u}
\catcode`\ü=\active\defü{\"u}
\catcode`\û=\active\defû{\^u}
\catcode`\ý=\active\defý{\'y}
\catcode`\ÿ=\active\defÿ{\"y}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% General layout
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\bookpart}[2]{
  \cleardoublepage
  \thispagestyle{empty}
  $\mbox{}$\vspace{-5cm}

  \begin{center}
    {\bf\Huge #1}\vspace{2cm}\\
    {\bf\huge #2}
  \end{center}
  \addcontentsline{toc}{part}{#1 \;\;\; #2}
  \pagebreak
  \thispagestyle{empty}
  $\mbox{}$
}

\evensidemargin 1.2cm
\oddsidemargin -0.1cm
\textwidth 15cm

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Main document
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

\tableofcontents

\bookpart{Part A}{User guide}

\input{../english/help/welcome.tex}
\input{../english/help/introduction.tex}
\input{../english/help/keyboard.tex}
\input{../english/help/tables.tex}
\input{../english/help/styles.tex}
\input{../english/help/advanced.tex}
\input{../english/help/compatibility.tex}
\input{../english/help/scheme.tex}
\input{../english/help/interface.tex}
\input{../english/help/about.tex}

\bookpart{Part B}{A guide to the source code}

\input{../english/source/general.tex}
\input{../english/source/basic.tex}
\input{../english/source/data.tex}
\input{../english/source/convert.tex}
\input{../english/source/window.tex}
\input{../english/source/fonts.tex}
\input{../english/source/boxes.tex}
\input{../english/source/math.tex}
\input{../english/source/bugs.tex}

\bookpart{Part C}{Projects and challenges for YOU}

\input{../english/projects/changes.tex}
\input{../english/projects/tochange.tex}
\input{../english/projects/projects.tex}
\input{../english/projects/helpme.tex}

\end{document}
