# How to use DIA? [duplicate]

I'm new at Latex, and I'm trying to make a photo diagram.

And i have found the program "Dia" and wants to know how it works, i have tried to read the Manuel, but I'm not entirely sure of how it works, - So my questions is, how can i convert the Diagram to Latex, and then how do i include it in Latex?, And if i include a photo ind the diagram, where should i put the photo-file (in which folder)?

## marked as duplicate by egreg, Joseph Wright♦Feb 28 '15 at 18:09

• I had never heard of dia but google suggested a possibility but it's just a drawing program so asking how to use it is off topic for this site. pdflatex can input images in (for example) png format but it does not care how you made that image, just save your image in the same folder as your tex document. – David Carlisle Feb 28 '15 at 17:39
• According to the documentation you can export the diagram as a PDF file or even as PSTricks macros. – egreg Feb 28 '15 at 17:39
• Exactly, I found out that the program have some abilities that i like to use. But my problem is, that i cant make it work,- I have to have more than two pictures beside each other, and some arrows between those – JesperB-ING Feb 28 '15 at 17:42
• save your diagram as say zzz.pdf then a latex document of \documentclass{article}\usepackage{graphicx}\begin{document}\includegraphics{zzz}\end{document} should work. "can't make it work" isn't very specific, if you get an error ask a specific question and show the error message in full. – David Carlisle Feb 28 '15 at 17:46

Save your diagram as say zzz.pdf in the same folder as your latex document then a latex document of
\documentclass{article}