| 1 | { |
| 2 | "texvcbugs": [ |
| 3 | [ |
| 4 | "possible bug, operatorname Literal see Literal.php", |
| 5 | { |
| 6 | "input": "\\sgn r, \\left\\vert s \\right\\vert \\!", |
| 7 | "output": "tbd", |
| 8 | "type":"tex" |
| 9 | }, |
| 10 | "no uq elements for f', f'' and f'' has to have squashed literals", |
| 11 | { |
| 12 | "input": "f^\\prime, f', f''", |
| 13 | "output": "tbd", |
| 14 | "type":"tex" |
| 15 | } |
| 16 | ] |
| 17 | ], |
| 18 | "texvctreebugs": [ |
| 19 | [ |
| 20 | "Color with elements not in related tree element", |
| 21 | { |
| 22 | "input": "\\color{red}{red}", |
| 23 | "output": "tbd", |
| 24 | "type":"tex" |
| 25 | } |
| 26 | ], |
| 27 | [ |
| 28 | "Color #2 with elements not in related tree element", |
| 29 | { |
| 30 | "input": "\\color{Orange}\\text{Orange}", |
| 31 | "output": "tbd", |
| 32 | "type": "tex" |
| 33 | } |
| 34 | ], |
| 35 | [ |
| 36 | "Pagecolor with elements not in related tree element", |
| 37 | { |
| 38 | "input": "\\pagecolor{red}{red}'", |
| 39 | "output": "tbd", |
| 40 | "type":"tex" |
| 41 | } |
| 42 | ], |
| 43 | [ |
| 44 | "Definecolor with elements not in related tree element", |
| 45 | { |
| 46 | "input": "\\definecolor{ultramarine}{RGB}{0,32,96}", |
| 47 | "output": "tbd", |
| 48 | "type":"tex" |
| 49 | } |
| 50 | ], |
| 51 | [ |
| 52 | "Sideset with elements not in related tree element", |
| 53 | { |
| 54 | "input": "\\sideset{_1^2}{_3^4}\\sum", |
| 55 | "output": "tbd", |
| 56 | "type":"tex" |
| 57 | } |
| 58 | ], |
| 59 | [ |
| 60 | "Lim with elements not in related tree element", |
| 61 | { |
| 62 | "input": "\\lim\\limits_{x \\to 2}", |
| 63 | "output": "tbd", |
| 64 | "type":"tex" |
| 65 | } |
| 66 | ], |
| 67 | [ |
| 68 | "Displaystyle with elements not in related tree element, currently solved with custom rendering in TexArray ", |
| 69 | { |
| 70 | "input": "\\frac{\\displaystyle \\sum_{k=1}^N k^2}{a}", |
| 71 | "output": "tbd", |
| 72 | "type":"tex" |
| 73 | } |
| 74 | ], |
| 75 | [ |
| 76 | "Scriptscriptstyle with elements not in related tree element, currently solved with custom rendering in TexArray ", |
| 77 | { |
| 78 | "input": "\\frac ab + \\scriptscriptstyle{\\frac cd + \\frac ef} + \\frac gh", |
| 79 | "output": "tbd", |
| 80 | "type":"tex" |
| 81 | } |
| 82 | ], |
| 83 | [ |
| 84 | "Scriptstyle with elements not in related tree element, currently solved with custom rendering in TexArray ", |
| 85 | { |
| 86 | "input": "{\\scriptstyle \\partial \\Omega}", |
| 87 | "output": "tbd", |
| 88 | "type":"tex" |
| 89 | } |
| 90 | ], |
| 91 | [ |
| 92 | "Textstyle with elements not in related tree element, currently solved with custom rendering in TexArray ", |
| 93 | { |
| 94 | "input": "\\textstyle \\sum_{k=1}^N k^2", |
| 95 | "output": "tbd", |
| 96 | "type":"tex" |
| 97 | } |
| 98 | ], |
| 99 | [ |
| 100 | "Literals in array elements are not squashed but each literal is parsed on its own Lit(n) Lit(o) ... ", |
| 101 | { |
| 102 | "input": "\\mathfrak{nopqrstuvwxyz}", |
| 103 | "output": "tbd", |
| 104 | "type":"tex" |
| 105 | } |
| 106 | ] |
| 107 | ], |
| 108 | "literalnums": [ |
| 109 | [ |
| 110 | "two literal numbers before superscript", |
| 111 | { |
| 112 | "input": "\\exp_a b = a^b, \\exp b = e^b, 10^m \\!", |
| 113 | "output": "tbd", |
| 114 | "type":"tex" |
| 115 | } |
| 116 | ], |
| 117 | [ |
| 118 | "two literals within an fun1 element", |
| 119 | { |
| 120 | "input": "\\ln c, \\lg d = \\log e, \\log_{10} f \\!", |
| 121 | "output": "tbd", |
| 122 | "type": "tex" |
| 123 | } |
| 124 | ], |
| 125 | [ |
| 126 | "Grouping 1 a and b should be dedicated elements here", |
| 127 | { |
| 128 | "input": "\\bf ab", |
| 129 | "output": "{\\bf {ab}}", |
| 130 | "type": "tex" |
| 131 | } |
| 132 | ], |
| 133 | [ |
| 134 | "Grouping 2 a and b should be dedicated elements here", |
| 135 | { |
| 136 | "input": "{\\bf ab}cd", |
| 137 | "output": "{\\bf {ab}}cd", |
| 138 | "type": "tex" |
| 139 | } |
| 140 | ] |
| 141 | ], |
| 142 | "basic" : [ |
| 143 | [ |
| 144 | "Superscript", |
| 145 | { |
| 146 | "input": "r^2", |
| 147 | "output": "r^{2}", |
| 148 | "type": "tex" |
| 149 | } |
| 150 | ], |
| 151 | [ |
| 152 | "Subscript", |
| 153 | { |
| 154 | "input": "x_3", |
| 155 | "output": "x_{3}", |
| 156 | "type": "tex" |
| 157 | } |
| 158 | ], |
| 159 | [ |
| 160 | "Subscript Superscript", |
| 161 | { |
| 162 | "input": "x_1^2", |
| 163 | "output": "x_{1}^{2}", |
| 164 | "type": "tex" |
| 165 | } |
| 166 | ], |
| 167 | [ |
| 168 | "Fraction Simple", |
| 169 | { |
| 170 | "input": "\\frac{x}{y}", |
| 171 | "output": "{\\frac {x}{y}}", |
| 172 | "type": "tex" |
| 173 | } |
| 174 | ], |
| 175 | [ |
| 176 | "Square Root Simple", |
| 177 | { |
| 178 | "input": "\\sqrt{x}", |
| 179 | "output": "{\\sqrt {x}}", |
| 180 | "type": "tex" |
| 181 | } |
| 182 | ], |
| 183 | [ |
| 184 | "Other Root (Cube) Simple", |
| 185 | { |
| 186 | "input": "\\sqrt[3]{x}", |
| 187 | "output": "{\\sqrt[{3}]{x}}", |
| 188 | "type": "tex" |
| 189 | } |
| 190 | ], |
| 191 | [ |
| 192 | "Special Characters", |
| 193 | { |
| 194 | "input": "\\pi \\Gamma \\infty", |
| 195 | "output": "\\pi \\Gamma \\infty ", |
| 196 | "type": "tex", |
| 197 | "skipped": false |
| 198 | } |
| 199 | ], |
| 200 | [ |
| 201 | "Delimiters", |
| 202 | { |
| 203 | "input": "\\left(\\frac{x}{y}\\right )^2", |
| 204 | "output": "\\left({\\frac {x}{y}}\\right)^{2}", |
| 205 | "type": "tex" |
| 206 | } |
| 207 | ], |
| 208 | [ |
| 209 | "Accents Simple", |
| 210 | { |
| 211 | "input": "\\hat{A}", |
| 212 | "output": "{\\hat {A}}", |
| 213 | "description": "Hat accent places a hat over the A, i.e. Â ", |
| 214 | "type": "tex" |
| 215 | } |
| 216 | ], |
| 217 | [ |
| 218 | "Text in Math Mode", |
| 219 | { |
| 220 | "input": "\\mathbf{AbC}", |
| 221 | "output": "\\mathbf {AbC} ", |
| 222 | "description": "Enter bold text in MathMode", |
| 223 | "type": "tex" |
| 224 | } |
| 225 | ], |
| 226 | [ |
| 227 | "Matrix Simple", |
| 228 | { |
| 229 | |
| 230 | "input": "\\begin{array}{c}a & b \\\\ c & d\\end{array}", |
| 231 | "output": "{\\begin{array}{c}a&b\\\\c&d\\end{array}}", |
| 232 | "description": "Matrix with a b over c d", |
| 233 | "remarks": "\\array{a & b \\\\ c & d} is erroneous for TexVC-PHP", |
| 234 | "type": "tex" |
| 235 | } |
| 236 | ], |
| 237 | [ |
| 238 | "Matrix Brackets", |
| 239 | { |
| 240 | "input": "\\left(\\begin{array}{c}a & b \\\\ c & d\\end{array}\\right )", |
| 241 | "output": "\\left({\\begin{array}{c}a&b\\\\c&d\\end{array}}\\right)", |
| 242 | "description": "Matrix with a b over c d encapsulated by brackets", |
| 243 | "type": "tex", |
| 244 | "skipped": false |
| 245 | } |
| 246 | ], |
| 247 | [ |
| 248 | "Grouping 1", |
| 249 | { |
| 250 | "input": "\\bf ab", |
| 251 | "output": "{\\bf {ab}}", |
| 252 | "type": "tex" |
| 253 | } |
| 254 | ], |
| 255 | [ |
| 256 | "Grouping 2", |
| 257 | { |
| 258 | "input": "{\\bf ab}cd", |
| 259 | "output": "{\\bf {ab}}cd", |
| 260 | "type": "tex" |
| 261 | } |
| 262 | ] |
| 263 | ] |
| 264 | } |