#6022: [with patch, needs review] latex.py: if dvipng fails, use dvips and
convert
instead
-------------------------+--------------------------------------------------
Reporter: jhpalmieri | Owner: jhpalmieri
Type: enhancement | Status: new
Priority: minor | Milestone: sage-4.0
Component: misc | Keywords:
-------------------------+--------------------------------------------------
On systems where dvipng is installed: If in a %latex cell, dvipng fails to
produce a good picture, you get basically nothing. With this patch, this
failure is detected, and dvips and convert are then used instead. The
failure is detected by running dvipng with the '--picky' option; with this
turned on, if dvipng produces any warnings or errors, no png file is
produced. The code then sees if there is a png file; if not, it runs
dvips and convert.
This patch also fixes a long-standing complaint of William's: now when
there is a problem in a %latex cell, the .log file is printed
automatically, instead of just printing the message "An error occurred."
Apply on top of the patch at #6012.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6022>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---