[Include] Add deprecation warning and fix loading through old method
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
% Loader
|
||||
\ClassWarning{janishutz-helpers}{Using legacy loading method. Please see the docs for updating}
|
||||
\newcommand{\load}[1]{
|
||||
\edef\recommended{recommended}
|
||||
\edef\minimal{minimal}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
\newcommand{\loadFull}{
|
||||
\input{\dir/dist/recommended.tex}
|
||||
\input{\dir/scopes/recommended.tex}
|
||||
\loadRecommended
|
||||
\input{\dir/extra/minted.tex}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
\newcommand{\loadMost}{
|
||||
\typeout{[CustomLaTeXHelperLoader]: Loaded most}
|
||||
\input{\dir/dist/minimal.tex}
|
||||
\input{\dir/scopes/minimal.tex}
|
||||
\loadMinimal
|
||||
\input{\dir/main/math.tex}
|
||||
\input{\dir/main/cs.tex}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
\newcommand{\loadRecommended}{
|
||||
\typeout{[CustomLaTeXHelperLoader]: Loaded recommended}
|
||||
\input{\dir/dist/most.tex}
|
||||
\input{\dir/scopes/most.tex}
|
||||
\loadMost
|
||||
\input{\dir/extra/bib.tex}
|
||||
\input{\dir/extra/glossary.tex}
|
||||
|
||||
Reference in New Issue
Block a user