Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rendering errors (<chem> and <math>)

See original GitHub issue

Note from @BoboTiG: issue tightly coupled to #1183, interesting details can be found there too.

I did a fresh download and render of the EN wiktionary today, and got the following errors:

>>> Loading data/en/data_wikicode-20220120.json ...
>>> Loaded 1,038,672 words from data/en/data_wikicode-20220120.json
<chem> ERROR with ^-N=\overset{+}N=N^- in [azide]
<math> ERROR with \begin{align}\frac{\pi}{2} & = \prod_{n=1}^{\infty} \frac{ 4n^2 }{ 4n^2 - 1 } = \prod_{n=1}^{\infty} \left(\frac{2n}{2n-1} \cdot \frac{2n}{2n+1}\right) \\[6pt]& = \Big(\frac{2}{1} \cdot \frac{2}{3}\Big) \cdot \Big(\frac{4}{3} \cdot \frac{4}{5}\Big) \cdot \Big(\frac{6}{5} \cdot \frac{6}{7}\Big) \cdot \Big(\frac{8}{7} \cdot \frac{8}{9}\Big) \cdot \; \cdots \\\end{align} in [Wallis product]
<math> ERROR with \begin{align}a_0 &+ a_1x + a_2x^2 + a_3x^3 + \cdots + a_nx^n \\ &= a_0 + x \bigg(a_1 + x \Big(a_2 + x \big(a_3 + \cdots + x(a_{n-1} + x \, a_n) \cdots \big) \Big) \bigg).\end{align} in [Horner's rule]
<math> ERROR with \frac = \frac in [circle of Apollonius]
<math> ERROR with \begin{align}\rho(g, h) (0,x_1,\ldots,x_k) &= g(x_1,\ldots,x_k) \\\rho(g, h) (y+1,x_1,\ldots,x_k) &= h(y,\rho(g, h) (y,x_1,\ldots,x_k),x_1,\ldots,x_k)\,\end{align} in [primitive recursion]
>>> Saved 697,169 words into data/en/data-20220120.json
>>> Render done!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:19 (13 by maintainers)

github_iconTop GitHub Comments

lasconiccommented, Feb 1, 2022

I was also curious if svg could be used on Kobo. And it can ! (11,819 bytes)

dvioptions = [ "-d -1", ]
    with BytesIO() as buf, BytesIO() as im:
        raw =

    return f'<img style="{IMG_CSS}" src="data:image/svg+xml;base64,{b64encode(raw).decode()}"/>'

PNG: screen_001

GIF screen_003

SVG screen_005

lasconiccommented, Feb 1, 2022

dictgen mentions GIF and JPG In theory, Kobo should support PNG but not sure if the support is included for dictionaries.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Math rendering errors? - Physics Meta - Stack Exchange
Recently,and my browser and configuration have not changed, hardly any maths formulas are exhibited in the question.
Read more >
Category:Articles with math render errors - Wikipedia
Description: This category lists page and articles, which have errors when rendering the <math> tag caused by temporary error in the mathematics rendering...
Read more >
Error Analysis
Every lab report must have an error analysis.​​ For many experiments, significant figure rules are sufficient. For a brush up on significant figure...
Read more >
Chemistry notation using mhchem - MoodleDocs
Therefore, the chemical display of chemical formulae and equations is simulated and may not exactly correspond to rendering using mhchem, which ...
Read more >
14.Errors - Madoverchemistry
Thus, today we start our discussion of Analytical Chemistry with a… ... in our measurement renders our experimental data insignificant.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found