Opened 12 years ago

Closed 12 years ago

#9834 closed defect (duplicate)

LaTeX representation of fractions still broken

Reported by: Robert Marik Owned by: Burcin Erocal
Priority: critical Milestone: sage-duplicate/invalid/wontfix
Component: symbolics Keywords: latex, fraction, pynac
Cc: Burcin Erocal Merged in:
Authors: Burcin Erocal Reviewers: Karl-Dieter Crisman
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by Robert Marik)

Similarly as in #9314

sage: latex(-(x+1)/(x+2))
\frac{-x + 1}{x + 2}

note the minus sign :(

Also (another report from web):

sage: var('a b c x')
sage: solve(a*x^2+b*x+c==0,x)[0]
x == -1/2*(b + sqrt(-4*a*c + b^2))/a
sage: latex(_)
x = \frac{-b + \sqrt{-4 \, a c + b^{2}}}{2 \, a}

Change History (6)

comment:1 Changed 12 years ago by Robert Marik

Description: modified (diff)

comment:2 Changed 12 years ago by Burcin Erocal

Milestone: sage-4.5.3

I fixed this while working on #9394 a while ago. I should have posted a new version of pynac before going on vacation, but couldn't find the time. Hopefully in the next days I'll push my changes to trac for review.

comment:3 Changed 12 years ago by Burcin Erocal

There is a new pynac version that fixes this at #9901, corresponding doctest fixes are included in the patch at #9394.

This ticket should be closed when those are merged.

comment:4 Changed 12 years ago by Karl-Dieter Crisman

Authors: Burcin Erocal
Reviewers: Karl-Dieter Crisman
Status: newneeds_review

With inclusion of #9901, positive review. Do not merge until #9901 is merged. Doctests are at #9394.

comment:5 Changed 12 years ago by Karl-Dieter Crisman

Status: needs_reviewpositive_review

comment:6 Changed 12 years ago by Mitesh Patel

Milestone: sage-4.6sage-duplicate/invalid/wontfix
Resolution: duplicate
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.