% ==============================================================================
% Main Document File
% ==============================================================================
% Description: Main LaTeX document file for HSRT Report template
% Author: [Your Name]
% Date: [Date]
% ==============================================================================

% ------------------------------------------------------------------------------
% Document Class Declaration
% ------------------------------------------------------------------------------
% The HSRTReport class is based on KOMA-Script's scrreprt class
% Options:
%   - 11pt: Base font size (alternatives: 10pt, 12pt)
%   - paper=a4: Paper format (alternatives: letter, a5, etc.)
%   - oneside: Single-sided layout (alternative: twoside for duplex printing)
%   - DIV=14: Type area calculation factor (higher = larger text area)
%   - onecolumn: Single column layout (alternative: twocolumn)
% ------------------------------------------------------------------------------
\documentclass[
    11pt,                % Base font size
    paper=a4,           % Paper format
    oneside,            % Single-sided printing
    DIV=14,             % Type area calculation
    onecolumn           % Column layout
]{HSRTReport/HSRTReport}

% ------------------------------------------------------------------------------
% Preamble and Configuration
% ------------------------------------------------------------------------------
% Load document-specific settings and configurations
\input{Preamble}         % Document preamble with bibliography and settings
\input{Glossary}         % Glossary and acronym definitions

% ==============================================================================
% Document Body
% ==============================================================================
\begin{document}

% ------------------------------------------------------------------------------
% Set Page Counter to 0
% ------------------------------------------------------------------------------
% Set page counter to 0, so that the table of contents starts at page 1
\setcounter{page}{0}

% ------------------------------------------------------------------------------
% Title Page
% ------------------------------------------------------------------------------
% Generates the title page with university branding and document metadata
% Configuration in Settings/General.tex
\maketitle

% ------------------------------------------------------------------------------
% Set Page Style
% ------------------------------------------------------------------------------
% Ensure fancy page style is active after title page for headers/footers
\pagestyle{fancy}

% ------------------------------------------------------------------------------
% Document Spacing
% ------------------------------------------------------------------------------
% Set line spacing for the main content (1.0 = single spacing)
\setstretch{1.0}

% ------------------------------------------------------------------------------
% Content Sections
% ------------------------------------------------------------------------------
% Input content files in order of appearance
\input{Content/00_toc}              % Table of contents, lists, and glossaries
\input{Content/01_content}          % Main document content
\input{Content/99_bibliography}     % Bibliography and references

% ------------------------------------------------------------------------------
% Glossary Processing
% ------------------------------------------------------------------------------
% Add all glossary entries to the document, even if not referenced
% This ensures complete glossary for reference purposes
\glsaddallunused

\end{document}
% ==============================================================================
% End of Main Document
% ==============================================================================
