% Set PDF version to 1.7 (https://tex.stackexchange.com/a/638196)
\ExplSyntaxOn
\sys_ensure_backend:
\pdf_version_gset:n{1.7}
\ExplSyntaxOff

% Template
\documentclass[twoside, a4paper, 12pt]{book}
\input{config/template}

% Bibliography
\input{config/bibliography}
\addbibresource{references.bib} % Load bibliography

% Content
\input{config/content}
\hypersetup{
    pdfauthor           = {Erwan NORMAND},
    pdftitle            = {Wearable Haptics and Augmented Reality},
    pdfsubject          = {Ph.D. Thesis of Erwan NORMAND},
    pdfkeywords         = {},
}

% Custom commands
\input{utils/commands}
\input{config/thesis_commands}

%\includeonly{1-introduction/introduction/introduction}

% Document
\begin{document}

\selectlanguage{english}

\frontmatter
\import{0-front}{cover}
%\importchapter{0-front}{acknowledgement}
\importchapter{0-front}{toc}

\mainmatter
\import{1-introduction}{part}
\importchapter{1-introduction/introduction}{introduction}
\importchapter{1-introduction/related-work}{related-work}

\import{2-perception}{perception}
\importchapter{2-perception/xr-perception}{xr-perception}
\importchapter{2-perception/ar-textures}{ar-textures}

\import{3-manipulation}{manipulation}
\importchapter{3-manipulation/visual-hand}{visual-hand}
\importchapter{3-manipulation/visuo-haptic-hand}{visuo-haptic-hand}

\import{4-conclusion}{part}
\importchapter{4-conclusion}{conclusion}

\backmatter
\importchapter{4-conclusion}{bibliography}
\importchapter{0-front}{publications}
\importchapter{0-front}{acronyms}
\importchapter{0-front}{figures}
\importchapter{0-front}{tables}
\import{4-conclusion}{backcover}

\end{document}
