In a large project, it is not uncommon to have LaTeX documents built in different subdirectories and to have each subdirectory include UseLATEX.cmake. However, loading UseLATEX.cmake multiple times caused the pdf, dvi, etc. targets to be created multiple times even though the intention is to have them loaded once. This change creates each target only once.
15 lines
271 B
TeX
15 lines
271 B
TeX
\documentclass{article}
|
|
|
|
\usepackage{graphicx}
|
|
|
|
\begin{document}
|
|
|
|
\textbf{Document from subdirectory 1}
|
|
|
|
Here is an image:
|
|
\fbox{\includegraphics[width=2in]{images/Cool2WarmBar}}
|
|
|
|
This included file should show up on the next page.
|
|
\include{IncludedFile}
|
|
|
|
\end{document}
|