Opened 8 years ago

Closed 8 years ago

#9834 closed defect (duplicate)

LaTeX representation of fractions still broken

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

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 8 years ago by robert.marik

  • Description modified (diff)

comment:2 Changed 8 years ago by burcin

  • Milestone set to 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 8 years ago by burcin

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 8 years ago by kcrisman

  • Authors set to Burcin Erocal
  • Reviewers set to Karl-Dieter Crisman
  • Status changed from new to needs_review

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

comment:5 Changed 8 years ago by kcrisman

  • Status changed from needs_review to positive_review

comment:6 Changed 8 years ago by mpatel

  • Milestone changed from sage-4.6 to sage-duplicate/invalid/wontfix
  • Resolution set to duplicate
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.