TeX.js 5.8 KB

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