SublimeText / LaTeXTools

LaTeX plugin for Sublime Text
https://latextools.readthedocs.io/
2.01k stars 364 forks source link

A window popup when typing the equation #1436

Closed vietanhle0101 closed 4 years ago

vietanhle0101 commented 4 years ago

A window always pop-up when typing or editing the equation (It occurs very fast, but slow down my coding speed). The window related to pdflatex.exe. Even when I change the "preview_math_mode" to "none" Let me know to fix it.

r-stein commented 4 years ago

You don't have LaTeX Equation Preview installed?

If the preview mode is set to none, no preview should appear. If it is previewing it should not slow down your writing speed, because most work is done on different threads.

vietanhle0101 commented 4 years ago

Untitled

here is the screenshot, this window always appears. How to prevent it.

r-stein commented 4 years ago

Yes thats a typical window, which appears when the pdflatex command is called from the python subprocess module. We do actually set a flag to prevent it here.

Are you sure you don't have LaTeX Equation Preview installed? Such issues usually come from that package. Please press ctrl+shift+p and select Package Control: List Packages and search for LaTeX Equation Preview.

vietanhle0101 commented 4 years ago

Untitled This problem is now fixed. But I cannot see the preview for the inline equation. How to add? Thank you

r-stein commented 4 years ago

You can change the "preview_math_scope" to "text.tex.latex meta.environment.math" to enable preview of inline math. https://github.com/SublimeText/LaTeXTools/blob/master/LaTeXTools.sublime-settings#L107

vietanhle0101 commented 4 years ago

Everything is perfect now, thank u

r-stein commented 4 years ago

You are welcome