Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.
share|improve this question
1  
You can find an entire community on the TeX StackExchange, where no TeX-related question is too small. –  Matthew Leingang Nov 29 '10 at 13:18

2 Answers 2

up vote 1 down vote accepted

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

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.