Bug introduced in 13.0 or earlier. Fixed in 13.2.0 or earlier.
Why do I get this error? I don't do any calculation with this. I just want to use TeXForm and then wrap MaTeX around it.
TeXForm["\!\(\*SubsuperscriptBox[\(\[Integral]\), \(0\), \
\(2\)]\)\!\(\*SubsuperscriptBox[\(\[Integral]\), \(-\*FractionBox[\
\(\[Pi]\), \(2\)]\), FractionBox[\(\[Pi]\), \
\(2\)]]\)\!\(\*TagBox[FractionBox[RowBox[{SuperscriptBox[\"r\", \
\"2\"], \" \", RowBox[{\"(\", RowBox[{\"cos\", \" \", \"\[Theta]\"}], \
\")\"}], \" \", \
SuperscriptBox[RowBox[{\"(\", RowBox[{RowBox[{\"-\", \"1\"}], \"+\", \
RowBox[{\"r\", \" \", RowBox[{\"(\", RowBox[{\"sin\", \" \", \"\
\[Theta]\"}], \")\"}]}]}], \
\")\"}], \"3\"]}], RowBox[{\"1\", \"+\", SuperscriptBox[\"r\", \
\"2\"]}]],HoldForm]\)dr d\[Theta] = -\!\(\*FractionBox[\(16\\ \
\[Pi]\), \(3\)]\)"]
And this is the result when I run in another computer.
TexForm
breaks this law by actually increasing misery. Think of it as entropy I guess. $\endgroup$