#5975: [with patch, positive review] Implement latex output for (combinatorial)
graphs
---------------------------+------------------------------------------------
Reporter: rbeezer | Owner: rbeezer
Type: enhancement | Status: new
Priority: major | Milestone: sage-feature
Component: graph theory | Keywords:
Reviewer: John Palmieri | Author: Robert Beezer, Fidel Barrera Cruz
Merged: |
---------------------------+------------------------------------------------
Comment(by jason):
Replying to [comment:25 rbeezer]:
> Hi Jason,
>
> The purpose of the line in question is not really a doctest of the
existence of the packages.
>
> The function {{{check_tkz_graph()}}} will emit a warning *once* per
session, if needed, and then be silent. In order to doctest the latex
output, I need to be sure that the warning doesn't get mixed in. So I
call this function in the doctest, which *may* produce a warning. Then
the latex output will be "pure."
>
> So I need to be certain this line runs, and I don't want to test its
(variable) output. If it is tagged "optional" will it always be run in
testing, no matter what?
ah, good point. If it's tagged optional, it won't always run.
I retract my comment.
The right way to do something like this is to disable the warnings for
that module before the doctest. But that's probably the subject of
another ticket, as I don't have time to make the patch now, and I'd rather
not hold this up any more.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5975#comment:26>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---