Use \includefrom for chapters
This commit is contained in:
2
main.tex
2
main.tex
@@ -80,7 +80,7 @@
|
|||||||
\newcommand{\importchapter}[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
|
\clearemptydoublepage% after a clear double page
|
||||||
\graphicspath{{#1/figures/}}% with figures
|
\graphicspath{{#1/figures/}}% with figures
|
||||||
\import{#1}{#2}% and relative paths \input in the chapter
|
\includefrom{#1}{#2}% and relative paths \input in the chapter
|
||||||
}
|
}
|
||||||
|
|
||||||
\newcommand{\mainchapter}[1]{%
|
\newcommand{\mainchapter}[1]{%
|
||||||
|
|||||||
Reference in New Issue
Block a user