Re: [sage-combinat-devel] Re: dot2tex, combinat

2012-01-12 Thread Anne Schilling
On 1/12/12 10:35 AM, Travis Scrimshaw wrote: >>> Here you mean latexing a partition using it's Ferrers diagram? Then this is: >> >>>http://trac.sagemath.org/sage_trac/ticket/4355 >> >>> which has been in need for a volunteer for three years. >> >> Yes, so Travis please use this ticket number fo

[sage-combinat-devel] Re: Data structure design pattern (for Cartan types)

2012-01-12 Thread Travis Scrimshaw
> Certainly something that's been though of a lot, and deserves yet more > thoughts. Have you explored the related: > >  -http://combinat.sagemath.org/code/file/tip/sage/categories/with_reali... >  -http://combinat.sagemath.org/code/file/tip/sage/categories/examples/r... I looked at them, and I d

Re: [sage-combinat-devel] Re: dot2tex, combinat

2012-01-12 Thread Nicolas M. Thiery
On Thu, Jan 12, 2012 at 10:35:22AM -0800, Travis Scrimshaw wrote: > It has been done. I basically just called output.tex_from_array() with > a list of \phantom{x} (strings). So what needs to be done for this > trac ticket? In principle, the ticket description (with the referenced MuPAD doc and cod

[sage-combinat-devel] Re: dot2tex, combinat

2012-01-12 Thread Travis Scrimshaw
> > Here you mean latexing a partition using it's Ferrers diagram? Then this is: > > >    http://trac.sagemath.org/sage_trac/ticket/4355 > > > which has been in need for a volunteer for three years. > > Yes, so Travis please use this ticket number for your patch! It has been done. I basically just

Re: [sage-combinat-devel] Re: dot2tex, combinat

2012-01-12 Thread Anne Schilling
On 1/12/12 8:10 AM, Nicolas M. Thiery wrote: > On Thu, Jan 12, 2012 at 08:04:48AM -0800, Anne Schilling wrote: >> But for partitions, I think a latex method is very desirable anyway. >> We need it for rigged configurations (which contain partitions) and for >> drawing >> nice posets containing par

Re: [sage-combinat-devel] Re: dot2tex, combinat

2012-01-12 Thread Nicolas M. Thiery
On Thu, Jan 12, 2012 at 08:04:48AM -0800, Anne Schilling wrote: > But for partitions, I think a latex method is very desirable anyway. > We need it for rigged configurations (which contain partitions) and for > drawing > nice posets containing partitions (like weak and strong order that Florent >

Re: [sage-combinat-devel] Re: dot2tex, combinat

2012-01-12 Thread Anne Schilling
On 1/12/12 1:14 AM, Nicolas M. Thiery wrote: > On Wed, Jan 11, 2012 at 03:44:53PM -0800, Anne Schilling wrote: >>> - The change: since #11498, strings are now rendered using \verb|...| >>>instead of \texttt. >>> - The issue: is that dot2tex >> >> Is there something missing in this sentence?

[sage-combinat-devel] Re: Coercion error in symmetric functions

2012-01-12 Thread Simon King
It turns out that sage/combinat/... uses the implicit assumption that SymmetricFunctions(...) is a strongly cached object, i.e., that it will persist in memory forever. But #12215 turns `UniqueRepresentation` into a weak cache. I don't know if it is a good solution on the long run, but for now, I

[sage-combinat-devel] Coercion error in symmetric functions

2012-01-12 Thread Simon King
Hi! Working on fixing some memory leaks by using weak references (here: #12215), together with making matrix spaces unique parents (at #12290) my patches trigger a problem with the method sage.combinat.sf.sf.SymmetricFunctions.register_isomorphism. self.register_isomorphism(morphism) does morp

Re: [sage-combinat-devel] Re: dot2tex, combinat

2012-01-12 Thread Nicolas M. Thiery
On Wed, Jan 11, 2012 at 03:44:53PM -0800, Anne Schilling wrote: > > - The change: since #11498, strings are now rendered using \verb|...| > >instead of \texttt. > > - The issue: is that dot2tex > > Is there something missing in this sentence? Oh, yes: The issue is that dot2tex does not han