Risposte nei forum create
-
AutoreRisposte
-
::
cfiandra” post=99371Finalmente mi sono ricordato del nome di un pacchetto che ti potrebbe interessare: pkgloader. Trovi più informazioni su Automated management of package options and loading order.
Ciao
Claudiograzie
ma quello che è interssante è, dal mio punto di vista, questo
ciao
claudio
::
mi sono divertito con beamer e questo è il risultato
`
\documentclass[10pt,a4paper,oneside]{book}
\usepackage[debug,autosize]{dot2texi}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[osf,sc]{mathpazo}
\usepackage[scaled=0.8]{beramono}
\renewcommand{\sfdefault}{iwona}
\usepackage[final]{microtype}
\usepackage[english,italian]{babel}
\usepackage{tikz}
\tikzset{base/.style={align=center,text=black}, }
%\tikzset{testobase/.style={minimum width=1.0em, }, }
\tikzset{testo/.style={,align=left}, }
\tikzset{main node/.style={base, draw=red, rounded corners}, }
\tikzset{main2 node/.style={base, draw=green,rounded corners}, }
\tikzset{complesso node/.style={base, draw=blue}, }
\tikzset{internal node/.style={base, draw=magenta,dashed,rounded corners}, }
\tikzset{driver node/.style={base,dashed,draw=blue!20}, }
\tikzset{formato node/.style={base,dotted}, }
\tikzset{cfg node/.style={base,trapezium,,trapezium left angle=70,trapezium right angle=-70,draw=brown}, }
\tikzset{linea/.style={-triangle 90},}
\usetikzlibrary{external}\usetikzlibrary{shapes,arrows,positioning,shapes.misc,shapes.geometric}
\usetikzlibrary{matrix}
\usepackage{caption}
\captionsetup[figure]{name=Grafico}
\listfiles
\begin{document}
\begin{figure}
\begin{tikzpicture}\matrix(tabella)[matrix of nodes,column sep=1em, row sep=.4em]
{
\node[testo,align=center] (a){Tipo};&&\node[testo,align=center] (b){Simbolo};\\
\node[testo] (1){Principale}; &&\node[main node] (2){test}; \\
\node[testo] (3) {Secondario};&&\node[main2 node] (4){test};\\
\node[testo] (5) {Complesso}; &&\node[complesso node] (6){test};\\
\node[testo] (7) {Interno}; &&\node[internal node] (8){test};\\
\node[testo] (9) {Driver};&&\node[driver node] (10){test};\\
\node[testo] (11) {Cfg};&&\node[cfg node] (12){test};\\
\node[testo] (13) {Formato};&&\node[formato node] (14){test};\\
};
\end{tikzpicture}
\captionsetup{name=Legenda}
\caption{grafici}
\label{fig:didascaliagrafici}
\end{figure}
\begin{figure}
\centering
\begin{tikzpicture}%[scale=0.8]\begin{dot2tex}[format=tikz,scale=1,styleonly]
digraph G{
size = “8.3,11.8”;
rankdir=”LR”;
1 [style=”main node”,texlbl=”beamer.cls”]
2 [style=”main2 node”,texlbl=”beamerbasercs”]
3 [style=”main2 node”,texlbl=”beamerbasemodes”]
30[style=”internal node”,texlbl=”beamerbasedecode”]4 [style=”internal node”,texlbl=” ifpdf”]
5 [style=”main2 node”,texlbl=”beamerbaseoptions”]
50[style=”internal node”,texlbl=”keyvall”]
6 [style=”main2 node”,texlbl=”pgfcore”]
60 [style=”complesso node”,texlbl=”graphicx”]
61 [style=”complesso node”,texlbl=”pgfsys”]
63 [style=”complesso node”,texlbl=”xcolor”]
64 [style=”complesso node”,texlbl=”pgfcore.code.tex”]7 [style=”main2 node”,texlbl=”xxcolor”]
8 [style=”complesso node”,texlbl=”atbegshi”]
9 [style=”complesso node”,texlbl=”hyperref”]
10 [style=”complesso node”,texlbl=”beamerbaserequires”]
1->2
1->3
3->30
1->4
1->5
5->50
1->6
6->60
6->616->50
6->63
6->647->63
1->7
1->8
1->9
1->10
10->50
8->4
60->4
}
\end{dot2tex}
%%
\end{tikzpicture}
\caption{Beamer generale}
\label{fig:beamer0}
\end{figure}
\begin{figure}
\centering
\begin{tikzpicture}%[scale=0.8]
\begin{dot2tex}[format=tikz,scale=.8,styleonly]
digraph G{
size = “8.3,11.7”;
center=”true”;
rankdir=”LR”;
10 [style=”main node”,texlbl=”beamerbaserequires”]
100 [style=”main2 node”,texlbl=”beamerbasecompatibility”]
101 [style=”main2 node”,texlbl=”beamerbasefont”]
1010 [style=”internal node”,texlbl=”amssymb”]
102 [style=”main2 node”,texlbl=”beamerbasetranslator”]
1020 [style=”complesso node”,texlbl=”translator”]
103 [style=”main2 node”,texlbl=”beamerbasemisc”]
104 [style=”main2 node”,texlbl=”beamerbasetwoscreens”]
105 [style=”main2 node”,texlbl=”beamerbaseoverlay”]
106 [style=”main2 node”,texlbl=”beamerbasetitle”]
107 [style=”main2 node”,texlbl=”beamerbasesection”]
108 [style=”main2 node”,texlbl=”beamerbaseframe”]
109 [style=”main2 node”,texlbl=”beamerbaseverbatim”]
110 [style=”main2 node”,texlbl=”beamerbaseframesize”]
111 [style=”main2 node”,texlbl=”beamerbaseframecomponents”]
112 [style=”main2 node”,texlbl=”beamerbasecolor”]
113 [style=”main2 node”,texlbl=”beamerbasetoc”]
114 [style=”main2 node”,texlbl=”beamerbasetemplates”]
1140 [style=”internal node”,texlbl=”beamerbaseauxtemplates”]
11400 [style=”internal node”,texlbl=”beamerbaseboxes”]
115 [style=”main2 node”,texlbl=”beamerbaselocalstructure”]
1150 [style=”internal node”,texlbl=”enumerate”]
116 [style=”internal node”,texlbl=”beamerbasenavigation”]
117 [style=”main2 node”,texlbl=”beamerbasetheorems”]
1170 [style=”complesso node”,texlbl=”amsmath”]
1171 [style=”complesso node”,texlbl=”amsthm”]
118 [style=”main2 node”,texlbl=”beamerbasethemes”]
10->100
10->101
101->1010
10->102
102->1020
10->103
10->104
10->105
10->106
10->107
10->108
10->109
10->110
10->111
10->112
10->113
10->114
114->1140
1140->11400
10->115
115->1150
10->116
10->117
117->1170
117->1171
10->118}
\end{dot2tex}
%%
\end{tikzpicture}
\caption{Beamer beamerbaserequires}
\label{fig:beamer2}
\end{figure}
\begin{figure}
\centering
\begin{tikzpicture}%[scale=0.8]
\begin{dot2tex}[format=tikz,scale=.9,styleonly]
digraph G{
size = “8.3,11.7”;
center=”true”;
rankdir=”LR”;
64 [style=”main node”,texlbl=”pgfcore.code.tex”]
640 [style=”complesso node”,texlbl=”pgfmath.code.tex”]
641 [style=”main2 node”,texlbl=”pgfcorepoints.code.tex”]
642 [style=”main2 node”,texlbl=”pgfcorepathconstruct.code.tex”]
643 [style=”main2 node”,texlbl=”pgfcorepathusage.code.tex”]
644 [style=”main2 node”,texlbl=”pgfcorescopes.code.tex”]
645 [style=”main2 node”,texlbl=”pgfcoregraphicstate.code.tex”]
646[style=”main2 node”,texlbl=”pgfcoretransformations.code.tex”]
647 [style=”main2 node”,texlbl=”pgfcorequick.code.tex”]
648 [style=”main2 node”,texlbl=”pgfcoreobjects.code.tex”]
649 [style=”main2 node”,texlbl=”pgfcorepathprocessing.code.tex”]
6410 [style=”main2 node”,texlbl=”pgfcorearrows.code.tex”]
6411 [style=”main2 node”,texlbl=”pgfcoreshade.code.tex”]6412 [style=”main2 node”,texlbl=”pgfcoreimage.code.tex”]
64120 [style=”internal node”,texlbl=”pgfcoreexternal.code.tex”]6413 [style=”main2 node”,texlbl=”pgfcorelayers.code.tex”]
6414 [style=”main2 node”,texlbl=”pgfcoretransparency.code.tex”]
6415 [style=”main2 node”,texlbl=”pgfcorepatterns.code.tex”]
64->640
64->641
64->642
64->643
64->644
64->645
64->646
64->647
64->648
64->649
64->6410
64->6411
64->6412
6412->64120
64->6413
64->6414
64->6415}
\end{dot2tex}
%%
\end{tikzpicture}
\caption{Beamer pgfcore.code.tex}
\label{fig:beamer3}
\end{figure}
\begin{figure}
\centering
\begin{tikzpicture}%[scale=0.8]
\begin{dot2tex}[format=tikz,scale=.8,styleonly]
digraph G{
size = “8.3,11.7”;
center=”true”;
rankdir=”LR”;
640 [style=”main node”,texlbl=”pgfmath.code.tex”]
6400 [style=”main2 node”,texlbl=”pgfmathcalc.code.tex”]
64000 [style=”main2 node”,texlbl=”pgfmathutil.code.tex”]
64001 [style=”internal node”,texlbl=”pgfmathparser.code.tex”]
64002 [style=”complesso node”,texlbl=”pgfmathfunctions.code.tex”]6401 [style=”internal node”,texlbl=”pgfmathfloat.code.tex”]
640->6400
6400->64000
6400->64001
6400->64002640->6401
}
\end{dot2tex}%%
\end{tikzpicture}
\caption{Beamer pgfmath.code.tex}
\label{fig:beamer4}
\end{figure}
\begin{figure}
\centering
\begin{tikzpicture}%[scale=0.8]
\begin{dot2tex}[format=tikz,scale=1,styleonly]
digraph G{
size = “8.3,11.8”;
rankdir=”LR”;
61 [style=”main node”,texlbl=”pgfsys”]
610 [style=”main2 node”,texlbl=”pgfrcs”]
6100 [style=”internal node”,texlbl=”pgfutil-common.tex”]
6101 [style=”cfg node”,texlbl=”pgfutil-latex.def”]
61010 [style=”internal node”,texlbl=”everyshi”]
6102 [style=”internal node”,texlbl=”pgfrcs.code.tex”]
611 [style=”main2 node”,texlbl=”pgfsyssoftpath.code.tex”]
612 [style=”main2 node”,texlbl=”pgfsyaprotocol.code.tex”]
61->610
610->6100
610->6101
6101->61010
610->6102
61->611
61->612
}
\end{dot2tex}
\end{tikzpicture}
\caption{Beamer pgfsys}
\label{fig:beamer5}
\end{figure}
\begin{figure}
\centering
\begin{tikzpicture}%[scale=0.8]
\begin{dot2tex}[format=tikz,scale=1,styleonly]
digraph G{
size = “8.3,11.7”;
center=”true”;
rankdir=”LR”;
1020 [style=”main node”,texlbl=”translator”]
10200 [style=”cfg node”,texlbl=”translator-basic-dictionary”]
10201 [style=”cfg node”,texlbl=”translator-bibliography-dictionary”]
10202 [style=”cfg node”,texlbl=”translator-environment-dictionary”]
10203 [style=”cfg node”,texlbl=”translator-months-dictionary”]
10204 [style=”cfg node”,texlbl=”translator-numbers-dictionary”]
10205 [style=”cfg node”,texlbl=”translator-theorem-dictionary”]
10206 [style=”internal node”,texlbl=”keyval”]
10207 [style=”cfg node”,texlbl=”translator-language-mappings”]
1020->10200
1020->10201
1020->10202
1020->10203
1020->10204
1020->10205
1020->10206
1020->10207
}
\end{dot2tex}
\end{tikzpicture}
\caption{Beamer translator}
\label{fig:beamer6}
\end{figure}
\begin{figure}
\centering
\begin{tikzpicture}%[scale=0.8]
\begin{dot2tex}[format=tikz,scale=1,styleonly]
digraph G{
size = “8.3,11.7”;
center=”true”;
rankdir=”LR”;64002 [style=”main node”,texlbl=”pgfmathfunctions.code.tex”]
640020 [style=”main2 node”,texlbl=”pgfmathfunctions.basic.code.tex”]
640021 [style=”main2 node”,texlbl=”pgfmathfunctions.trigonometric.code.tex”]
640022 [style=”main2 node”,texlbl=”pgfmathfunctions.random.code.tex”]
640022 [style=”main2 node”,texlbl=”pgfmathfunctions.comparison.code.tex “]
640023 [style=”main2 node”,texlbl=”pgfmathfunctions.base.code.tex “]
640024 [style=”main2 node”,texlbl=”pgfmathfunctions.round.code.tex “]
640025 [style=”main2 node”,texlbl=”pgfmathfunctions.misc.code.tex “]
640026 [style=”main2 node”,texlbl=”pgfmathfunctions.integerarithmetics.code.tex”]64002->640020
64002->640021
64002->640022
64002->640023
64002->640024
64002->640025
64002->640026}
\end{dot2tex}
\end{tikzpicture}
\caption{Beamer pgfmathfunctions.code.tex}
\label{fig:beamer7}
\end{figure}
\end{document}
`
se a qualcuno interessa
ciao
claudio
::
Compila ma che massacro
`
\documentclass{article}
\usepackage[autosize]{dot2texi}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,positioning}
\begin{document}
\begin{tikzpicture}%[scale=0.8]
\tikzset{base/.style={align=center,text=black}, }
\tikzset{testo/.style={align=left}, }
\tikzset{main node/.style={,base, draw=red, rounded corners}, }
\tikzset{main2 node/.style={,base, draw=green,rounded corners}, }
\tikzset{complesso node/.style={,base, draw=blue}, }
\tikzset{internal node/.style={,base, draw=magenta,dashed,rounded corners}, }
\tikzset{driver node/.style={,base,dashed,draw=blue!20}, }
\tikzset{formato node/.style={,base,dotted}, }
\tikzset{cfg node/.style={,base,trapezium,,trapezium left angle=70,trapezium right angle=-70,draw=brown}, }
% \tikzset{linea/.style={-triangle 90},}
\begin{dot2tex}[format=tikz,scale=1,styleonly]
digraph G{
rankdir=”LR”;
1 [style=”main node”,texlbl=”suftesi”]
2 [style=”complesso node”,texlbl=”geometry”]
201 [style=”internal node”,texlbl=”keyvall”]
3 [style=”complesso node”,texlbl=”xkeyval”]
5 [style=”complesso node”,texlbl=”caption”]
6 [style=”complesso node”,texlbl=”color”]
10 [style=”main2 node”,texlbl=”ifxetex”]
11 [style=”complesso node”,texlbl=”microtype”]
13 [style=”complesso node”,texlbl=”fontenc”]
15 [style=”main2 node”,texlbl=”crop”]
151 [style=”complesso node”,texlbl=”graphics”]
16 [style=”main2 node”,texlbl=”titlesec”]
1601[style=”cfg node”,texlbl=”ttlkey.cfg”]
22 [style=”main2 node”,texlbl=”beramono”]
1->2
2->201
2->10
3->201[style=bold,labelfloat= true, label = “blocca”]
1->3
1->5
1->6
5->201
11->201
1->10
1->11[style=bold,labelfloat= true, label = “[final]”]
1->13[style=bold,labelfloat= true, label = “[LGR,T1]”]
1->15[style=bold,labelfloat= true, label = “[A4,CAM,CENTER]”]
15->6
15->151
1->16
16->1601
1601->201
1->22
22->201
}
\end{dot2tex}
%%
\end{tikzpicture}
\end{document}
ciao
claudio
`
::
carino è il log
ho notato altre volte questo spirito`
(./classesuftesiR3-dot2tex-fig1.tex
! TeX capacity exceeded, sorry [input stack size=5000].
\pgf@selectfontorig ->\pgf@selectfontorig
\nullfont
l.4 …11) at (161.0bp,180.0bp) [complesso node] {
microtype};
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.`
ciao
::cfiandra” post=99204Direi che la causa potrebbe essere il numero eccessivo di punti disposti troppo vicini. Tieni prensente che bp è un’unità di misura comparabile con il pt (riferimento sulle misure).
Ciao
Claudionon ho capito
scusa
claudio
::claudio” post=99090Sto usando il pacchetto dot2texi durante le compilazioni mi appare
questo messaggio
`
“rm” non Š riconosciuto come comando interno o esterno, un programma eseguibile o un file batch.
`
a parte l’errore di codifica del messaggio
guardo in
dot2texi e trovo
`
immediate\write18{\ifwindows del \else rm — \fi “\ip@file”}
`
quindi il mio Windows 7 è scambiato per un unix:)
che scandalo
ciao
claudio
edit
non riesco a duplicare il bug
isolando il pacchetto
`
\documentclass{article}
\usepackage{ifplatform}% Possible, but not recommended!!!!!!!!
\iflinux
\usepackage[utf8]{inputenc}
\else
\ifwindows
\usepackage[latin1]{inputenc}
\fi
\fi\begin{document}
\iflinux
\Huge Yes, this is the most beautiful system in the world
\else
\small Poor boy
\fi\end{document}
`
funziona 🙂edit
il bug è di dot2texi che non usa ifplatform
ma del codice copiato da essa
come è chiaramente indicato dalla documentazione
ciao claudio
::
ho seguito il consiglio di Claudio 2, sono inoltre riuscito finalmente ad installare dot2tex vero!!!
comunque ho un problema il grafico viene stretto ma si posiziona in alto a destra leggermente fuori pagina
come convincerlo a tornare al centro ?
ciao
claudio 1`
\documentclass{article}
\usepackage[debug]{dot2texi}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,positioning}
\begin{document}
\begin{tikzpicture}%[scale=0.8]
\tikzset{main node/.style={rectangle, draw=red,text=black,
text centered, rounded corners}, }
\tikzset{main2 node/.style={rectangle, draw=green,text=black,
text centered, rounded corners}, }
%\tikzset{main2 node/.style={main node,green,text=black}, }
\tikzset{complesso node/.style={diamond, draw=blue,text=black,
text centered, rounded corners}, }
\tikzset{internal node/.style={rectangle, draw,dotted,
text centered, rounded corners}, }
\tikzset{driver node/.style={ellipse, draw,dashed,
text centered}, }
\tikzset{formato node/.style={rectangle, draw,dotted,
text centered}, }
\tikzset{cfg node/.style={minimum size=1cm}, }
\tikzset{linea/.style={-triangle 90},}
\begin{dot2tex}[neato,graphstyle={scale=1,transform shape},styleonly,options=–cache]
digraph G{
0 [style=”main2 node”,texlbl=”book.cls”]
1 [style=”main node”,texlbl=”suftesi”]
2 [style=”complesso node”,texlbl=”geometry”]
3 [style=”main2 node”,texlbl=”xkeyval”]
4 [style=”main2 node”,texlbl=”enumitem”]
5 [style=”complesso node”,texlbl=”caption”]
6 [style=”complesso node”,texlbl=”color”]
7 [style=”main2 node”,texlbl=”multicol”]
8 [style=”main2 node”,texlbl=”emptypage”]
9 [style=”main2 node”,texlbl=”textcase”]
10 [style=”main2 node”,texlbl=”ifxetex”]
11 [style=”complesso node”,texlbl=”microtype”]
12 [style=”main2 node”,texlbl=”cclicenses”]
13 [style=”main2 node”,texlbl=”fontenc”]
14 [style=”main2 node”,texlbl=”sostitutefont”]
15 [style=”complesso node”,texlbl=”crop”]
16 [style=”main2 node”,texlbl=”titlesec”]
1601[style=”cfg node”,texlbl=”ttlkey.cfg”]
17 [style=”main2 node”,texlbl=”extramarks”]
18 [style=”main2 node”,texlbl=”fancyhdr”]
19 [style=”main2 node”,texlbl=”titletoc”]
20 [style=”main2 node”,texlbl=”fixltxhyph”]
21 [style=”main2 node”,texlbl=”mathpazo”]
22 [style=”main2 node”,texlbl=”beramono”]
1->0
1->2
1->3
1->4
1->5
1->6
1->7
1->8
1->9
1->10
1->11
1->12
1->13
1->14
1->15
15->6
1->16
16->1601
1601->3
1->17
1->18
1->19
1->20
1->21
1->22
22->3
}
\end{dot2tex}
%%
\end{tikzpicture}
\end{document}
`
::
Una soluzione così?
`
\documentclass{article}
\usepackage{dot2texi}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,positioning}
\begin{document}
\begin{tikzpicture}%[scale=0.8]
\tikzset{main node/.style={rectangle, draw=red,text=black,
text centered, rounded corners}, }
\tikzset{main2 node/.style={main node,green,text=black}, }
\tikzset{internal node/.style={rectangle, draw,dotted,
text centered, rounded corners}, }
\tikzset{driver node/.style={ellipse, draw,dashed,
text centered}, }
\tikzset{formato node/.style={rectangle, draw,dotted,
text centered}, }
\tikzset{cfg node/.style={minimum size=1cm}, }
\tikzset{linea/.style={-triangle 90},}\begin{dot2tex}[dot,format=tikz,scale=1.0,styleonly]
digraph G{rankdir=”LR”;
0 [style=”main2 node”,texlbl=”report.cls”]
1 [style=”main node”,texlbl=”toptesi.cls”]
101[style=”main2 node”,texlbl=”babel”]
102[style=”main2 node”,texlbl=”ifxetex”]2[style=”main node”,texlbl=”toptesi.sty”]
201[style=”main2 node”,texlbl=”pdfx”]
202[style=”main2 node”,texlbl=”etoolbox”]
203[style=”main2 node”,texlbl=”graphicx”]
2031[style=”main2 node”,texlbl=”vedi…”]
204[style=”main2 node”,texlbl=”hyperref”]
3[style=”main node”,texlbl=”topcoman.sty”]
301 [style=”main2 node”,texlbl=”textcomp”]
4[style=”main node”,texlbl=”topfront.sty”]
5[style=”cfg node”,texlbl=”toptesi.cfg”]
1->2
1->0
1->102
1->1012->3
2->201
2->202
2->203
203->20312->204
2->4
3->301
3->102
4->5
}
\end{dot2tex}
% \begin{pgfonlayer}{background}
% \draw[rounded corners=2em,line width=5em,blue!20,cap=round]
% (103.center) — (104.center);
% \end{pgfonlayer}\end{tikzpicture}
\end{document}
`altro esempio
`
\documentclass{article}
\usepackage{dot2texi}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,positioning}
\begin{document}
\begin{tikzpicture}%[scale=0.8]
\tikzset{main node/.style={rectangle, draw=red,text=black,
text centered, rounded corners}, }
\tikzset{main2 node/.style={main node,green,text=black}, }
\tikzset{internal node/.style={rectangle, draw,dotted,
text centered, rounded corners}, }
\tikzset{driver node/.style={ellipse, draw,dashed,
text centered}, }
\tikzset{formato node/.style={rectangle, draw,dotted,
text centered}, }
\tikzset{cfg node/.style={minimum size=1cm}, }
\tikzset{linea/.style={-triangle 90},}
\begin{dot2tex}[neato,format=tikz,scale=1.2,styleonly]
digraph G{0[style=”main2 node”,texlbl=”book.cls”]
1 [style=”main node”,texlbl=”suftesi”]2 [style=”main2 node”,texlbl=”geometry”]
201 [style=”internal node”,texlbl=”keyvall”]3 [style=”main2 node”,texlbl=”xkeyval”]
4 [style=”main2 node”,texlbl=”enumitem”]
5 [style=”main2 node”,texlbl=”caption”]
51 [style=”internal node”,texlbl=”caption3″]
6 [style=”main2 node”,texlbl=”color”]7 [style=”main2 node”,texlbl=”multicol”]
8 [style=”main2 node”,texlbl=”emptypage”]
9 [style=”main2 node”,texlbl=”textcase”]
10 [style=”main2 node”,texlbl=”ifxetex”]
11 [style=”main2 node”,texlbl=”microtype”]
111[style=”driver node”,texlbl=”microtype-pdftex.def”]12 [style=”main2 node”,texlbl=”cclicenses”]
13 [style=”main2 node”,texlbl=”fontenc”]14 [style=”main2 node”,texlbl=”sostitutefont”]
15 [style=”main2 node”,texlbl=”crop”]
151 [style=”internal node”,texlbl=”graphics”]16 [style=”main2 node”,texlbl=”titlesec”]
1601[style=”cfg node”,texlbl=”ttlkey.cfg”]
17 [style=”main2 node”,texlbl=”extramarks”]
18 [style=”main2 node”,texlbl=”fancyhdr”]
19 [style=”main2 node”,texlbl=”titletoc”]
20 [style=”main2 node”,texlbl=”fixltxhyph”]
21 [style=”main2 node”,texlbl=”mathpazo”]
22 [style=”main2 node”,texlbl=”beramono”]15->151
1->0
1->2
2->2012->10
3->2011->3
1->4
1->5
1->65->51
5->201
11->11111->201
1->7
1->8
1->9
1->10
1->11
1->12
1->13
1->14
1->15
15->6
1->16
16->1601
1601->201
1->17
1->18
1->19
1->20
1->21
1->22
22->201}
\end{dot2tex}
%%
\end{tikzpicture}
\end{document}
`
ciao
claudio
::OldClaudio” post=99023Ecco quanto mi risponde il programma se faccio girare il tuo ultimo esempio.
`Opening dot2tex stream DipendenzeSuftesi-dot2tex-fig1.dot
runsystem(dot2tex –figonly –format=tikz –styleonly –prog=dot –graphstyle=”scale=0.5,transform shape” -o DipendenzeSuftesi-dot2tex-fig1.tex DipendenzeSuftesi-dot2tex-fig1.dot)…executed.Package dot2texi Warning: Conversion of DipendenzeSuftesi-dot2tex-fig1.dot failed..
Package dot2texi Warning: Please convert DipendenzeSuftesi-dot2tex-fig1.dot manually.`Devo leggere l’articolo di ClaudioF. o è qualcosa che non va?
il problema è dot2tex per il mio sistema windos ho risolto trovando un programmino dot2tex.exe che si mette fra pdflatex e il programma graphviz che in pratica genera il grafico
non conosco il mondo della mela ma so che esiste un dot2tex in python che fa lo stessa cosa
[attachment=1231]classesuftesi.pdf[/attachment]
provo ad allegare il file risultato
ciao
claudio
Attachments:
You must be logged in to view attached files.::
ecco una cosa un po sofisticata
suftesi
SICURAMENTE vi sono errori e non è completa
per rappresentarla ho dovuto abbandonare il sistema dei nodi che ho usato prima. Mi ha aiutato un articolo di Fiandrino per Arstexnica n.13 che mi ha fornito i mezzi per costruire il grafico.
Buon divertimento
claudio
`
\documentclass{article}
\usepackage{dot2texi}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,positioning}
\begin{document}
\begin{tikzpicture}%[scale=0.8]
\tikzset{main node/.style={rectangle, draw,
text centered, rounded corners}, }
\tikzset{internal node/.style={rectangle, draw,dotted,
text centered, rounded corners}, }
\tikzset{driver node/.style={ellipse, draw,dashed,
text centered}, }
\tikzset{formato node/.style={rectangle, draw,dotted,
text centered}, }
\tikzset{cfg node/.style={minimum size=1cm}, }
\tikzset{linea/.style={-triangle 90},}
\begin{dot2tex}[dot,format=tikz,scale=0.5,styleonly]
digraph G{
edge [style=bold]
rankdir=”LR”;
1 [style=”main node”,texlbl=”suftesi”]
2 [style=”main node”,texlbl=”geometry”]
201 [style=”internal node”,texlbl=”keyvall”]
202 [style=”internal node”,texlbl=”ifpdf”]
203 [style=”internal node”,texlbl=”atbegshi”]
204 [style=”internal node”,texlbl=”ifvtex”]
3 [style=”main node”,texlbl=”xkeyval”]
301[style=”internal node”,texlbl=”xkeyval.tex”]
302[style=”internal node”,texlbl=”xkvutils.tex”]
303[style=”internal node”,texlbl=”keyval.tex”]4 [style=”main node”,texlbl=”enumitem”]
5 [style=”main node”,texlbl=”caption”]
51 [style=”internal node”,texlbl=”caption3″]
6 [style=”main node”,texlbl=”color”]
61 [style=”cfg node”,texlbl=”color.cfg”]
62 [style=”driver node”,texlbl=”pdftex.def”]
63 [style=”internal node”,texlbl=”infwarerr”]
64 [style=”internal node”,texlbl=”ltxcmds”]
65 [style=”internal node”,texlbl=”supp-pdf.mkii”]
7 [style=”main node”,texlbl=”multicol”]
8 [style=”main node”,texlbl=”emptypage”]
9 [style=”main node”,texlbl=”textcase”]
10 [style=”main node”,texlbl=”ifxetex”]
11 [style=”main node”,texlbl=”microtype”]
111[style=”driver node”,texlbl=”microtype-pdftex.def”]
112[style=”cfg node”,texlbl=”microtype.cfg”]
113[style=”driver node”,texlbl=”mt-ppl.cfg”]
12 [style=”main node”,texlbl=”cclicenses”]
13 [style=”main node”,texlbl=”fontenc”]
1301 [style=”driver node”,texlbl=”lgrenc.def”]
1302 [style=”driver node”,texlbl=”greek-fontenc.def”]
1303 [style=”driver node”,texlbl=”t1enc.def”]
1304 [style=”driver node”,texlbl=”lgrcmr.fd”]
14 [style=”main node”,texlbl=”sostitutefont”]
15 [style=”main node”,texlbl=”crop”]
151 [style=”internal node”,texlbl=”graphics”]
152 [style=”internal node”,texlbl=”trig”]
153 [style=”cfg node”,texlbl=”graphics.cfg”]
154 [style=”driver node”,texlbl=”epstopdf-base”]
155 [style=”internal node”,texlbl=”pdftexcmds”]
156 [style=”internal node”,texlbl=”ifpdf”]
157 [style=”internal node”,texlbl=”ifluatex”]
158 [style=”internal node”,texlbl=”grfext”]
159 [style=”internal node”,texlbl=”kvoptions”]
1510 [style=”internal node”,texlbl=”kvsetkeys”]
1511 [style=”internal node”,texlbl=”etexcmds”]
1512 [style=”cfg node”,texlbl=”epstopdf-sys.cfg”]
16 [style=”main node”,texlbl=”titlesec”]
1601[style=”cfg node”,texlbl=”ttlkey.cfg”]
17 [style=”main node”,texlbl=”extramarks”]
18 [style=”main node”,texlbl=”fancyhdr”]
19 [style=”main node”,texlbl=”titletoc”]
20 [style=”main node”,texlbl=”fixltxhyph”]
21 [style=”main node”,texlbl=”mathpazo”]
22 [style=”main node”,texlbl=”beramono”]15->151
151->152
151->153
151->62
153->62
153->154
154->63
154->155
153->155
62->155
155->156
155->157
154->158
158->159
159->64
154->159
159->1510
159->1511
159->201
154->1512
1->2
2->201
2->202
2->203
2->204
2->10
3->201[style=bold,labelfloat= true, label = “blocca”]
3->301
3->302
3->303
1->3
1->4[style=bold,labelfloat= true, label = “[inline]”]
1->5
1->6
6->61
6->62
62->63
63->64
62->65
61->62
5->51
5->201
11->111
11->112
11->201
11->113
1->7
1->8
1->9
1->10
1->11[style=bold,labelfloat= true, label = “[final]”]
1->12
1->13[style=bold,labelfloat= true, label = “[LGR,T1]”]
1->14
1->15[style=bold,labelfloat= true, label = “[A4,CAM,CENTER]”]
15->6
1->16
16->1601
1601->201
1->17
1->18
1->19
1->20
1->21
1->22
22->201
13->1301
1301->1302
1302->1303
13->1304
}
\end{dot2tex}
%%
\end{tikzpicture}
\end{document}
`
buon anno
-
AutoreRisposte