Changes between Version 6 and Version 9 of Ticket #13713


Ignore:
Timestamp:
04/02/13 15:37:39 (6 years ago)
Author:
slabbe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13713

    • Property Summary changed from view generates a LaTex error on a graph of size 24 to view: change engine default value from 'latex' to 'pdflatex'
  • Ticket #13713 – Description

    v6 v9  
     1view generates a LaTex error on a graph of size 24:
     2
     3In `view` function, the default value for engine argument is `'latex'`. With this value, the compilation is trying (tex -> dvi -> png, and if an exception raised then dvi -> ps -> pdf). For some input, it is broken (example below) because of overfull vbox and overfull hbox created in the first tex -> dvi compilation.
     4
     5When engine is `'pdflatex'`, the compilation just work.
     6
     7EXAMPLE::
     8
    19Create this graph:
    210
     
    1523}}}
    1624
    17 Note that since the vertices of G are matrices, the default `format='tkz_graph'` [http://www.liafa.univ-paris-diderot.fr/~labbe/blogue/2012/10/draw-a-graph-of-matrices-in-latex-using-sage/ does not work]. One need to use `format='dot2tex'`. With dot2tex-2.8.7-2 and graphviz installed, the following work:
     25Note that since the vertices of G are matrices, the default `format='tkz_graph'` [http://www.liafa.univ-paris-diderot.fr/~labbe/blogue/2012/10/draw-a-graph-of-matrices-in-latex-using-sage/ does not work]. One need to use `format='dot2tex'`.
     26
     27With dot2tex-2.8.7-2 and graphviz installed, the following work:
    1828
    1929{{{
     
    5060}}}
    5161
    52 The default compilation is trying (tex -> dvi -> png, dvi -> ps -> pdf) and the useless (dvi -> png) conversion is broken because of overfull vbox and overfull hbox created in the first tex -> dvi compilation.
    5362
    5463The following does the trick: