"Encapsulated" PDF export
Submitted by Josef Kufner
Hello, to use diagrams with pdflatex I need to export diagrams to PDF and then insert these figures into document (I use LyX, but it is not important).
The best way I found is to setup diagram page to zero margins and fit diagram to one page. Then use PDF export and in LyX crop away empty bottom of the diagram.
It would be much better if Dia has option to export "encapsulated" PDF, which has correct bounding box for the diagram, just like Encapsulated Postscript has. I guess this feature is only in adding second PDF output format which sets appropriate (custom) page dimensions instead of normalized paper size.