diff --git a/config/acronyms.tex b/config/acronyms.tex index b5676e1..6a491eb 100644 --- a/config/acronyms.tex +++ b/config/acronyms.tex @@ -27,7 +27,7 @@ \expandafter\newcommand\csname #1\endcsname{% Create a command named after the acronym (call \#1) \gls{#1}\xspace% }% - \expandafter\newcommand\csname #1s\endcsname{% + \expandafter\providecommand\csname #1s\endcsname{% Create a plural command (call \#1s) if not already defined \glspl{#1}\xspace% }% } diff --git a/main.tex b/main.tex index 43c886c..f6edfa9 100644 --- a/main.tex +++ b/main.tex @@ -21,12 +21,12 @@ pdfkeywords = {}, } -\input{config/acronyms} - % Custom commands \input{utils/commands} \input{config/thesis_commands} +\input{config/acronyms} + % Full or partial compilation \newcommand{\importcover}[2]{\import{#1}{#2}} \iftrue