I created pull request for maxima latex output for matrix.
After discussion:
- Found, that LaTeX have backward compatibility with tex and amsmath latex package cause error with pmatrix.
- The pull request have been closed without merging.
- Dev team have created bug ticket for this situation.
So, I change fix comment for reflecting of this changes.