Announcement

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

  • Do-File to word document

    Dear Statalist-Users,

    Is there a possibiltiy to transfer the do-file itself to a word document?
    I only found instructions for transfering the results.

    Thanks for your help in advance!

  • #2
    Copy+paste and change the font to a monospace font (e.g. Courrier New)?

    Comment


    • #3
      Magadela, Yes, you can use the user-written program markdoc (GitHub) with the document format docx. That way, you get both the do-file, the results and nice documentation in Word.

      Comment


      • #4
        Thanks for your answers!!

        Comment


        • #5
          If you don't need word explicitly you could also consider using StatWeave, which would generate the output in LaTeX.

          Comment


          • #6
            markdoc is a tool that allows you to create Microsoft Word, as well as LaTeX, HTML, and PDF from your do-file and it is fairly simple to learn.

            You can install it from GitHub, which requires the github command to install its dependencies automatically. Run the following commands and you are good to go.

            Code:
            . net install github, from("https://haghish.github.io/github/")
            . github install haghish/markdoc
            You can find the documentation manual on GitHub Wiki and on MarkDoc homepage. Also, the package has a dialog box that shows all the options. Execute db markdoc for use the dialog box.
            ——————————————
            E. F. Haghish, IMBI, University of Freiburg
            [email protected]
            http://www.haghish.com/

            Comment

            Working...
            X