#6572: [with patch, needs review] tutorial: put double colon on its own line
---------------------------+------------------------------------------------
Reporter: mvngu | Owner: tba
Type: defect | Status: new
Priority: major | Milestone: sage-4.1.3
Component: documentation | Keywords: tutorial
Reviewer: | Author:
Merged: |
---------------------------+------------------------------------------------
Changes (by jhpalmieri):
* cc: ncohen (added)
Comment:
Replying to [comment:6 mhansen]:
> Doesn't it make more sense to detect double colons at the end of a line?
>
> In restructured text, the two should be equivalent. It should be the
same for the doctests as well.
Okay, that makes sense. The new scripts patch changes the regular
expression to fix this, I think.
Now the problem is that the file (added since this ticket was opened)
{{{tour_graphtheory.rst}}} is a *complete* disaster, with 15 doctest
failures. I can fix lots of the failed doctests by adding "..." and "..
link" in various places, but I don't know what to do about failures like
these:
{{{
sage: g.plot(edge_colors=g.edge_coloring(hex_colors=True))
AttributeError: 'Graph' object has no attribute 'edge_coloring'
sage: g.vertex_coloring()
AttributeError: 'Graph' object has no attribute 'vertex_coloring'
sage: print g.max_matching()
AttributeError: 'Graph' object has no attribute 'max_matching'
}}}
I don't know what was intended and therefore I don't know how to fix it.
I'll post a patch that fixes what I can.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6572#comment:7>
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
-~----------~----~----~----~------~----~------~--~---