summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/unicode-math/unicode-math.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/unicode-math/unicode-math.sty')
-rw-r--r--Master/texmf-dist/tex/latex/unicode-math/unicode-math.sty52
1 files changed, 30 insertions, 22 deletions
diff --git a/Master/texmf-dist/tex/latex/unicode-math/unicode-math.sty b/Master/texmf-dist/tex/latex/unicode-math/unicode-math.sty
index 39631028f3f..33c2786fa08 100644
--- a/Master/texmf-dist/tex/latex/unicode-math/unicode-math.sty
+++ b/Master/texmf-dist/tex/latex/unicode-math/unicode-math.sty
@@ -16,7 +16,7 @@
%%
%% This work is "author-maintained" by Will Robertson.
\ProvidesPackage{unicode-math}
- [2011/09/18 v0.6 Unicode maths in XeLaTeX and LuaLaTeX]
+ [2011/09/19 v0.6a Unicode maths in XeLaTeX and LuaLaTeX]
\usepackage{ifxetex,ifluatex}
\ifxetex\else\ifluatex\else
\PackageError{unicode-math}{%
@@ -280,6 +280,14 @@
\use:c{um_setup_active_frac:}
}
}
+\keys_define:nn {unicode-math}
+ {
+ warnings-off .code:n =
+ {
+ \clist_map_inline:nn {#1}
+ { \msg_redirect_name:nnn { unicode-math } { ##1 } { none } }
+ }
+ }
\keys_define:nn {unicode-math} {
trace .choice: ,
trace / debug .code:n = {
@@ -328,13 +336,13 @@
Setup~ alphabet:~ #1.
}
\msg_new:nnnn { unicode-math } { no-font-selected } {
- You've~ loaded~ the~ unicode-math~ package,~ but~ you~ forgot~ to~ select \\
+ You've~ loaded~ the~ unicode-math~ package,~ but~ you~ forgot~ to~ select~
a~ Unicode~ math~ font.~ Please~ select~ one~ with~ the~ \token_to_str:N \setmathfont \\
command.
} {
- Loading~ the~ unicode-math~ package~ without~ using~ a~ Unicode~ math~ font \\
- is~ not~ supported.~ Either~ select~ a~ Unicode~ math~ font,~ or~ don't~ load \\
- the~ unicode-math~ package.
+ Loading~ the~ unicode-math~ package~ without~ using~ a~ Unicode~ math~ font~
+ is~ not~ supported.~ Either~ select~ a~ Unicode~ math~ font,~ or~ don't~
+ load~ the~ unicode-math~ package.
}
\msg_new:nnn { unicode-math } { missing-alphabets }
{
@@ -354,29 +362,29 @@
{
I'm~ going~ to~ patch~ macro~ #1.
}
-\msg_new:nnn { unicode-math } { mathtools } {
- I'm~ going~ to~ overwrite~ the~ following~ commands~ from \\
- the~ `mathtools'~ package: \\
- \token_to_str:N \dblcolon,~
+\msg_new:nnn { unicode-math } { mathtools-colon } {
+ I'm~ going~ to~ overwrite~ the~ following~ commands~ from~
+ the~ `mathtools'~ package: \\ \\
+ \ \ \ \ \token_to_str:N \dblcolon,~
\token_to_str:N \coloneqq,~
\token_to_str:N \Coloneqq,~
- \token_to_str:N \eqqcolon. \\
- Note~ that~ since~ I~ won't~ overwrite~ the~ other~ colon-like \\
+ \token_to_str:N \eqqcolon. \\ \\
+ Note~ that~ since~ I~ won't~ overwrite~ the~ other~ colon-like~
commands,~ using~ them~ will~ lead~ to~ inconsistencies.
}
\msg_new:nnn { unicode-math } { colonequals } {
- I'm~ going~ to~ overwrite~ the~ following~ commands~ from \\
- the~ `colonequals'~ package: \\
- \token_to_str:N \ratio,~
- \token_to_str:N \coloncolon,~
- \token_to_str:N \minuscolon, \\
- \token_to_str:N \colonequals,~
- \token_to_str:N \equalscolon,~
- \token_to_str:N \coloncolonequals. \\
- Note~ that~ since~ I~ won't~ overwrite~ the~ other~ colon-like \\
- commands,~ using~ them~ will~ lead~ to~ inconsistencies. \\
+ I'm~ going~ to~ overwrite~ the~ following~ commands~ from~
+ the~ `colonequals'~ package: \\ \\
+ \ \ \ \ \token_to_str:N \ratio,~
+ \token_to_str:N \coloncolon,~
+ \token_to_str:N \minuscolon, \\
+ \ \ \ \ \token_to_str:N \colonequals,~
+ \token_to_str:N \equalscolon,~
+ \token_to_str:N \coloncolonequals. \\ \\
+ Note~ that~ since~ I~ won't~ overwrite~ the~ other~ colon-like~
+ commands,~ using~ them~ will~ lead~ to~ inconsistencies.~
Furthermore,~ changing~ \token_to_str:N \colonsep \c_space_tl
- or~ \token_to_str:N \doublecolonsep \c_space_tl won't~ have \\
+ or~ \token_to_str:N \doublecolonsep \c_space_tl won't~ have~
any~ effect~ on~ the~ re-defined~ commands.
}
\luatex_if_engine:T { \usepackage{unicode-math-luatex} \endinput }