#6012: [with patch, needs review] allow use of pdflatex instead of latex
-------------------------+--------------------------------------------------
Reporter: jhpalmieri | Owner: jhpalmieri
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.0
Component: misc | Keywords:
-------------------------+--------------------------------------------------
Changes (by rbeezer):
* cc: fidelbarrera (added)
Comment:
{{{%latex}}} seems to fail on the use of {{{dvipng}}}. When I run dvipng
outside of Sage on a dvi file having graphs in it, I get boatloads of
warnings:
{{{dvipng warning: PostScript environment contains DVI commands}}}
the failures seem to occur when dvipng calls Ghostscript - I see errors
from Ghostscript when I run dvipng outside of Sage, and if I use
{{{%latex_debug}}} in the notebook, the last output is a Ghostscript error
message.
Outside of Sage, I can take source with tkz-graph code, run (plain)latex,
then convert the dvi to Postscript with dvips, then convert to PNG with
imagemagick's convert. I get full pages with numbers, and the resolution
looks a bit crummy, but I presume that can be fixed with options.
(1) Is it reasonable to expect dvipng to process these dvi files right?
Should we (me) contact the tkz-graph author to inquire?
(2) Is it worth the trouble to go latex->dvi->ps->png for a
{{{%latex}}} cell, or just be content with {{{%pdflatex}}} working
properly?
This is very nice. To be able to go get a pretty PNG of a graph in the
notebook with just a few lines of code will be fantastic. I'll be working
on a review.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6012#comment:2>
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
-~----------~----~----~----~------~----~------~--~---