Changes between Version 6 and Version 9 of Ticket #13713
 Timestamp:
 04/02/13 15:37:39 (7 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

Ticket #13713

Property
Summary
changed from
view generates a LaTex error on a graph of size 24
toview: change engine default value from 'latex' to 'pdflatex'

Property
Summary
changed from

Ticket #13713 – Description
v6 v9 1 view generates a LaTex error on a graph of size 24: 2 3 In `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 5 When engine is `'pdflatex'`, the compilation just work. 6 7 EXAMPLE:: 8 1 9 Create this graph: 2 10 … … 15 23 }}} 16 24 17 Note that since the vertices of G are matrices, the default `format='tkz_graph'` [http://www.liafa.univparisdiderot.fr/~labbe/blogue/2012/10/drawagraphofmatricesinlatexusingsage/ does not work]. One need to use `format='dot2tex'`. With dot2tex2.8.72 and graphviz installed, the following work: 25 Note that since the vertices of G are matrices, the default `format='tkz_graph'` [http://www.liafa.univparisdiderot.fr/~labbe/blogue/2012/10/drawagraphofmatricesinlatexusingsage/ does not work]. One need to use `format='dot2tex'`. 26 27 With dot2tex2.8.72 and graphviz installed, the following work: 18 28 19 29 {{{ … … 50 60 }}} 51 61 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.53 62 54 63 The following does the trick: