How to embed Graphviz in LyX?

2

I want to embed dot scripts within .lyx files, I added the following line:

(In document LaTeX preamble: )
\usepackage{graphviz}

however, latex errored:

LaTeX Error: File `graphviz.sty' not found.

Xiè Jìléi

Posted 2010-10-07T15:12:30.190

Reputation: 14 766

1

You can find an entire community on the TeX StackExchange, where no TeX-related question is too small.

– Matthew Leingang – 2010-11-29T13:18:24.737

Answers

1

lyx should know .dot files itself when graphviz is correctly installed. no need for preamble hacking, just insert it as a normal picture.

jujuju

Posted 2010-10-07T15:12:30.190

Reputation: 26

0

Well, it seems you don't have the graphviz.sty package correctly installed. Maybe this can help you. Anyway there are other ways to embed Graphviz in LaTeX, see a previuos answer of mine.

cYrus

Posted 2010-10-07T15:12:30.190

Reputation: 18 102