I am finished with coding. Is there a way to test only latex output? I'd rather avoid testing all routines. I'll upload a patch to http://trac.sagemath.org/sage_trac/ticket/13735 as soon as I'll get an account on trac.sagemath.org
Dne čtvrtek, 4. dubna 2013 16:14:07 UTC+2 Vít Tuček napsal(a): > > Thanks. I am looking into it. Is it possible that some nonzero coefficient > c has representation by string "0"? For the moment I am assuming no. > > Dne čtvrtek, 4. dubna 2013 13:40:05 UTC+2 Travis Scrimshaw napsal(a): >> >> Hey Vit, >> I believe the ticket http://trac.sagemath.org/sage_trac/ticket/13735 is >> the same problem. Currently it needs someone to do work on it. (There's >> also the related ticket http://trac.sagemath.org/sage_trac/ticket/13356.) >> >> Best, >> Travis >> >> >> On Wednesday, April 3, 2013 11:01:12 PM UTC-4, Nicolas M. Thiery wrote: >>> >>> Dear Vít, >>> >>> On Wed, Apr 03, 2013 at 12:40:50PM -0700, Vít Tuček wrote: >>> > The title says it all. >>> > testcase: >>> > sage: latex(RootSystem("A2").ambient_space().simple_root(1)) >>> > >>> > e_{0} + \left(-1\right)e_{1} >>> > expected output: >>> > e_{0} - e_{1} >>> > Of course it should work also for weights and should be capable of >>> > producing output like >>> > -3e_{1}+e_{2} >>> > Best regards >>> > Vit >>> > P.S.: I am not familiar with sage and its internals but I've >>> checked >>> > misc.py/repr_lincomb and it seemed fine at a first glance. Do the >>> test >>> > cover also linear combinantions with negative coefficients? >>> Documentation >>> > for repr_lincomb seems to show only terms with positive >>> coefficients. >>> >>> I was annoyed recently as well by repr_lincom not handling negative >>> coefficients nicely (which I had never noticed before; maybe something >>> was changed recently?). >>> >>> Please open a ticket on: >>> >>> http://trac.sagemath.org/ >>> >>> You are very welcome to submit a patch with an improved version. In >>> case you have not yet contributed to Sage, please checkout the >>> developer's guide and feel free to ask for help: >>> >>> http://www.sagemath.org/doc/developer/ >>> >>> Cheers, >>> Nicolas >>> -- >>> Nicolas M. Thiéry "Isil" <nth...@users.sf.net> >>> http://Nicolas.Thiery.name/ >>> >> -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-combinat-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-combinat-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.