Menu

#4665 wrong TeX output with unary plus in exponent

None
not-a-bug
nobody
None
5
2026-01-27
2026-01-26
Keno Wehr
No

The result of

simp:false;
tex1(x^+y);

is x+^{y}, but should be x^{+y}.

Discussion

  • Raymond Toy

    Raymond Toy - 2026-01-26

    What version? I don't see this issue with current git HEAD:

    (%i1) simp:false;
    (%o1)                                false
    (%i2) tex1(x^+y);
    (%o2)                               x^{+y}
    
     
    • Stavros Macrakis

      Same in the slightly older release Maxima 5.48.1 SBCL 2.5.7

       
  • Keno Wehr

    Keno Wehr - 2026-01-27

    Tested with 5.44.0 and 5.45.1.
    The systems I use don’t have newer versions, sorry.

     
    • Raymond Toy

      Raymond Toy - 2026-01-27

      Could you build your own?

      In any case, I'm closing this report since it doesn't happen with recent versions of Maxima.

       
  • Raymond Toy

    Raymond Toy - 2026-01-27
    • status: open --> not-a-bug
     

Log in to post a comment.

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.
Try Free →