Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • rtfutil - can it be used to inserting multiple graphs in one .rtf document

    I have multiple graphs saves as

    graph save fig8_class.gph,replace
    graph save fig9_income.gph,replace
    etc

    How do I put them into one Word document / RTF. document? Can rtfutil do the that?
    best
    Kasper


  • #2
    I don't know about -rtfutil-, but you can export graphs in the emf format which can be inserted in a Word document:
    Code:
    graph export fig8_class.emf , replace

    Comment


    • #3
      to build on Svend's comment, note that graph export (see the help file) can be used for several different kinds of translations; I personally generally use .tif and clients and colleagues have not had any problems (yet)

      Comment


      • #4
        You might try Austin Nichols's png2rtf for this purpose. Available from SSC.

        Alternatively, read the help for png2rtf for a suggestion on how to automate a HTML file that can subsequently be opened in Word.

        David
        David Radwin
        Senior Researcher, California Competes
        californiacompetes.org
        Pronouns: He/Him

        Comment


        • #5
          Thanks alot David - "png2rtf" Works perfectly

          graph save fig1.gph,replace
          gr export temp.png, height(450) width(600) replace
          png2rtf using ch1.doc, g(temp.png) replace

          graph save fig2.gph,replace
          gr export temp.png, height(450) width(600) replace
          png2rtf using ch1.doc, g(temp.png) a

          etc. give me 100 some graphs

          best
          Kasper

          Comment

          Working...
          X