Georg Baum wrote: > Neal Becker wrote: > >> It looks like if I insert grace graphs and export to pdf, that the graphs >> are first converted to png? > > Yes. > >> This is not optimal, grace can export to pdf if the option is compiled >> in, and pdflatex works great with this directly. > > Yes. > >> What needs to be done to change this? > > This is hardcoded in the graphics inset, not only for grace but all image > formats. That needs to be changed (and has IIRC a bugzilla entry). Until > that is done you could define a Grace "External Template" (read the > Customization manual for details), that uses pdf as export format for > pdflatex. If you need help, ask, I might find some spare minutes to do > that. > > > Georg
Thanks. I tried this: (pretty much copied from rasterimage): Template gracepdf GuiName "gracepdf: $$AbsOrRelPathParent$$Basename" HelpText A grace plot to pdf HelpTextEnd InputFormat grace FileFilter "*.agr" AutomaticProduction true Transform Rotate Transform Resize Transform Clip Transform Extra Format PDFLaTeX TransformOption Rotate RotationLatexOption TransformOption Resize ResizeLatexOption TransformOption Clip ClipLatexOption TransformOption Extra ExtraOption Option Arg "[$$Extra,$$Rotate,$$Resize,$$Clip]" Product "\\includegraphics$$Arg{$$AbsOrRelPathMaster$$Basename}" UpdateFormat pdftex UpdateResult "$$AbsPath$$Basename.pdf" Requirement "graphicx" # Preamble WarnNotFound # Preamble InputOrWarn ReferencedFile latex "$$AbsPath$$Basename.pdf" FormatEnd TemplateEnd But view/pdflatex gives this error: \includegraphics {0_home_nbecker_shannon2_mercurial_sync_phase_detector} So 1) graphicx wasn't included even though I required it and 2) what's with the strange file name?