moved auxilary files

to separate folder to prevent cluttering
This commit is contained in:
Sven Vogel 2023-09-15 15:45:53 +02:00
parent c81e94bff6
commit d1ed1dfa8c
4 changed files with 51 additions and 36 deletions

5
.gitignore vendored
View File

@ -314,4 +314,7 @@ TSWLatexianTemp*
# End of https://www.toptal.com/developers/gitignore/api/latex # End of https://www.toptal.com/developers/gitignore/api/latex
# ignore generated pdf file # ignore generated pdf file
main.pdf main.pdf
tmp
build

View File

@ -1,6 +1,13 @@
# make file for latex # make file for latex
@default_files = ('main.tex'); @default_files = ('main.tex');
# Move all axuiliary files to a separate directory, so they do not clutter up the project directory
$emulate_aux = 1;
$aux_dir = "tmp";
# Move the compiled files (and synctex) to a separate directory
$out_dir = 'build';
$pdflatex = 'pdflatex %O -interaction=nonstopmode -shell-escape %S'; $pdflatex = 'pdflatex %O -interaction=nonstopmode -shell-escape %S';
# Specify the bibliography # Specify the bibliography
@ -10,11 +17,16 @@ $makeglossaries = 'makeglossaries %O %B';
# Continuous preview mode # Continuous preview mode
$continuous_mode = 1; $continuous_mode = 1;
# Output to PDF # Set the program used to generate the PDF
# 1: pdflatex
# 2: postscript conversion, don't use this
# 3: dvi conversion, don't use this
# 4: lualatex
# 5: xelatex
$pdf_mode = 1; $pdf_mode = 1;
# Keep auxiliary files # Keep auxiliary files
$clean_ext = ""; $clean_ext = " ";
add_cus_dep( 'acn', 'acr', 0, 'makeglossaries' ); add_cus_dep( 'acn', 'acr', 0, 'makeglossaries' );
add_cus_dep( 'glo', 'gls', 0, 'makeglossaries' ); add_cus_dep( 'glo', 'gls', 0, 'makeglossaries' );

View File

@ -2,29 +2,29 @@
% ===================================================================== % =====================================================================
% latex packages to use % latex packages to use
\usepackage{graphicx} % Required for inserting images \usepackage{graphicx} % Required for inserting images
\usepackage{longtable} % Tables that can overflow pages \usepackage{longtable} % Tables that can overflow pages
\usepackage{setspace} % for more spacing control \usepackage{setspace} % for more spacing control
\usepackage{geometry} % for margin control \usepackage{geometry} % for margin control
\usepackage{tabularx} % extension of tabular environment that allows dynamic widths \usepackage{tabularx} % extension of tabular environment that allows dynamic widths
\usepackage{hyperref} % for referecing stuff \usepackage{hyperref} % for referecing stuff
\usepackage{fancyhdr} % fancy headers \usepackage{fancyhdr} % fancy headers
\usepackage{import} % advanced document import \usepackage{import} % advanced document import
\usepackage{pdfpages} % include multipage pdf documents \usepackage{pdfpages} % include multipage pdf documents
\usepackage{tikz} % graphics, diagrams, logic \usepackage{tikz} % graphics, diagrams, logic
\usepackage{imakeidx} % inhaltsverzeichnis \usepackage{imakeidx} % inhaltsverzeichnis
\usepackage{nomencl} % nomenclature \usepackage{nomencl} % nomenclature
\usepackage{acro} % acronyms \usepackage{acro} % acronyms
\usepackage[ngerman]{babel} % german language support \usepackage[ngerman]{babel} % german language support
\usepackage[labelfont=bf]{caption} % make caption title fat \usepackage[labelfont=bf]{caption} % make caption title fat
\usepackage{wrapfig} % for figures wrapping text wraps around \usepackage{wrapfig} % for figures wrapping text wraps around
\usepackage{minted} % highlighted code blocks \usepackage[cache=false]{minted} % highlighted code blocks
\usepackage[toc,style=altlist]{glossaries} \usepackage[toc,style=altlist]{glossaries}
\usepackage{tocloft} % control over the typography of the Table of Contents, etc. \usepackage{tocloft} % control over the typography of the Table of Contents, etc.
\usepackage{listings} % code listings \usepackage{listings} % code listings
\usepackage{color} % more colors \usepackage{color} % more colors
\usepackage{tikz} % painting \usepackage{tikz} % painting
\usepackage{tikz-imagelabels} % overlay labels for images \usepackage{tikz-imagelabels} % overlay labels for images
\makeindex \makeindex
\makenomenclature \makenomenclature
@ -41,9 +41,9 @@
% ===================================================================== % =====================================================================
% include configuration files % include configuration files
\include{config/author} % meta information about author \input{config/author} % meta information about author
\include{config/pages} % set page configuration \input{config/pages} % set page configuration
\include{config/minted} % set minted configuration \input{config/minted} % set minted configuration
\input{extra/utils} % some utility stuff \input{extra/utils} % some utility stuff
@ -52,13 +52,13 @@
\pagenumbering{Roman} \pagenumbering{Roman}
% include documents in the directory pages/ % include documents in the directory pages/
\include{pages/page-01-title} \input{pages/page-01-title}
\include{pages/page-02-indipendence-declaration} \input{pages/page-02-indipendence-declaration}
\include{pages/page-03-lock-notice} \input{pages/page-03-lock-notice}
\include{pages/page-04-abstract} \input{pages/page-04-abstract}
\include{pages/page-05-summary} \input{pages/page-05-summary}
\include{pages/page-06-preface} \input{pages/page-06-preface}
\include{pages/page-07-indices} \input{pages/page-07-indices}
% ===================================================================== % =====================================================================
% chapter % chapter

View File

@ -2,4 +2,4 @@
% Every chapter used in the document has to be included here % Every chapter used in the document has to be included here
% include actual chapters % include actual chapters
\include{chapter/chapter-introduction} \input{chapter/chapter-introduction}