#7747: miscellaneous documentation fixes
-----------------------------+----------------------------------------------
Reporter: jhpalmieri | Owner: mvngu
Type: defect | Status: positive_review
Priority: blocker | Milestone: sage-4.3
Component: documentation | Keywords:
Work_issues: | Author: John Palmieri
Upstream: N/A | Reviewer: Minh Van Nguyen
Merged: |
-----------------------------+----------------------------------------------
Changes (by newvalueoldvalue):
* status: needs_review => positive_review
* reviewer: => Minh Van Nguyen
* author: => John Palmieri
Comment:
Doctesting Sage 4.3.rc0 on `sage.math` results in the following failures:
{{{
sage -t -long devel/sage/doc/en/constructions/calculus.rst
**********************************************************************
File "/scratch/mvngu/sandbox/sage-4.3.rc0-7747-doc/devel/sage-
main/doc/en/constructions/calculus.rst", line 29:
sage: latex(f.diff(x))
Expected:
k x^{3} e^{k x} \sin\left(w x\right) + w x^{3} e^{k x} \cos\left(w
x\right) + 3 \, x^{2} e^{k x} \sin\left(w x\right)
Got:
k x^{3} e^{\left(k x\right)} \sin\left(w x\right) + w x^{3} e^{\left(k
x\right)} \cos\left(w x\right) + 3 \, x^{2} e^{\left(k x\right)}
\sin\left(w x\right)
**********************************************************************
1 items had failures:
1 of 6 in __main__.example_0
***Test Failed*** 1 failures.
For whitespace errors, see the file /tmp/mvngu/tmp/.doctest_calculus.py
[5.6 s]
sage -t -long devel/sage/doc/en/bordeaux_2008/nf_introduction.rst
**********************************************************************
File "/scratch/mvngu/sandbox/sage-4.3.rc0-7747-doc/devel/sage-
main/doc/en/bordeaux_2008/nf_introduction.rst", line 300:
sage: latex(a)
Expected:
-\frac{1}{2} \, {(I \, \sqrt{3} + 1)} ...
Got:
-\frac{1}{2} \, {\left(I \, \sqrt{3} + 1\right)} {\left(\frac{1}{18}
\, \sqrt{8 \, \sqrt{2} + 675} \sqrt{3} -
\frac{5}{2}\right)}^{\left(\frac{1}{3}\right)} + \frac{1}{6} \,
\frac{{\left(-I \, \sqrt{3} + 1\right)} \sqrt{2}\
}{{\left(\frac{1}{18} \, \sqrt{8 \, \sqrt{2} + 675} \sqrt{3} -
\frac{5}{2}\right)}^{\left(\frac{1}{3}\right)}}
**********************************************************************
1 items had failures:
1 of 7 in __main__.example_10
***Test Failed*** 1 failures.
For whitespace errors, see the file
/tmp/mvngu/tmp/.doctest_nf_introduction.py
[3.6 s]
}}}
The patch `trac_7747-doc.patch` fixes both of these failures. All doctests
now pass on sage.math.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7747#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.