You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version
IntelliJ IDEA Ultimate 2023.2.5
Operating System
Win 10 (fresh install by the way)
TeXiFy IDEA version
0.9.1
Minimal example to reproduce the problem
\documentclass{article}
%! begin preamble = math%! begin preamble = tikz\usepackage{tikz}
\usepackage{amsmath}
%! end preamble = math%! end preamble = tikz\begin{document}
\begin{tikzpicture}
\draw (0,0) rectangle (10,20);
\end{tikzpicture}
\begin{equation*}
a=b\end{equation*}
\end{document}
Trigger the TikZ or math preview
Actual behavior
Please ignore the typo behind \end{document}, that just happened when taking the screenshot... Also this only demonstrates the TikZ preview.
No preview, error message Unknown environment: tikzpicture at position 1:8
Or equation* respectively.
I haven't explicitly tested with other math environments but before re-installing everything (including OS, MiKTeX and IDE!) I also often had problems with math previews...
The text was updated successfully, but these errors were encountered:
Good question, not sure. It probably shouldn't because that will not work in jlatexmath.
In any case, if I try your example I get a Can't read input file! as well, so something is not working at least.
The equation preview is working fine for me.
PHPirates
changed the title
TikZ/Math Preview not working: Unknown environment: tikzpicture/equation* at position ...
jlatexmath should not be used for tikz preview
Jan 11, 2024
Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version
IntelliJ IDEA Ultimate 2023.2.5
Operating System
Win 10 (fresh install by the way)
TeXiFy IDEA version
0.9.1
Minimal example to reproduce the problem
Trigger the TikZ or math preview
Actual behavior
Please ignore the typo behind \end{document}, that just happened when taking the screenshot... Also this only demonstrates the TikZ preview.
No preview, error message
Unknown environment: tikzpicture at position 1:8
Or
equation*
respectively.I haven't explicitly tested with other math environments but before re-installing everything (including OS, MiKTeX and IDE!) I also often had problems with math previews...
The text was updated successfully, but these errors were encountered: