summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/rbt-mathnotes/rbt-mathnotes-messages.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-12-01 03:00:56 +0000
committerNorbert Preining <norbert@preining.info>2021-12-01 03:00:56 +0000
commite127e502f1bc7386699c44d75c89991f1a5e0ac6 (patch)
tree09f9704271735fd37227a9c34d888dccc4153dc9 /macros/latex/contrib/rbt-mathnotes/rbt-mathnotes-messages.sty
parent37729ddea335ca0dfe40ada381d05bde37c5ea61 (diff)
CTAN sync 202112010300
Diffstat (limited to 'macros/latex/contrib/rbt-mathnotes/rbt-mathnotes-messages.sty')
-rw-r--r--macros/latex/contrib/rbt-mathnotes/rbt-mathnotes-messages.sty76
1 files changed, 76 insertions, 0 deletions
diff --git a/macros/latex/contrib/rbt-mathnotes/rbt-mathnotes-messages.sty b/macros/latex/contrib/rbt-mathnotes/rbt-mathnotes-messages.sty
new file mode 100644
index 0000000000..30b0c1a777
--- /dev/null
+++ b/macros/latex/contrib/rbt-mathnotes/rbt-mathnotes-messages.sty
@@ -0,0 +1,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.
+ }