Sorry to dredge this up... in case anyone finds this, it was fixed in http://trac.sagemath.org/ticket/5474 a few months later!
sage: latex.matrix_delimiters("[", "]") On Thursday, December 18, 2008 5:54:22 AM UTC-5, Robert Bradshaw wrote: > > On Dec 17, 2008, at 11:52 PM, Geodet wrote: > > > > > I don't think the easiest way that you describe is possible. > > In my .tex file i write: > > \begin{sagesilent} > > a=matrix(QQ,[[1,1],[2,-1],[1,-1]]) > > \end{sagesilent} > > $\sage{a.transpose()}\cdot\sage{a}=\sage{(a.transpose()*a).inverse > > ()}$\ > > \ > > The latex-code for the matrices is not visible here. I only get the > > resulting .dvi, .ps and .pdf-files. > > > > I found out that the latex()-command in sage uses a file called > > latex.py, and even if i haven't done anything in python before, i > > think I will be able to edit that file. I have not yet found out how > > to compile latex.py to get latex.pyc, and I don't know if I have to do > > anything more than that, like rebuilding sage. Is there a chance that > > this will work? > > Yes, edit the copy of the file in devel/sage, then run "sage -br" to > rebuild sage with your changes. (Since you're only changing a Python > file, it shouldn't take long.) > > - Robert > > > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.