#13713: view generates a LaTex error on a graph of size 24
-------------------------------------+--------------------------------------
       Reporter:  slabbe             |         Owner:  tbd     
           Type:  defect             |        Status:  new     
       Priority:  major              |     Milestone:  sage-5.5
      Component:  optional packages  |    Resolution:          
       Keywords:  dot2tex            |   Work issues:          
Report Upstream:  N/A                |     Reviewers:          
        Authors:                     |     Merged in:          
   Dependencies:                     |      Stopgaps:          
-------------------------------------+--------------------------------------

Comment (by slabbe):

 Okay, it turns out that the default compilation (try : tex -> dvi -> png,
 except: dvi -> ps -> pdf) which doesn't like overfull vbox and hbox can be
 changed using the `engine` option. Thus,

 {{{
 sage: G.set_latex_options(format='dot2tex', prog='dot')
 sage: view(G, engine='pdflatex')
 }}}

 and

 {{{
 sage: G.set_latex_options(format='dot2tex', prog='circo')
 sage: view(G, engine='pdflatex')
 }}}

 both compile fine and give pdf files with clear overfull vbox and hbox.
 And, one can see the complete graphs by using `tightpage=True`:

 {{{
 sage: G.set_latex_options(format='dot2tex', prog='dot', tightpage=True)
 sage: view(G, engine='pdflatex')
 sage: G.set_latex_options(format='dot2tex', prog='circo', tightpage=True)
 sage: view(G, engine='pdflatex')
 }}}

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