From e127e502f1bc7386699c44d75c89991f1a5e0ac6 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 1 Dec 2021 03:00:56 +0000 Subject: CTAN sync 202112010300 --- .../rbt-mathnotes/rbt-mathnotes-messages.sty | 76 ++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 macros/latex/contrib/rbt-mathnotes/rbt-mathnotes-messages.sty (limited to 'macros/latex/contrib/rbt-mathnotes/rbt-mathnotes-messages.sty') 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. + } -- cgit v1.2.3