%
% 
%
% Copyright (C) 1997-2015 by Dimitri van Heesch.
%
% Permission to use, copy, modify, and distribute this software and its
% documentation under the terms of the GNU General Public License is hereby 
% granted. No representations are made about the suitability of this software 
% for any purpose. It is provided "as is" without express or implied warranty.
% See the GNU General Public License for more details.
%
% Documents produced by Doxygen are derivative works derived from the
% input used in their production; they are not affected by this license.

\batchmode
\pdfminorversion=7
\pdfsuppresswarningpagegroup=1
\documentclass{book}
%%
\makeatletter
% suppress package identification of infwarerr as it contains the word "warning"
\let\@@protected@wlog\protected@wlog
\def\protected@wlog#1{\wlog{package info suppressed}}
\RequirePackage{infwarerr}
\let\protected@wlog\@@protected@wlog
\makeatother
%%
\usepackage[a4paper,left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm]{geometry}
\usepackage{makeidx}
\usepackage{natbib}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{float}
\usepackage{geometry}
\usepackage{listings}
\usepackage{color}
\usepackage[table]{xcolor}
\PassOptionsToPackage{warn}{textcomp}
\usepackage{textcomp}
\usepackage[nointegrals]{wasysym}
\usepackage{alltt}
\usepackage{import}
\usepackage[titletoc]{appendix}
\usepackage{ifpdf}
\ifpdf
\usepackage[pdftex,
            pagebackref=true,
            colorlinks=true,
            linkcolor=blue,
            unicode
           ]{hyperref}
\else
\usepackage[ps2pdf,
            pagebackref=true,
            colorlinks=true,
            linkcolor=blue,
            unicode
           ]{hyperref}
\usepackage{pspicture}
\fi
\usepackage[utf8]{inputenc}
\usepackage{mathptmx}
\usepackage[scaled=.90]{helvet}
\usepackage{courier}
\usepackage[titles]{tocloft}
\usepackage{amssymb}
\usepackage{doxygen}
\usepackage{manual}
%%
%gave problems when in doxygen.sty
\makeatletter
\newcommand\hrulefilll{\leavevmode\leaders\hrule\hskip 0pt plus 1filll\kern\z@}
\makeatother
%%
% unfortunately constructs like: 
%   \renewcommand{\doxysection}[1]{\doxysubsection{##1}}
% using values from book.cls (see also doxygen.sty) and redefining sections to correct level.
\makeatletter
\newenvironment{DoxygenSubAppendix}{%
\renewcommand\doxysection{\@startsection{subsection}{2}{\z@}%
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {1.5ex \@plus .2ex}%
                                     {\raggedright\normalfont\large\bfseries}}
\renewcommand\doxysubsection{\@startsection{subsubsection}{3}{\z@}%
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {1.5ex \@plus .2ex}%
                                     {\raggedright\normalfont\normalsize\bfseries}}
\renewcommand\doxysubsubsection{\@startsection{paragraph}{8}{\z@}%
                                    {3.25ex \@plus1ex \@minus.2ex}%
                                    {-1em}%
                                    {\raggedright\normalfont\normalsize\bfseries}}
\renewcommand\doxyparagraph{\@startsection{subparagraph}{9}{\parindent}%
                                       {3.25ex \@plus1ex \@minus .2ex}%
                                       {-1em}%
                                      {\raggedright\normalfont\normalsize\bfseries}}
%%\renewcommand{\doxysection}[1]{\doxysubsection{##1}}
%%\renewcommand{\doxysubsection}[1]{\doxysubsubsection{##1}}
%%\renewcommand{\doxysubsubsection}[1]{\doxyparagraph{##1}}
%%\renewcommand{\doxyparagraph}[1]{\doxysubparagraph{##1}}
}{}
\makeatother
%%
\newcommand{\+}{\discretionary{\mbox{\scriptsize$\hookleftarrow$}}{}{}}
\lstset{language=C++,inputencoding=utf8,basicstyle=\footnotesize,breaklines=true,breakatwhitespace=true,tabsize=8,numbers=left }
\makeindex
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\familydefault}{\sfdefault}
\renewcommand{\cftsecindent}{0 em}
\renewcommand{\cftsecnumwidth}{3.2 em}
\renewcommand{\cftsubsecindent}{3.2 em}
\newcommand{\thisyear}{\the\year}
\hfuzz=15pt
\setlength{\emergencystretch}{15pt}
\setlength{\parindent}{0pt}
\newcommand{\doxynormalparskip}{\setlength{\parskip}{0.2cm}}
\newcommand{\doxytocparskip}{\setlength{\parskip}{0.2cm}}
\newcommand{\doxygenemoji}[2]{%
\IfFileExists{../doc/#2.png}{\raisebox{-0.1em}{\includegraphics[height=0.9em]{../doc/#2.png}}}{#1}}
\doxynormalparskip
\hbadness=750
\tolerance=750
\makeatletter
\providecommand\IfFormatAtLeastTF{\@ifl@t@r\fmtversion}
\makeatother
\IfFormatAtLeastTF{2023/05/01}{\usepackage[deeplevels]{etoc}}{\usepackage[deeplevels]{etoc_doxygen}}
\etocsettocstyle{\doxytocparskip}{\doxynormalparskip}
\etocsetlevel{subsubsubsection}{4}
\etocsetlevel{subsubsubsubsection}{5}
\etocsetlevel{subsubsubsubsubsection}{6}
\etocsetlevel{subsubsubsubsubsubsection}{7}
\etocsetlevel{paragraph}{8}
\etocsetlevel{subparagraph}{9}
\newcommand{\AppendixChapter}[1]%
{%
  \chapter{#1}%
  \localtableofcontentswithrelativedepth{+3}%
}
\begin{document}
\raggedbottom
\pagenumbering{alph}
\begin{titlepage}
\includegraphics[width=\textwidth]{doxygen_logo}
\begin{center}
Manual for version @VERSION@\\[2ex]
Written by Dimitri van Heesch\\[2ex]
\copyright 1997-\thisyear
\end{center}
\end{titlepage}
\clearemptydoublepage
\pagenumbering{Roman}
\chapter*{Contents}
\tableofcontents
\clearemptydoublepage
\pagenumbering{arabic}
\setcounter{tocdepth}{3}
\part{User Manual}
\input{index}
\input{install}
\input{starting}
\input{docblocks}
\input{additional}
\input{markdown}
\input{lists}
\input{requirements}
\input{grouping}
\input{formulas}
\input{tables}
\input{diagrams}
\input{preprocessing}
\input{autolink}
\input{output}
\input{searching}
\input{customize}
\input{custcmd}
\input{external}
\input{faq}
\input{trouble}
\part{Reference Manual}
\input{features}
\input{doxygen_usage}
\input{doxywizard_usage}
\input{config}
\input{commands}
\input{htmlcmds}
\input{xmlcmds}
\input{emojisup}
\part{Developers Manual}
\input{langhowto}
\input{i18n_guide}
\input{perlmod}
\input{arch}
\renewcommand{\thepart}{}
\renewcommand{\partname}{}
\setcounter{tocdepth}{0}
\addtocontents{toc}{\protect\setcounter{tocdepth}{0}}
\part{Appendices}
\appendix
%mean that subinputfrom requires a / at the end of the path
\AppendixChapter{Autolink Example}\label{autolink_example}\hypertarget{autolink_example}{}
\subinputfrom{examples/autolink/latex/}{refman_doc}
\AppendixChapter{Resolving Typedef Example}\label{restypedef_example}\hypertarget{restypedef_example}{}
\subinputfrom{examples/restypedef/latex/}{refman_doc}

\IfFileExists{examples/diagrams/latex/refman_doc.tex}
{
  \AppendixChapter{Diagrams Example}\label{diagrams_example}\hypertarget{diagrams_example}{}
  \subinputfrom{examples/diagrams/latex/}{refman_doc}
}{}

\AppendixChapter{Grouping Example}\label{modules_example}\hypertarget{grouping_example}{}
\subinputfrom{examples/group/latex/}{refman_doc}
\AppendixChapter{Member Groups Example}\label{memgrp_example}\hypertarget{memgrp_example}{}
\subinputfrom{examples/memgrp/latex/}{refman_doc}
\AppendixChapter{Style Examples}
  \doxysection{After Block Example}\label{afterdoc_example}\hypertarget{afterdoc_example}{}
  \begin{DoxygenSubAppendix}
    \subinputfrom{examples/afterdoc/latex/}{refman_doc}
  \end{DoxygenSubAppendix}
  \doxysection{QT Style Example}\label{qtstyle_example}\hypertarget{qtstyle_example}{}
  \begin{DoxygenSubAppendix}
    \subinputfrom{examples/qtstyle/latex/}{refman_doc}
  \end{DoxygenSubAppendix}
  \doxysection{Javadoc Style Example}\label{jdstyle_example}\hypertarget{jdstyle_example}{}
  \begin{DoxygenSubAppendix}
    \subinputfrom{examples/jdstyle/latex/}{refman_doc}
  \end{DoxygenSubAppendix}
  \doxysection{Javadoc Banner Example}\label{javadoc_banner_example}\hypertarget{javadoc_banner_example}{}
  \begin{DoxygenSubAppendix}
    \subinputfrom{examples/javadoc-banner/latex/}{refman_doc}
  \end{DoxygenSubAppendix}
\AppendixChapter{Structural Commands Example}\label{structcmd_example}\hypertarget{structcmd_example}{}
\subinputfrom{examples/structcmd/latex/}{refman_doc}
\AppendixChapter{Language Examples}
  \doxysection{Python Docstring Example}\label{python_example}\hypertarget{python_example}{}
  \begin{DoxygenSubAppendix}
    \subinputfrom{examples/docstring/latex/}{refman_doc}
  \end{DoxygenSubAppendix}
  \doxysection{Python Example}\label{py_example}\hypertarget{py_example}{}
  \begin{DoxygenSubAppendix}
    \subinputfrom{examples/pyexample/latex/}{refman_doc}
  \end{DoxygenSubAppendix}
  \doxysection{VHDL Example}\label{vhdl_example}\hypertarget{vhdl_example}{}
  \begin{DoxygenSubAppendix}
    \subinputfrom{examples/mux/latex/}{refman_doc}
  \end{DoxygenSubAppendix}

\AppendixChapter{Class Example}\label{class_example}\hypertarget{class_example}{}
\subinputfrom{examples/class/latex/}{refman_doc}
\AppendixChapter{Define Example}\label{define_example}\hypertarget{define_example}{}
\subinputfrom{examples/define/latex/}{refman_doc}
\AppendixChapter{Enum Example}\label{enum_example}\hypertarget{enum_example}{}
\subinputfrom{examples/enum/latex/}{refman_doc}
\AppendixChapter{Example Example}\label{example_example}\hypertarget{example_example}{}
\subinputfrom{examples/example/latex/}{refman_doc}
\AppendixChapter{Extends/Implements Example}\label{extends_example}\hypertarget{extends_example}{}
\subinputfrom{examples/manual/latex/}{refman_doc}
\AppendixChapter{File Example}\label{file_example}\hypertarget{file_example}{}
\subinputfrom{examples/file/latex/}{refman_doc}
\AppendixChapter{Fn Example}\label{fn_example}\hypertarget{fn_example}{}
\subinputfrom{examples/func/latex/}{refman_doc}
\AppendixChapter{Overload Example}\label{overload_example}\hypertarget{overload_example}{}
\subinputfrom{examples/overload/latex/}{refman_doc}
\AppendixChapter{Page Example}\label{page_example}\hypertarget{page_example}{}
\subinputfrom{examples/page/latex/}{refman_doc}
\AppendixChapter{Relates Example}\label{relates_example}\hypertarget{relates_example}{}
\subinputfrom{examples/relates/latex/}{refman_doc}
\AppendixChapter{Author Example}\label{author_example}\hypertarget{author_example}{}
\subinputfrom{examples/author/latex/}{refman_doc}
\AppendixChapter{Par Example}\label{par_example}\hypertarget{par_example}{}
\subinputfrom{examples/par/latex/}{refman_doc}
\AppendixChapter{Include Example}\label{include_example}\hypertarget{include_example}{}
\subinputfrom{examples/include/latex/}{refman_doc}


\printindex
\end{document}
