| 1 |
%% |
| 2 |
%% This is file `errbabel.def', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% babel.dtx (with options: `errors') |
| 8 |
%% |
| 9 |
%% |
| 10 |
%% Copyright (C) 2012-2026 Javier Bezos and Johannes L. Braams. |
| 11 |
%% Copyright (C) 1989-2012 Johannes L. Braams and |
| 12 |
%% any individual authors listed elsewhere in this file. |
| 13 |
%% All rights reserved. |
| 14 |
%% |
| 15 |
%% |
| 16 |
%% This file is part of the Babel system. |
| 17 |
%% -------------------------------------- |
| 18 |
%% |
| 19 |
%% It may be distributed and/or modified under the |
| 20 |
%% conditions of the LaTeX Project Public License, either version 1.3 |
| 21 |
%% of this license or (at your option) any later version. |
| 22 |
%% The latest version of this license is in |
| 23 |
%% http://www.latex-project.org/lppl.txt |
| 24 |
%% and version 1.3 or later is part of all distributions of LaTeX |
| 25 |
%% version 2003/12/01 or later. |
| 26 |
%% |
| 27 |
%% This work has the LPPL maintenance status "maintained". |
| 28 |
%% |
| 29 |
%% The Current Maintainer of this work is Javier Bezos. |
| 30 |
%% |
| 31 |
%% The list of derived (unpacked) files belonging to the distribution |
| 32 |
%% and covered by LPPL is defined by the unpacking scripts (with |
| 33 |
%% extension |.ins|) which are part of the distribution. |
| 34 |
%% |
| 35 |
\catcode`\{=1 \catcode`\}=2 \catcode`\#=6 |
| 36 |
\catcode`\:=12 \catcode`\,=12 \catcode`\.=12 \catcode`\-=12 |
| 37 |
\catcode`\'=12 \catcode`\(=12 \catcode`\)=12 |
| 38 |
\catcode`\@=11 \catcode`\^=7 |
| 39 |
\ifx\MessageBreak\@undefined |
| 40 |
\gdef\bbl@error@i#1#2{% |
| 41 |
\begingroup |
| 42 |
\newlinechar=`\^^J |
| 43 |
\def\\{^^J(babel) }% |
| 44 |
\errhelp{#2}\errmessage{\\#1}% |
| 45 |
\endgroup} |
| 46 |
\else |
| 47 |
\gdef\bbl@error@i#1#2{% |
| 48 |
\begingroup |
| 49 |
\def\\{\MessageBreak}% |
| 50 |
\PackageError{babel}{#1}{#2}% |
| 51 |
\endgroup} |
| 52 |
\fi |
| 53 |
\def\bbl@errmessage#1#2#3{% |
| 54 |
\expandafter\gdef\csname bbl@err@#1\endcsname##1##2##3{% |
| 55 |
\bbl@error@i{#2}{#3}}} |
| 56 |
\gdef\bbl@error#1{\csname bbl@err@#1\endcsname} |
| 57 |
\bbl@errmessage{not-yet-available} |
| 58 |
{Not yet available}% |
| 59 |
{Find an armchair, sit down and wait} |
| 60 |
\bbl@errmessage{bad-package-option}% |
| 61 |
{Bad option '#1=#2'. Either you have misspelled the\\% |
| 62 |
key or there is a previous setting of '#1'. Valid\\% |
| 63 |
keys are, among others, 'shorthands', 'main', 'bidi',\\% |
| 64 |
'strings', 'config', 'headfoot', 'safe', 'math'.}% |
| 65 |
{See the manual for further details.} |
| 66 |
\bbl@errmessage{base-on-the-fly} |
| 67 |
{For a language to be defined on the fly 'base'\\% |
| 68 |
is not enough, and the whole package must be\\% |
| 69 |
loaded. Either delete the 'base' option or\\% |
| 70 |
request the languages explicitly}% |
| 71 |
{See the manual for further details.} |
| 72 |
\bbl@errmessage{undefined-language} |
| 73 |
{You haven't defined the language '#1' yet.\\% |
| 74 |
Perhaps you misspelled it or your installation\\% |
| 75 |
is not complete}% |
| 76 |
{Your command will be ignored, type <return> to proceed} |
| 77 |
\bbl@errmessage{invalid-ini-name} |
| 78 |
{'#1' not valid with the 'ini' mechanism.\\% |
| 79 |
I think you want '#2' instead. You may continue,\\% |
| 80 |
but you should fix the name. See the babel manual\\% |
| 81 |
for the available locales with 'provide'}% |
| 82 |
{See the manual for further details.} |
| 83 |
\bbl@errmessage{shorthand-is-off} |
| 84 |
{I can't declare a shorthand turned off (\string#2)} |
| 85 |
{Sorry, but you can't use shorthands which have been\\% |
| 86 |
turned off in the package options} |
| 87 |
\bbl@errmessage{not-a-shorthand} |
| 88 |
{The character '\string #1' should be made a shorthand character;\\% |
| 89 |
add the command \string\useshorthands\string{#1\string} to |
| 90 |
the preamble.\\% |
| 91 |
I will ignore your instruction}% |
| 92 |
{You may proceed, but expect unexpected results} |
| 93 |
\bbl@errmessage{not-a-shorthand-b} |
| 94 |
{I can't switch '\string#2' on or off--not a shorthand\\% |
| 95 |
This character is not a shorthand. Maybe you made\\% |
| 96 |
a typing mistake?}% |
| 97 |
{I will ignore your instruction.} |
| 98 |
\bbl@errmessage{unknown-attribute} |
| 99 |
{The attribute #2 is unknown for language #1.}% |
| 100 |
{Your command will be ignored, type <return> to proceed} |
| 101 |
\bbl@errmessage{missing-group} |
| 102 |
{Missing group for string \string#1}% |
| 103 |
{You must assign strings to some category, typically\\% |
| 104 |
captions or extras, but you set none} |
| 105 |
\bbl@errmessage{only-lua-xe} |
| 106 |
{This macro is available only in LuaLaTeX and XeLaTeX.}% |
| 107 |
{Consider switching to these engines.} |
| 108 |
\bbl@errmessage{only-lua} |
| 109 |
{This macro is available only in LuaLaTeX}% |
| 110 |
{Consider switching to that engine.} |
| 111 |
\bbl@errmessage{unknown-provide-key} |
| 112 |
{Unknown key '#1' in \string\babelprovide}% |
| 113 |
{See the manual for valid keys}% |
| 114 |
\bbl@errmessage{unknown-mapfont} |
| 115 |
{Option '\bbl@KVP@mapfont' unknown for\\% |
| 116 |
mapfont. Use 'direction'}% |
| 117 |
{See the manual for details.} |
| 118 |
\bbl@errmessage{no-ini-file} |
| 119 |
{There is no ini file for the requested language\\% |
| 120 |
(#1: \languagename). Perhaps you misspelled it or your\\% |
| 121 |
installation is not complete}% |
| 122 |
{Fix the name or reinstall babel.} |
| 123 |
\bbl@errmessage{digits-is-reserved} |
| 124 |
{The counter name 'digits' is reserved for mapping\\% |
| 125 |
decimal digits}% |
| 126 |
{Use another name.} |
| 127 |
\bbl@errmessage{limit-two-digits} |
| 128 |
{Currently two-digit years are restricted to the\\ |
| 129 |
range 0-9999}% |
| 130 |
{There is little you can do. Sorry.} |
| 131 |
\bbl@errmessage{alphabetic-too-large} |
| 132 |
{Alphabetic numeral too large (#1)}% |
| 133 |
{Currently this is the limit.} |
| 134 |
\bbl@errmessage{no-ini-info} |
| 135 |
{I've found no info for the current locale.\\% |
| 136 |
The corresponding ini file has not been loaded\\% |
| 137 |
Perhaps it doesn't exist}% |
| 138 |
{See the manual for details.} |
| 139 |
\bbl@errmessage{unknown-ini-field} |
| 140 |
{Unknown field '#1' in \string\BCPdata.\\% |
| 141 |
Perhaps you misspelled it}% |
| 142 |
{See the manual for details.} |
| 143 |
\bbl@errmessage{unknown-locale-key} |
| 144 |
{Unknown key for locale '#2':\\% |
| 145 |
#3\\% |
| 146 |
\string#1 will be set to \string\relax}% |
| 147 |
{Perhaps you misspelled it.}% |
| 148 |
\bbl@errmessage{adjust-only-vertical} |
| 149 |
{Currently, #1 related features can be adjusted only\\% |
| 150 |
in the main vertical list}% |
| 151 |
{Maybe things change in the future, but this is what it is.} |
| 152 |
\bbl@errmessage{layout-only-vertical} |
| 153 |
{Currently, layout related features can be adjusted only\\% |
| 154 |
in vertical mode}% |
| 155 |
{Maybe things change in the future, but this is what it is.} |
| 156 |
\bbl@errmessage{bidi-only-lua} |
| 157 |
{The bidi method 'basic' is available only in\\% |
| 158 |
luatex. I'll continue with 'bidi=default', so\\% |
| 159 |
expect wrong results.\\% |
| 160 |
Suggested actions:\\% |
| 161 |
* If possible, switch to luatex, as xetex is not\\% |
| 162 |
recommend anymore.\\ |
| 163 |
* If you can’t, try 'bidi=bidi' with xetex.\\% |
| 164 |
* With pdftex, only 'bidi=default' is available.}% |
| 165 |
{See the manual for further details.} |
| 166 |
\bbl@errmessage{multiple-bidi} |
| 167 |
{Multiple bidi settings inside a group\\% |
| 168 |
I'll insert a new group, but expect wrong results.\\% |
| 169 |
Suggested action:\\% |
| 170 |
* Add a new group where appropriate.} |
| 171 |
{See the manual for further details.} |
| 172 |
\bbl@errmessage{unknown-package-option} |
| 173 |
{Unknown option '\CurrentOption'.\\% |
| 174 |
Suggested actions:\\% |
| 175 |
* Make sure you haven’t misspelled it\\% |
| 176 |
* Check in the babel manual that it's supported\\% |
| 177 |
* If supported and it's a language, you may\\% |
| 178 |
\space\space need in some distributions a separate\\% |
| 179 |
\space\space installation\\% |
| 180 |
* If installed, check there isn’t an old\\% |
| 181 |
\space\space version of the required files in your system\\% |
| 182 |
* If it's an unsupported language, create it with\\% |
| 183 |
\string\babelprovide (see the manual)} |
| 184 |
{Valid options are, among others: shorthands=, KeepShorthandsActive,\\% |
| 185 |
activeacute, activegrave, noconfigs, safe=, main=, math=\\% |
| 186 |
headfoot=, strings=, config=, hyphenmap=, or a language name.} |
| 187 |
\bbl@errmessage{config-not-found} |
| 188 |
{Local config file '\bbl@[email protected]' not found.\\% |
| 189 |
Suggested actions:\\% |
| 190 |
* Make sure you haven’t misspelled it in config=\\% |
| 191 |
* Check it exists and it’s in the correct path}% |
| 192 |
{Perhaps you misspelled it.} |
| 193 |
\bbl@errmessage{late-after-babel} |
| 194 |
{Too late for \string\AfterBabelLanguage}% |
| 195 |
{Languages have been loaded, so I can do nothing} |
| 196 |
\bbl@errmessage{double-hyphens-class} |
| 197 |
{Double hyphens aren't allowed in \string\babelcharclass\\% |
| 198 |
because it's potentially ambiguous}% |
| 199 |
{See the manual for further info} |
| 200 |
\bbl@errmessage{unknown-interchar} |
| 201 |
{'#1' for '\languagename' cannot be enabled.\\% |
| 202 |
Maybe there is a typo}% |
| 203 |
{See the manual for further details.} |
| 204 |
\bbl@errmessage{unknown-interchar-b} |
| 205 |
{'#1' for '\languagename' cannot be disabled.\\% |
| 206 |
Maybe there is a typo}% |
| 207 |
{See the manual for further details.} |
| 208 |
\bbl@errmessage{charproperty-only-vertical} |
| 209 |
{\string\babelcharproperty\space can be used only in\\% |
| 210 |
vertical mode (preamble or between paragraphs)}% |
| 211 |
{See the manual for further info} |
| 212 |
\bbl@errmessage{unknown-char-property} |
| 213 |
{No property named '#2'. Allowed values are\\% |
| 214 |
direction (bc), mirror (bmg), and linebreak (lb)}% |
| 215 |
{See the manual for further info} |
| 216 |
\bbl@errmessage{bad-transform-option} |
| 217 |
{Bad option '#1' in a transform.\\% |
| 218 |
I’ll ignore it but expect more errors}% |
| 219 |
{See the manual for further info.} |
| 220 |
\bbl@errmessage{font-conflict-transforms} |
| 221 |
{Transforms cannot be re-assigned to different\\% |
| 222 |
fonts. The conflict is in '\bbl@kv@label'.\\% |
| 223 |
Apply the same fonts or use a different label}% |
| 224 |
{See the manual for further details.} |
| 225 |
\bbl@errmessage{transform-not-available} |
| 226 |
{'#1' for '\languagename' cannot be enabled.\\% |
| 227 |
Maybe there is a typo or it’s a font-dependent transform}% |
| 228 |
{See the manual for further details.} |
| 229 |
\bbl@errmessage{transform-not-available-b} |
| 230 |
{'#1' for '\languagename' cannot be disabled.\\% |
| 231 |
Maybe there is a typo or it’s a font-dependent transform}% |
| 232 |
{See the manual for further details.} |
| 233 |
\bbl@errmessage{year-out-range} |
| 234 |
{Year out of range.\\% |
| 235 |
The allowed range is #1}% |
| 236 |
{See the manual for further details.} |
| 237 |
\bbl@errmessage{only-pdftex-lang} |
| 238 |
{The '#1' ldf style doesn't work with #2,\\% |
| 239 |
but you can use the ini locale instead.\\% |
| 240 |
Try adding 'provide=*' to the option list. You may\\% |
| 241 |
also want to set 'bidi=' to some value}% |
| 242 |
{See the manual for further details.} |
| 243 |
\bbl@errmessage{hyphenmins-args} |
| 244 |
{\string\babelhyphenmins\ accepts either the optional\\% |
| 245 |
argument or the star, but not both at the same time}% |
| 246 |
{See the manual for further details.} |
| 247 |
\bbl@errmessage{no-locale-for-meta} |
| 248 |
{There isn't currently a locale for the 'lang' requested\\% |
| 249 |
in the PDF metadata ('#1'). To fix it, you can\\% |
| 250 |
set explicitly a similar language (using the same\\% |
| 251 |
script) with the key main= when loading babel. If you\\% |
| 252 |
continue, I'll fallback to the 'nil' language, with\\% |
| 253 |
tag 'und' and script 'Latn', but expect a bad font\\% |
| 254 |
rendering with other scripts. You may also need set\\% |
| 255 |
explicitly captions and date, too}% |
| 256 |
{See the manual for further details.} |
| 257 |
\endinput |
| 258 |
%% |
| 259 |
%% End of file `errbabel.def'. |