You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use dot2tex version 2.9.0 from my Ubuntu distribution. I have tried to generate minimal examples to show what I believe is a bug. When I compile either of the two following files with the command given in the file, one box is not drawn (A in first and B in second example), see attached pdfs.
File test-dot2tex-bug.gv
// REPRODUCE BUG BY RUNNING
// dot -Txdot test-dot2tex-bug.gv | dot2tex | sed 's/\documentclass{article}/\documentclass[margin=5mm]{standalone}/'| sed 's/\enlargethispage{100cm}//' > test-dot2tex-bug.tex ; pdflatex test-dot2tex-bug.tex
// IT WORKS WITH THOUGH
// dot2tex --preproc test-dot2tex-bug.gv | dot2tex | sed 's/\documentclass{article}/\documentclass[margin=5mm]{standalone}/'| sed 's/\enlargethispage{100cm}//' > test-dot2tex-bug.tex ; pdflatex test-dot2tex-bug.tex
digraph G {
node [shape=box];
A [label="1 Overview (7)"];
B [label="2 Hard partitional clustering (20)"];
A -> B;
};
// REPRODUCE BUG BY RUNNING
// dot -Txdot test-dot2tex-bug.gv | dot2tex | sed 's/\documentclass{article}/\documentclass[margin=5mm]{standalone}/'| sed 's/\enlargethispage{100cm}//' > test-dot2tex-bug.tex ; pdflatex test-dot2tex-bug.tex
// OR
// dot2tex --preproc test-dot2tex-bugEvenWithPreproc.gv | dot2tex | sed 's/\documentclass{article}/\documentclass[margin=5mm]{standalone}/'| sed 's/\enlargethispage{100cm}//' > test-dot2tex-bugEvenWithPreproc.tex ; pdflatex test-dot2tex-bugEvenWithPreproc.tex
digraph G {
rankdir=LR
node [shape=box];
A [label="A"];
B [label="B"];
C [label="CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC"];
A -> B
A -> C
}
I use dot2tex version 2.9.0 from my Ubuntu distribution. I have tried to generate minimal examples to show what I believe is a bug. When I compile either of the two following files with the command given in the file, one box is not drawn (A in first and B in second example), see attached pdfs.
File test-dot2tex-bug.gv
Result:
test-dot2tex-bug.pdf
File test-dot2tex-bugEvenWithPreproc.gv
Result:
test-dot2tex-bugEvenWithPreproc.pdf
The text was updated successfully, but these errors were encountered: