%% rbt-mathnotes-messages.sty
%% Copyright 2021 Rebecca B. Turner.
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
% This work has the LPPL maintenance status `maintained'.
% 
% The Current Maintainer of this work is Rebecca B. Turner.
%
% This work consists of the files:
%     README.md
%     rbt-mathnotes.tex
%     rbt-mathnotes.sty
%     rbt-mathnotes.cls
%     rbt-mathnotes-util.sty
%     rbt-mathnotes-messages.sty
%     rbt-mathnotes-hw.cls
%     rbt-mathnotes-formula-sheet.cls
%     examples/cheat-sheet.tex
%     examples/multivar.tex
%     examples/topology-hw-1.tex
% and the derived files:
%     rbt-mathnotes.pdf
%     examples/cheat-sheet.pdf
%     examples/multivar.pdf
%     examples/topology-hw-1.pdf

\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\ProvidesExplPackage{rbt-mathnotes-messages}{2021/11/29}{1.0.2}{Messages
  for mathnotes.}

\msg_new:nnnn { mathnotes }
  { no name }
  {
    No~author~name~given~but~\exp_not:N \maketitle~was~still~used.
  }
  {
    Set~your~name~in~the~preamble: \\
    \exp_not:N \mathnotes\{~name~=~Your~name~...~,~\}
  }

\msg_new:nnnn { mathnotes }
  { acronym already defined }
  {
    Command~#1~already~defined;~refusing~to~redefine~as~an~acronym~for~#2.
  }
  {
    Pick~a~different~destination~control~sequence~with~\protect\newacronym's~
    optional~argument?
  }

\msg_new:nnnn { mathnotes }
  { no key in problem }
  {
    Key~#1~is~not~defined~for~the~problem~environment.
  }
  {
    If~you~meant~to~set~the~problem~number,~don't~include~a~value.
  }


\msg_new:nnnn { mathnotes }
  { requires memoir class }
  {
    Option~#1~can~only~be~used~with~the~memoir~class!
  }
  {
    Use~the~memoir~document~class~or~one~of~the~rbt-mathnotes~classes~wrapping~it.
  }
