hydrogen icon indicating copy to clipboard operation
hydrogen copied to clipboard

Latex (mathjax) not rendering for lots of outputs via "run all"

Open sschuldenzucker opened this issue 3 years ago • 0 comments

Description

When running "Run All" on a large file with lots of outputs, some of the formulas don't show.

I only see a blank box where the output should be.

The "copy" button does copy the correct latex mode. So it's to do with latex rendering; the data is there.

Manually re-evaluating each cell fixes the issue.

Affects both the computation output and markdown.

Steps to Reproduce

  1. Open a large file that will generate lots of complex formulas. I don't have an MWE, but the offending formulas look something like this:
\mu \left(- \lambda \mathord{xi}_{0, j} + 2 \mathord{zi}_{0, j} + \sum_{k=0}^{n} z_{k, j}\right) - \mathord{xi}_{0, j} = 0
  1. Execute "Hydrogen: Run All"

  2. Review the different latex outputs.

Versions

Atom 1.53.0 Hydrogen 2.14.6

Windows 10

apm --version

apm  2.5.2
npm  6.14.8
node 12.4.0 x64
atom 1.53.0
python 3.8.5
git 2.12.1.windows.1
visual studio

Plugins

Have you installed and activated any of the Hydrogen plugins below ?

  • [ ] hydrogen-python
  • [x] Hydrogen Launcher
  • [ ] Data Explorer

Expected behavior

All latex formulas are shown, of course.

sschuldenzucker avatar Dec 25 '20 21:12 sschuldenzucker