Issue 1477 in sympy: Printing with double subscripts

2009-06-16 Thread codesite-noreply
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 1477 by goodrich.ben: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 see http://groups.google.com/group/sympy-patches/browse_thread/thread/670ff83d8450131d Currently, printing does not wor

Issue 1477 in sympy: Printing with double subscripts

2009-06-16 Thread codesite-noreply
Updates: Status: Started Labels: Milestone-Release0.6.5 Comment #1 on issue 1477 by ondrej.certik: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 The patch looks good to me --- but could you please write tests for it? Then I'll push it in.

Issue 1477 in sympy: Printing with double subscripts

2009-06-17 Thread codesite-noreply
Comment #2 on issue 1477 by goodrich.ben: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 Happy to write tests, but I am not sure how to automatically test printing. Of course, I can define various symbols and verify that latex() does not throw an error,

Issue 1477 in sympy: Printing with double subscripts

2009-06-20 Thread codesite-noreply
Comment #3 on issue 1477 by goodrich.ben: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 OK, I figured out how you all test latex() and now have had time to patch in a test for this issue. Attachments: 0001-latex-test_latex_issue1477.patch 1.0 KB

Issue 1477 in sympy: Printing with double subscripts

2009-06-22 Thread codesite-noreply
Updates: Labels: NeedsReview Comment #4 on issue 1477 by ondrej.certik: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 (No comment was entered for this change.) -- You received this message because you are listed in the owner or CC fields of this is

Issue 1477 in sympy: Printing with double subscripts

2009-06-26 Thread codesite-noreply
Comment #5 on issue 1477 by Toon.Verstraelen: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 I've just tested the patches. Works better than before, but there are quite some cases that don't work for still. I might be going a bit too far: latex(Symbol("

Issue 1477 in sympy: Printing with double subscripts

2009-06-26 Thread codesite-noreply
Comment #6 on issue 1477 by Toon.Verstraelen: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 OK, this should work. Tests included. Attachments: 0001-Robust-printing-of-latex-sub-and-superscripts.patch.gz 1.6 KB -- You received this message becau

Issue 1477 in sympy: Printing with double subscripts

2009-06-26 Thread codesite-noreply
Comment #7 on issue 1477 by goodrich.ben: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 Much better than my original patch. Do you know how to fix prettyprint too? The original code in pretty_symbol() is a bit more complicated than the latex case (or at

Issue 1477 in sympy: Printing with double subscripts

2009-06-26 Thread codesite-noreply
Comment #8 on issue 1477 by Toon.Verstraelen: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 Should not be too difficult. There will be a lot of common code, and this should be put in a separate function. Something like split_super_sub. I would suggest

Issue 1477 in sympy: Printing with double subscripts

2009-06-26 Thread codesite-noreply
Comment #9 on issue 1477 by goodrich.ben: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 Just an idea here: Could we map the ^ sign to the __ sign; i.e. 2 consecutive underscores? -- You received this message because you are listed in the owner or CC fiel

Issue 1477 in sympy: Printing with double subscripts

2009-06-27 Thread codesite-noreply
Comment #10 on issue 1477 by Toon.Verstraelen: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 You're right, a double underscore can be implemented at the ccode level, no matter what convention we define for super- and subscript for symbol names. I'll t

Issue 1477 in sympy: Printing with double subscripts

2009-06-28 Thread codesite-noreply
Comment #11 on issue 1477 by Toon.Verstraelen: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 I've put some initial patches on github. The pretty printer should be more or less OK. Tests included. Have fun. http://github.com/tovrstra/sympy/commits/issue

Issue 1477 in sympy: Printing with double subscripts

2009-06-28 Thread codesite-noreply
Comment #12 on issue 1477 by goodrich.ben: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 Looks good to me, although someone who understands Python really well should review it. Printing in these odd cases is certainly better than it used to be in 0.6.4,

Issue 1477 in sympy: Printing with double subscripts

2009-06-28 Thread codesite-noreply
Comment #13 on issue 1477 by Toon.Verstraelen: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 That shouldn't be too difficult to handle, but it would be wise to let one of the regular sympy developers take a look at the current changes. Otherwise, it m

Issue 1477 in sympy: Printing with double subscripts

2009-06-30 Thread codesite-noreply
Comment #14 on issue 1477 by Toon.Verstraelen: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 '__' is now a working alternative for '^' (see github) -- You received this message because you are listed in the owner or CC fields of this issue, or because yo

Issue 1477 in sympy: Printing with double subscripts

2009-07-03 Thread codesite-noreply
Comment #15 on issue 1477 by andy.terrel: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 Just a comment. In multi indexes I usually see spaces between the index and a comma indicates the partial derivatives. So x_{2 3} means the second and third indexes

Issue 1477 in sympy: Printing with double subscripts

2009-07-03 Thread codesite-noreply
Comment #16 on issue 1477 by Toon.Verstraelen: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 Andy: Could you give a practical example? I'm a bit lost. -- You received this message because you are listed in the owner or CC fields of this issue, or because

Issue 1477 in sympy: Printing with double subscripts

2009-07-04 Thread codesite-noreply
Comment #17 on issue 1477 by andy.terrel: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 Here are some places that explain it better. http://mathworld.wolfram.com/CommaDerivative.html http://en.wikibooks.org/wiki/General_relativity/Coordinate_systems_and_t

Issue 1477 in sympy: Printing with double subscripts

2009-07-07 Thread codesite-noreply
Updates: Labels: -Milestone-Release0.6.5 -NeedsReview Comment #18 on issue 1477 by ondrej.certik: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 The patch is in. Is this issue fixed? -- You received this message because you are listed in the owner o

Issue 1477 in sympy: Printing with double subscripts

2009-07-07 Thread codesite-noreply
Comment #19 on issue 1477 by goodrich.ben: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 My original concern is thoroughly addressed. Andy seems to have a legitimate point about the use of commas between subscripts (a notational convention that I was not

Issue 1477 in sympy: Printing with double subscripts

2009-07-07 Thread codesite-noreply
Comment #20 on issue 1477 by ondrej.certik: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 Let's fix it then. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your

Issue 1477 in sympy: Printing with double subscripts

2009-07-07 Thread codesite-noreply
Updates: Labels: NeedsReview Comment #22 on issue 1477 by ondrej.certik: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 OK, I'll wait for toon if he also thinks the branch should go in and review it then. -- You received this message because you a

Issue 1477 in sympy: Printing with double subscripts

2009-07-07 Thread codesite-noreply
Comment #21 on issue 1477 by goodrich.ben: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 Ondrej, Did you intend to only commit Toon's latex patch ("Robust printing of latex sub and superscripts") http://git.sympy.org/?p=sympy.git;a=commit;h=a030e7e3298d

Issue 1477 in sympy: Printing with double subscripts

2009-07-10 Thread codesite-noreply
Comment #23 on issue 1477 by Toon.Verstraelen: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 The entire branch also fixes this issue in mathml, pretty printing and latex. Common code is shared in conventions.py. I'll add a patch to the branch for using

Issue 1477 in sympy: Printing with double subscripts

2009-07-11 Thread codesite-noreply
Updates: Owner: Toon.Verstraelen Comment #24 on issue 1477 by Toon.Verstraelen: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 White space is added. See http://github.com/tovrstra/sympy/commits/issue1477. -- You received this message because yo

Issue 1477 in sympy: Printing with double subscripts

2009-08-09 Thread codesite-noreply
Updates: Labels: -NeedsReview Comment #25 on issue 1477 by ondrej.certik: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 The last branch is in now. Is the issue fixed? -- You received this message because you are listed in the owner or CC fields of

Issue 1477 in sympy: Printing with double subscripts

2009-08-09 Thread codesite-noreply
Comment #26 on issue 1477 by goodrich.ben: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 Yes, unless Toon objects. -- Ben -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You ma

Issue 1477 in sympy: Printing with double subscripts

2009-10-26 Thread codesite-noreply
Updates: Status: Fixed Comment #27 on issue 1477 by smichr: Printing with double subscripts http://code.google.com/p/sympy/issues/detail?id=1477 (No comment was entered for this change.) -- You received this message because you are listed in the owner or CC fields of this issue, or beca