41 lines
1.3 KiB
TeX
41 lines
1.3 KiB
TeX
|
|
% Loader
|
|
\newcommand{\load}[1]{
|
|
\edef\recommended{recommended}
|
|
\edef\minimal{minimal}
|
|
\edef\most{most}
|
|
\edef\full{full}
|
|
\edef\letter{letter}
|
|
\edef\temp{#1}
|
|
\ifx \temp\recommended
|
|
\typeout{[CustomLaTeXHelperLoader]: Loading config recommended}
|
|
\input{\dir/dist/recommended.tex}
|
|
\loadRecommended
|
|
\else
|
|
\ifx \temp\minimal
|
|
\typeout{[CustomLaTeXHelperLoader]: Loading config minimal}
|
|
\input{\dir/dist/minimal.tex}
|
|
\loadMinimal
|
|
\else
|
|
\ifx \temp\most
|
|
\typeout{[CustomLaTeXHelperLoader]: Loading config most}
|
|
\input{\dir/dist/most.tex}
|
|
\loadMost
|
|
\else
|
|
\ifx \temp\full
|
|
\typeout{[CustomLaTeXHelperLoader]: Loading config full}
|
|
\input{\dir/dist/full.tex}
|
|
\loadFull
|
|
\else
|
|
\ifx \temp\letter
|
|
\typeout{[CustomLaTeXHelperLoader]: Loading config letter}
|
|
\input{\dir/dist/letter.tex}
|
|
\else
|
|
\typeout{[CustomLaTeXHelperLoader]: NO CONFIG SPECIFIED, NOTHING LOADED!}
|
|
\fi
|
|
\fi
|
|
\fi
|
|
\fi
|
|
\fi
|
|
}
|