GNOME Bugzilla – Bug 699540
"Encapsulated" PDF export
Last modified: 2019-03-20 11:57:21 UTC
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. Thank you!
If someone would cleanly implement this feature patches would be accepted. With two dedicated TeX export filters (pgf, pstricks) I still don't get why the pdf export should be bent to work with TeX;)
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/dia/issues/323.