#6591: Implement view(object, viewer='pdf') and view(object, tightpage = True)
-------------------------+--------------------------------------------------
 Reporter:  nthiery      |       Owner:  nthiery          
     Type:  enhancement  |      Status:  new              
 Priority:  major        |   Milestone:  sage-4.1.1       
Component:  interfaces   |    Keywords:                   
 Reviewer:               |      Author:  Nicolas M. ThiƩry
   Merged:               |  
-------------------------+--------------------------------------------------
Changes (by nthiery):

  * owner:  was => nthiery


Old description:

> This small patch implements:
> {{{
> sage: view(object, viewer = "pdf")
> }}}
> which works even under the notebook.
>
> Typical use cases:
>
>     * you prefer your pdf browser to your dvi browser
>     * you want to view latex snippets which are not displayed well in dvi
> viewers or jsmath (e.g. tikzpicture)
>
> Potential extensions: view(object, viewer='png'), view(object,
> viewer='html')
>
> This partially reinstates #5920 which got a positive review and was said
> to be merged and closed, but apparently later discarded upon the merge of
> the overlapping #6012 (pdflatex option)
>

> This patch also adds a tightpage option, which uses the preview package
> to create a document with each displaymath on a single page whose size is
> exactly that of the displaymath. This is for example useful for very
> large pictures (graphs!) generated with tikz.

New description:

 This small patch implements:
 {{{
 sage: view(object, viewer = "pdf")
 }}}
 which works even under the notebook.

 Typical use cases:

     * you prefer your pdf browser to your dvi browser
     * you want to view latex snippets which are not displayed well in dvi
 viewers or jsmath (e.g. tikzpicture)

 Potential extensions: view(object, viewer='png'), view(object,
 viewer='html')

 Note: this partially reinstates #5920 which got a positive review and was
 said to be merged and closed, but apparently later discarded upon the
 merge of the overlapping #6012 (pdflatex option)


 This patch also adds a tightpage option, which uses the preview package to
 create a document with each displaymath on a single page whose size is
 exactly that of the displaymath. This is for example useful for very large
 pictures (graphs!) generated with tikz.

 Suggestions for how to doctest this are welcome.

--

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

Reply via email to