config: use inline math and common characters

Latex errors cannot be parsed by humans, so just use inline math which we had working elsewhere already.

Also use simplified character for ế, for latex compatibility.
This commit is contained in:
Laurens Valk
2020-01-16 15:03:54 +01:00
parent 686a3b8147
commit f5094cfaba
3 changed files with 4 additions and 8 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
"**/_version.py",
],
"spellright.ignoreRegExps": [
"/.. math::[^]*?.. endmath/gm",
"/:math:`[^]*?`/gm",
"/``[^]*?``/gm",
"/'[^]*?'/gm",
"/.. data:: [^]*?'*$/gm",
+1 -1
View File
@@ -100,7 +100,7 @@
- ``'ta'``: Tamil
- ``'tr'``: Turkish
- ``'vi'``: Vietnamese
- ``'vi-hue'``: Vietnamese (Huế )
- ``'vi-hue'``: Vietnamese (Hue)
- ``'vi-sgn'``: Vietnamese (Saigon)
- ``'zh'``: Mandarin Chinese
- ``'zh-yue'``: Cantonese Chinese
+2 -6
View File
@@ -241,10 +241,6 @@ temperature: °C
Temperature is measured in degrees Celcius (°C). To convert to degrees
Fahrenheit (°F) or Kelvin (K), you can use the following conversion formulas:
.. math::
\begin{eqnarray}
°\!F & = & °\!C \cdot \frac{9}{5} + 32\\
K & = & °\!C + 273.15
\end{eqnarray}
:math:`°\!F = °\!C \cdot \frac{9}{5} + 32`.
.. endmath
:math:`K = °\!C + 273.15`.