Editing after having imported a LaTeX code

I wonder how to fix those errors after having imported a LaTeX code. For example, I paste the following code from LaTeX

\[
  \xymatrix{
    K(R)\ar[r]\ar[d]^{\operatorname{tr}_{\mathrm{GJ}}}&K(R/I)\ar[d]^{\operatorname{\tr}_{\mathrm{GJ}}}\\
    \operatorname{HC}^-(R)\ar[r]&\operatorname{HC}^-(R/I)
  }
\]

I find that TeXmacs failed to parse them. On the other hand, if I import a LaTeX file including these codes, they will be verbatim. I don’t know what I can do to help TeXmacs parse. I noticed that sometimes TeXmacs parses \xymatrix. I don’t know how to modify the code so that it could be parsed by TeXmacs.

TeXmacs does not know how to parse LaTeX additions with a highly modified syntax such as xymatrix or tikz. If you have LaTeX installed, then it sometimes manages to include such additions as pictures (while keeping the source code in a folded environment). But you will only be able to edit such code in a verbatim fashion and not using the integrated TeXmacs editing tools.