From: Petr M. <mi...@ph...> - 2004-02-12 16:12:01
|
Except for OO, please contribute TeX and metapost/font very below... > > There is a question "How do I include my graphs in <word processor>?" > > I think it would be useful to complete it by "in OpenOffice.org". Can > > someone worked this out? > > OpenOffice on Windows supports copy-paste from gnuplot, and in general, > OOo can handle several file formats gnuplot generates: EMF, WMF, EPS (with > the usual caveat that you need a PS printer), DXF and a whole slew of > pixel formats (PNG, P[BGP]M, GIF, JPG). The major difference between OOo > and MS Office is that there don't seem to be import filters for CGM, HPGL > or CorelDraw images. But maybe I just didn't look closely enough. > > In other words: the text, as it is right now, mostly fits OpenOffice.org. png and bitmaps are fine; or vectorial formats, I've tried gnuplot + OO on Linux: - emf is OK, in colors - dxf lacks many features - wmf terminal is not available on gnuplot/Linux Can someone try gnuplot with wmf and put it onto OO? What are differences to emf? Which has smaller size and more features => thus what we can recommend? If the analysis is positive, wmf generation should be switched on for every platform. *** I propose these changes to the FAQ -- please update it as necessary so that I can commit it: Many word processors can use Encapsulated PostScript for graphs. This can be generated by the \verb+set terminal postscript eps [color]+ command. Note that it is a good idea to check and correct the bounding box of the graphs in the eps files (manually or by the fixbb script from gnuplot webpage), as you have to correct this box for any eps figure produced by whichever program. Some (most?) word processors do not preview the actual image in the eps file, and you have to add the preview image yourself. You can use the GSView viewer for this (available for OS/2, Windows and X11), or ??? some Unix ps tool???. Note that the preview image increases size of the eps file; the smallest increase you may get by choosing Tiff 6 Packbits. Into some office applications, like OpenOffice.org, or into applications in the Windows world, you can insert vectorial images produces by the emf or wmf terminal type. With \TeX, it depends on what you use to print your dvi files... With \TeX processed by pdftex or pdflatex, you can use png and pdf terminal types. ???? Metapost ??? Metafont ??? |