From 66725558bb28f3265cff5c8368659c26c20b8689 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Mon, 10 Nov 2025 11:49:57 +0100 Subject: [PATCH] [Include] Add deprecation warning and fix loading through old method --- include.tex | 1 + scopes/full.tex | 2 +- scopes/most.tex | 2 +- scopes/recommended.tex | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include.tex b/include.tex index 1dc63e2..8fdec35 100644 --- a/include.tex +++ b/include.tex @@ -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} diff --git a/scopes/full.tex b/scopes/full.tex index 475df3c..b24663e 100644 --- a/scopes/full.tex +++ b/scopes/full.tex @@ -1,5 +1,5 @@ \newcommand{\loadFull}{ - \input{\dir/dist/recommended.tex} + \input{\dir/scopes/recommended.tex} \loadRecommended \input{\dir/extra/minted.tex} } diff --git a/scopes/most.tex b/scopes/most.tex index 61d4649..b530906 100644 --- a/scopes/most.tex +++ b/scopes/most.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} diff --git a/scopes/recommended.tex b/scopes/recommended.tex index fe4a045..3a67bc7 100644 --- a/scopes/recommended.tex +++ b/scopes/recommended.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}