Add some conditional compilation to only extract the CV.
This commit is contained in:
parent
6e312dc069
commit
2f3bdd4be4
1 changed files with 14 additions and 0 deletions
14
hdr.tex
14
hdr.tex
|
@ -84,6 +84,10 @@
|
||||||
\graphicspath{{pics/}}
|
\graphicspath{{pics/}}
|
||||||
\usetikzlibrary{calc}
|
\usetikzlibrary{calc}
|
||||||
|
|
||||||
|
\newif\ifentiredoc
|
||||||
|
\entiredoctrue % Use this if you want to compile the entire document.
|
||||||
|
%\entiredocfalse % Use this if you only want the CV.
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
||||||
\pagestyle{fancy}
|
\pagestyle{fancy}
|
||||||
|
@ -95,6 +99,8 @@
|
||||||
\fancyhead[LO,RE]{\textcolor{Prune}{\textsl{\leftmark}}}
|
\fancyhead[LO,RE]{\textcolor{Prune}{\textsl{\leftmark}}}
|
||||||
\renewcommand{\headrule}{{\color{Prune}\hrule}}
|
\renewcommand{\headrule}{{\color{Prune}\hrule}}
|
||||||
|
|
||||||
|
\ifentiredoc
|
||||||
|
|
||||||
\newgeometry{left=6cm,bottom=2cm,top=1cm,right=1cm}
|
\newgeometry{left=6cm,bottom=2cm,top=1cm,right=1cm}
|
||||||
\setlength{\headheight}{14.89998pt}
|
\setlength{\headheight}{14.89998pt}
|
||||||
\input{title-page}
|
\input{title-page}
|
||||||
|
@ -103,17 +109,25 @@
|
||||||
\setlength{\headheight}{14.89998pt}
|
\setlength{\headheight}{14.89998pt}
|
||||||
\input{abstracts}
|
\input{abstracts}
|
||||||
|
|
||||||
|
\fi
|
||||||
|
|
||||||
\newgeometry{top=2cm, bottom=2cm, left=2cm, right=2cm}
|
\newgeometry{top=2cm, bottom=2cm, left=2cm, right=2cm}
|
||||||
\setlength{\headheight}{14.89998pt}
|
\setlength{\headheight}{14.89998pt}
|
||||||
|
|
||||||
|
\ifentiredoc
|
||||||
\tableofcontents
|
\tableofcontents
|
||||||
|
|
||||||
\changelocaltocdepth{0}
|
\changelocaltocdepth{0}
|
||||||
|
|
||||||
|
\fi
|
||||||
|
|
||||||
\input{cv}
|
\input{cv}
|
||||||
|
|
||||||
|
\ifentiredoc
|
||||||
|
|
||||||
\changelocaltocdepth{2}
|
\changelocaltocdepth{2}
|
||||||
|
|
||||||
|
\fi
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|
||||||
%%% Local Variables:
|
%%% Local Variables:
|
||||||
|
|
Loading…
Reference in a new issue