TeX.js 5.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /*************************************************************
  2. *
  3. * MathJax/localization/en/TeX.js
  4. *
  5. * Copyright (c) 2009-2016 The MathJax Consortium
  6. *
  7. * Licensed under the Apache License, Version 2.0 (the "License");
  8. * you may not use this file except in compliance with the License.
  9. * You may obtain a copy of the License at
  10. *
  11. * http://www.apache.org/licenses/LICENSE-2.0
  12. *
  13. * Unless required by applicable law or agreed to in writing, software
  14. * distributed under the License is distributed on an "AS IS" BASIS,
  15. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. * See the License for the specific language governing permissions and
  17. * limitations under the License.
  18. *
  19. */
  20. MathJax.Localization.addTranslation("en","TeX",{
  21. version: "2.7.2",
  22. isLoaded: true,
  23. strings: {
  24. ExtraOpenMissingClose: "Extra open brace or missing close brace",
  25. ExtraCloseMissingOpen: "Extra close brace or missing open brace",
  26. MissingLeftExtraRight: "Missing \\left or extra \\right",
  27. MissingScript: "Missing superscript or subscript argument",
  28. ExtraLeftMissingRight: "Extra \\left or missing \\right",
  29. Misplaced: "Misplaced %1",
  30. MissingOpenForSub: "Missing open brace for subscript",
  31. MissingOpenForSup: "Missing open brace for superscript",
  32. AmbiguousUseOf: "Ambiguous use of %1",
  33. EnvBadEnd: "\\begin{%1} ended with \\end{%2}",
  34. EnvMissingEnd: "Missing \\end{%1}",
  35. MissingBoxFor: "Missing box for %1",
  36. MissingCloseBrace: "Missing close brace",
  37. UndefinedControlSequence: "Undefined control sequence %1",
  38. DoubleExponent: "Double exponent: use braces to clarify",
  39. DoubleSubscripts: "Double subscripts: use braces to clarify",
  40. DoubleExponentPrime: "Prime causes double exponent: Use braces to clarify",
  41. CantUseHash1: "You cannot use 'macro parameter character #' in math mode",
  42. MisplacedMiddle: "%1 must be within \\left and \\right",
  43. MisplacedLimits: "%1 is allowed only on operators",
  44. MisplacedMoveRoot: "%1 can appear only within a root",
  45. MultipleCommand: "Multiple %1",
  46. IntegerArg: "The argument to %1 must be an integer",
  47. NotMathMLToken: "%1 is not a token element",
  48. InvalidMathMLAttr: "Invalid MathML attribute: %1",
  49. UnknownAttrForElement: "%1 is not a recognized attribute for %2",
  50. MaxMacroSub1: "MathJax maximum macro substitution count exceeded; is there a recursive macro call?",
  51. MaxMacroSub2: "MathJax maximum substitution count exceeded; is there a recursive LaTeX environment?",
  52. MissingArgFor: "Missing argument for %1",
  53. ExtraAlignTab: "Extra alignment tab in \\cases text",
  54. BracketMustBeDimension: "Bracket argument to %1 must be a dimension",
  55. InvalidEnv: "Invalid environment name '%1'",
  56. UnknownEnv: "Unknown environment '%1'",
  57. ExtraCloseLooking: "Extra close brace while looking for %1",
  58. MissingCloseBracket: "Could not find closing ']' for argument to %1",
  59. MissingOrUnrecognizedDelim: "Missing or unrecognized delimiter for %1",
  60. MissingDimOrUnits: "Missing dimension or its units for %1",
  61. TokenNotFoundForCommand: "Could not find %1 for %2",
  62. MathNotTerminated: "Math not terminated in text box",
  63. IllegalMacroParam: "Illegal macro parameter reference",
  64. MaxBufferSize: "MathJax internal buffer size exceeded; is there a recursive macro call?",
  65. CommandNotAllowedInEnv: "%1 not allowed in %2 environment",
  66. MultipleLabel: "Label '%1' multiply defined",
  67. CommandAtTheBeginingOfLine: "%1 must come at the beginning of the line",
  68. IllegalAlign: "Illegal alignment specified in %1",
  69. BadMathStyleFor: "Bad math style for %1",
  70. PositiveIntegerArg: "Argument to %1 must be a positive integer",
  71. ErroneousNestingEq: "Erroneous nesting of equation structures",
  72. MultlineRowsOneCol: "The rows within the %1 environment must have exactly one column",
  73. MultipleBBoxProperty: "%1 specified twice in %2",
  74. InvalidBBoxProperty: "'%1' does not look like a color, a padding dimension, or a style",
  75. ExtraEndMissingBegin: "Extra %1 or missing \\begingroup",
  76. GlobalNotFollowedBy: "%1 not followed by \\let, \\def, or \\newcommand",
  77. UndefinedColorModel: "Color model '%1' not defined",
  78. ModelArg1: "Color values for the %1 model require 3 numbers",
  79. InvalidDecimalNumber: "Invalid decimal number",
  80. ModelArg2: "Color values for the %1 model must be between %2 and %3",
  81. InvalidNumber: "Invalid number",
  82. NewextarrowArg1: "First argument to %1 must be a control sequence name",
  83. NewextarrowArg2: "Second argument to %1 must be two integers separated by a comma",
  84. NewextarrowArg3: "Third argument to %1 must be a Unicode character number",
  85. NoClosingChar: "Cannot find closing %1",
  86. IllegalControlSequenceName: "Illegal control sequence name for %1",
  87. IllegalParamNumber: "Illegal number of parameters specified in %1",
  88. MissingCS: "%1 must be followed by a control sequence",
  89. CantUseHash2: "Illegal use of # in template for %1",
  90. SequentialParam: "Parameters for %1 must be numbered sequentially",
  91. MissingReplacementString: "Missing replacement string for definition of %1",
  92. MismatchUseDef: "Use of %1 does not match its definition",
  93. RunawayArgument: "Runaway argument for %1?",
  94. NoClosingDelim: "Cannot find closing delimiter for %1"
  95. }
  96. });
  97. MathJax.Ajax.loadComplete("[MathJax]/localization/en/TeX.js");