Re: Export to TEX



On Fri, Feb 20, 2004 at 12:07:20AM +0100, Anca-Eugenia Oprisch wrote:
1.I've drawn with Dia a graph. Then I've exported to PS Tricks TEX macro
and I've compiled it.

Maybe this is not very helpful for you, but I have always
exported to EPS (Encapsulated PostScript) and transformed it
to PDF:

$ dia --export-to-format=eps diagramme.dia
$ epstopdf diagramme.dia > diagramme.pdf

The PDF is included using:

\usepackage[pdftex]{graphicx}
\includegraphics[height=1cm]{diagramme.pdf}

I finally do:

$ pdflatex document.tex

That way, no DVI nor PS file is generated, only PDF.

2. How can I view the graph?

You can use all ghostscript based viewers to view eps and
pdf, such as gv, gnome-gv, etc. and you can use gpdf or xpdf
to view pdf.

Cheers,
-- 
W. Borgert <debacle debian org>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]