summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/rbt-mathnotes/rbt-mathnotes-messages.sty
blob: 30b0c1a777dd302359400cbd991cb2b3527fe2ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
%% 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.
  }