question-mark
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.

Error Processing LaTeX stems

See original GitHub issue

When using the following STEM block using latexmath, the previewer displays “[Math Processing Error]” in red italics:

:stem:

[latexmath]
++++
\begin{align*}
f(x) &= x^2 + x^2\\
     &= 2x^2
\end{align*}
++++

I expect this to display what’s displayed when compiling the AsciiDoc using the asciidoctor CLI. This does work sometimes, but not always. It also doesn’t happen for every latexmath STEM block. It seems to be breaking on the \begin{align*}...\end{align*} commands. I haven’t figured out what triggers it start working, but when it does work, it starts breaking after editing the document.

AsciiDoc Plugin Version: 0.29.10

IDE Name and Version: IntelliJ IDEA 2019.2.1 (Community Edition) Build #IC-192.6262.58, built on August 20, 2019 Runtime version: 11.0.3+12-b304.39 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0 GC: ParNew, ConcurrentMarkSweep Memory: 980M Cores: 4 Registry: Non-Bundled Plugins: CMD Support, Lombook Plugin, org.asciidoctor.intellij.asciidoc, com.cursiveclojure.cursive, izhangzhihao.rainbow.brackets, in.1ton.idea.spring.assistant.plugin, org.jetbrains.spek.spek-idea-plugin, org.zalando.intellij.swagger

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ahus1commented, Sep 17, 2019

I consider the original issue to be fixed. To optimize the speed of the preview I’ve opened #333

0reactions
dillonreddingcommented, Sep 12, 2019

Thanks for the update! I’ll try it out next chance I get and let you know.

I like the idea of separating out “chapters” into individual files! That might be my preferred option.

The option to disable math might be useful, but not for my scenario. I want to see the rendered math without having to compile the document each time.

Would it be possible to only refresh the part of the preview being viewed, rather than the entire thing?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to resolve the error "processes exited with error(s)" in ...
The error ended in 'process exited with errors'. The solution was to open texmaker and go to options--> settings file --> reset settings....
Read more >
Errors while processing latex files
When your latex file, index.tex, is processed, errors may be found. On a serious error, processing stops. An error message will be printed,...
Read more >
A LaTeX Editor / Discussion / TXS - Help: Automatic Follow
Process exited with error(s). Now I am guessing this stems from the Segment preview, right? I tried numerous configuration options, ...
Read more >
Don't make me manually abort a LaTeX compile when there's ...
Is there a setting for latex or latexmk to make it just abort with an error message if it can't compile? Or, if...
Read more >
Odd error from latexmk - Google Groups
> Latexmk: Use the -f option to force complete processing, > unless error was exceeding maximum runs of latex/pdflatex. ... using xelatex. The ......
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found