\documentclass[11pt]{article}
%\usepackage[utf8]{inputenc}
\usepackage[titles]{tocloft}
\usepackage{natbib}
\usepackage{xcolor}
\usepackage{verbatim}
\input{imager-def.tex} %  IMAGER specific definitions
%
\pdfminorversion=7

% \newcommand{\lang}[1]{\texttt{\MakeUppercase{#1}$\backslash$}}
\newcommand{\IRAM}{\mbox{IRAM}}

\newcommand{\lmv}{\texttt{lmv}}
\newcommand{\clean}{\texttt{CLEAN}}
\newcommand{\uv}{\textit{uv}}
\newcommand{\emm}[1]{\ensuremath{#1}}   % Ensures math mode.
\newcommand{\emr}[1]{\emm{\mathrm{#1}}} % Uses math roman fonts.
\newcommand{\nds}[1]{\emm{\displaystyle#1}} % Normal display size for array and tabular environment.
\newcommand{\paren}[1]  {\nds{\left(  #1 \right) }} % Parenthesis. 
\newcommand{\cbrace}[1] {\nds{\left\{ #1 \right\}}} % Curly Braces.
\newcommand{\abs}[1]{\emm{\left| #1 \right|}} % Absolute value.
%\newcommand{\sicvar}[1] {\mbox {\tt #1}}
%\newcommand{\sicvar}[1] {\mbox {{\color{magenta}\tt #1}}} % Works with "magenta" only so far
\newcommand{\sicvar}[1] {\mbox {{\color{magenta}{\sc #1}}}} % Works with "magenta" only so far
\newcommand{\file}[1] {\mbox {{\color{magenta}\tt #1}}}
\newcommand{\script}[1] {\mbox {{\color{magenta}\tt #1}}}
\newcommand{\qom}[1] {\mbox {{\color{magenta}\tt #1}}}
\newcommand{\qomm}[2]{\mbox {{\color{magenta}\tt #1 #2}}}
\newcommand{\com}[1] {\index{#1} \qom{#1}}
\newcommand{\comm}[2]{\mbox {{\color{magenta}\tt #1 #2}}\index{#1!#2}}
%
%\newcommand{\lang}[1]{\mbox {\texttt{\MakeUppercase{#1}\textbackslash}}}
%\newcommand{\imager} {\mbox{{{\sc imager}}}}
\newcommand{\imager} {\mbox{{\color[rgb]{1,0,0}{\sc imager}}}}
\newcommand{\lang}[1]{\mbox {\color{magenta}{\texttt{\MakeUppercase{#1}\textbackslash}}}}
\newcommand{\viewer}    {\mbox{{\color{red} \sc viewer}}}
%
% Color require some strange tricks to be more or less correct in HTML version !...
\renewcommand{\sic}    {\mbox{{\color{red} \sc sic}}}
\renewcommand{\greg}   {\mbox{{\color{red} \sc greg}}}
\renewcommand{\clic}   {\mbox{{\color{red} \sc clic}}}
\renewcommand{\class}   {\mbox{{\color{red} \sc class}}}
\renewcommand{\mapping}{\mbox{{\color[rgb]{1,0,0}{\sc mapping}}}}
\renewcommand{\sicvar}[1] {\mbox {{\color{blue}\tt #1}}} % Works provided it has been define with "magenta" first in HTML !
\renewcommand{\lang}[1]{\mbox{{\color{blue}{\texttt{\MakeUppercase{#1}\textbackslash}}}}} % TRIAL
\renewcommand{\file}[1] {\mbox {{\color{cyan}\tt #1}}}
\renewcommand{\script}[1] {\mbox {{\color{violet}\tt #1}}}
%
% With the "tocloft" package, to control TOC horizontal spacings
%\renewcommand*\cftchapnumwidth{2em}
\renewcommand*\cftsecnumwidth{3em}
\renewcommand*\cftsubsecnumwidth{4em}
\renewcommand*\cftsubsubsecnumwidth{5em}
%
% Bugs
\newcommand{\discovered}{\mbox{{\color{red} Discovered }}}
\newcommand{\corrected}{\mbox{{\color{red} Corrected }}}
% also a bug in Latex2Html  -- must re-issue the command to make it work
\renewcommand{\corrected}{\mbox{{\color[rgb]{0.1,0.8,0.1} Corrected }}}

\makeindex{}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

% \frontmatter{} % For BOOKS only
\begin{center}
  \huge{
  \textbf{IMAGER Bugs \& Release Notes} 
  } \\[2\bigskipamount]
\end{center}

\input{imager-version.tex}

\begin{description}
\item[Documentation] 
  In charge: E.~Di~Folco (1) \\
  Active contributor: S.~Guilloteau (1) \\
  Previous contibutors: J.~Pety (2,3) \\
\item[Software] 
  In charge: S.~Guilloteau (1) \\
  Active contributor: S.~Guilloteau (1) \\
  Previous contibutors: S.~Bardeau (2), J.~Pety (2,3) 
\end{description}
1. Laboratoire d'Astrophysique de Bordeaux\\
2. IRAM\\
3. Observatoire de Paris\\

\clearpage
\newpage 

\centerline{\Large\bf Note on Documentation}
\bigskip{}

\begin{latexonly}
{\large This document contains the list of Changes and Bug tracking records for the \imager{}
program. The \imager{} program documentation can be found here for the 
\href{https://imager.oasu.u-bordeaux.fr/wp-content/uploads/doc/imager.pdf}{PDF version}
or there for the 
\href{https://imager.oasu.u-bordeaux.fr/wp-content/uploads/doc/html}{Web version}
}
\end{latexonly}
\begin{rawhtml}
   This document contains the list of Changes and Bug tracking records for the IMAGER
   program. The IMAGER program documentation can be found here for the 
  <A HREF="https://imager.oasu.u-bordeaux.fr/wp-content/uploads/doc/imager.pdf"> PDF version</A>
  or there for the 
  <A HREF="https://imager.oasu.u-bordeaux.fr/wp-content/uploads/doc/html"> Web version</A>
\end{rawhtml}
\bigskip{}

\centerline{\Large\bf Notations}
\bigskip{} %

Throughout this document, colors are used to highlight the names of categories of entities:
\begin{itemize}
\item \mbox{{\color[rgb]{1,0,0}{\sc program}}} is a GILDAS program name.
\item \lang{Language} is a SIC Language name
\item \qom{NAME} is a command name, keyword or option
\item \sicvar{SICVAR} is a SIC variable
\item \script{ScriptName} is an \imager{} script (external text file) that can be executed by the \com{@} command
\item \file{FileName} is an external file, e.g. a data file.
\end{itemize}

\begin{rawhtml}
  Note: this is the on-line version of the IMAGER Bug and Change logs.
  A <A HREF="https://imager.oasu.u-bordeaux.fr/wp-content/uploads/doc/imager-bugs.pdf"> PDF version</A>
  is also available.
\end{rawhtml}
\tableofcontents{} %

% \mainmatter{} % for BOOKS only

\clearpage
\newpage{}


\section{Bugs and Release Notes}
This section lists known bugs (or strange features) that are known
at the date of release of the documentation, and the list of changes
since previous releases.
\input{bugs}
\input{older-bugs}
\input{changes}

\end{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
