diff options
Diffstat (limited to 'macros/unicodetex/latex/fontspec/fontspec-code-msg.dtx')
-rw-r--r-- | macros/unicodetex/latex/fontspec/fontspec-code-msg.dtx | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/macros/unicodetex/latex/fontspec/fontspec-code-msg.dtx b/macros/unicodetex/latex/fontspec/fontspec-code-msg.dtx index 1eafe2333d..1785437fa0 100644 --- a/macros/unicodetex/latex/fontspec/fontspec-code-msg.dtx +++ b/macros/unicodetex/latex/fontspec/fontspec-code-msg.dtx @@ -13,6 +13,7 @@ \cs_new:Npn \@@_error:n { \msg_error:nn {fontspec} } \cs_new:Npn \@@_error:nn { \msg_error:nnn {fontspec} } \cs_new:Npn \@@_error:nx { \msg_error:nnx {fontspec} } +\cs_new:Npn \@@_error:nxx { \msg_error:nnxx {fontspec} } \cs_new:Npn \@@_warning:n { \msg_warning:nn {fontspec} } \cs_new:Npn \@@_warning:nx { \msg_warning:nnx {fontspec} } \cs_new:Npn \@@_warning:nxx { \msg_warning:nnxx {fontspec} } @@ -188,10 +189,21 @@ Input mapping not supported in LuaTeX.\\ Use "Ligatures=TeX" instead of "Mapping=tex-text". } -\@@_msg_new:nn {cm-default-obsolete} +% \end{macrocode} +% message for package options must be loaded earlier +% \begin{macrocode} +%</fontspec> +%<*options> +\msg_new:nnn {fontspec} {cm-default-obsolete} + { + The~"cm-default"~package~option~is~obsolete. + } +\msg_new:nnn {fontspec} {enc-obsolete} { - The "cm-default" package option is obsolete. + The~"#1"~package~option~is~obsolete.~TU~is~the~default~encoding. } +%</options> +%<*fontspec> \@@_msg_new:nn {font-index-needs-ttc} { The "FontIndex" feature is only supported by TTC (TrueType Collection) fonts.\\ @@ -268,6 +280,7 @@ % ------------------------------------------------ % The FONTSPEC package <wspr.io/fontspec> % ------------------------------------------------ +% Copyright 2022-2023 The LaTeX project % Copyright 2004-2022 Will Robertson, LPPL "maintainer" % Copyright 2009-2015 Khaled Hosny % Copyright 2013 Philipp Gesang |