Use \import instead of \input

This commit is contained in:
2024-06-26 14:00:33 +02:00
parent 1bfc509d74
commit cec3e3c580

View File

@@ -77,7 +77,7 @@
\definechangesauthor[color=RawSienna]{CP}
\newcommand{\CP}[1]{\comment[id=CP]{#1}}
\newcommand{\inputchapter}[2]{% Load a chapter (#2) in a path (#1)
\newcommand{\importchapter}[2]{% Load a chapter (#2) in a path (#1)
\clearemptydoublepage% after a clear double page
\graphicspath{{#1/figures/}}% with figures
\import{#1}{#2}% and relative paths \input in the chapter
@@ -106,33 +106,33 @@
\import{0-front/cover}{cover}
\selectlanguage{english}
\inputchapter{0-front/content}{acknowledgement}
\inputchapter{0-front/content}{abstract}
\inputchapter{0-front/content}{résumé}
\inputchapter{0-front/content}{contents}
\inputchapter{0-front/content}{publications}
\inputchapter{0-front/content}{acronyms}
\inputchapter{0-front/content}{figures}
\inputchapter{0-front/content}{tables}
\importchapter{0-front/content}{acknowledgement}
\importchapter{0-front/content}{abstract}
\importchapter{0-front/content}{résumé}
\importchapter{0-front/content}{contents}
\importchapter{0-front/content}{publications}
\importchapter{0-front/content}{acronyms}
\importchapter{0-front/content}{figures}
\importchapter{0-front/content}{tables}
\mainmatter
\input{1-introduction/part}
\inputchapter{1-introduction/introduction}{introduction}
\inputchapter{1-introduction/related-work}{related-work}
\import{1-introduction}{part}
\importchapter{1-introduction/introduction}{introduction}
\importchapter{1-introduction/related-work}{related-work}
\input{2-perception/perception}
\inputchapter{2-perception/xr-perception}{xr-perception}
\inputchapter{2-perception/ar-textures}{ar-textures}
\import{2-perception}{perception}
\importchapter{2-perception/xr-perception}{xr-perception}
\importchapter{2-perception/ar-textures}{ar-textures}
\input{3-manipulation/manipulation}
\inputchapter{3-manipulation/visual-hand}{visual-hand}
\inputchapter{3-manipulation/visuo-haptic-hand}{visuo-haptic-hand}
\import{3-manipulation}{manipulation}
\importchapter{3-manipulation/visual-hand}{visual-hand}
\importchapter{3-manipulation/visuo-haptic-hand}{visuo-haptic-hand}
\input{4-conclusion/part}
\inputchapter{4-conclusion}{conclusion}
\import{4-conclusion}{part}
\importchapter{4-conclusion}{conclusion}
\backmatter
\inputchapter{4-conclusion}{bibliography}
\importchapter{4-conclusion}{bibliography}
\import{4-conclusion/backcover}{backcover}
\end{document}