#6089: [with patch, needs work] view command: don't always use jsMath
-------------------------+--------------------------------------------------
 Reporter:  jhpalmieri   |       Owner:  jhpalmieri
     Type:  enhancement  |      Status:  new       
 Priority:  minor        |   Milestone:  sage-4.0  
Component:  misc         |    Keywords:            
-------------------------+--------------------------------------------------

Comment(by rbeezer):

 Hi John,

 (3) Hadn't thought about repeated {{{\newcommand}}}'s.  That would indeed
 cause problems.

 (2) It's odd the items come out in a different order.  But maybe this
 would shakeout in the notebook overhaul that is coming up?  I think even
 with the pictures at the end, the suggested changes would be an
 improvement.

 (1) So it seems that some of these latex packages inject {{{\special}}}'s
 into DVI's and in the past you would have to run dvips to get out
 something usable.  Anymore, my habit is to avoid DVI altogether and
 strictly run pdflatex with PDF's as output.  So my suggestion was to look
 at DVI's by running {{{dvipng --picky}}} to see how "complicated" a DVI
 might be.  If {{{dvipng --picky}}} failed, then take another approach: run
 pdflatex and then use convert to make a PNG for the notebook.  So the
 "smarts" would be in {{{--picky}}}, as I think was done elsewhere.

 Can you make a DVI of the graph example in latex_examples and render it
 properly in a DVI viewer?  Is it just me?

 More generally, I've been thinking that the latex->DVI->PNG conversion
 process could perhaps just be replaced by pdflatex->PDF->PNG.  Mostly
 because it seems to me like the capabilities added into TeX for graphics
 (like we've been adding) have outgrown the DVI format.

 The cons would be that a PDF viewer would have to be installed on a
 system, as opposed to xdvi (or similar), and the imagemagick suite (for
 convert) rather than dvipng.

 The pros would be that view() could just call the PDF viewer every time
 from both the command line and the notebook, without using the
 {{{pdflatex=True}}} option, and without a second conversion step.  And
 %latex and %pdflatex could be consolidated into just the latter command.
 Thoughts?

 Rob

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6089#comment:4>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to