Announcement

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

  • Insert a text file into a PDF using putpdf?

    I regularly teach statistics courses and would like my students to be able to (easily) combine their log file and saved images into one PDF document. I am aware of several third-party commands and apps that can do this, but these approaches can be cumbersome and/or distracting for students. (The results are often poorly formatted, too). This seems like something that should be baked into Stata, perhaps via the putpdf command. I like putpdf's ability to create nicely formatted reports, but in some cases I would just like to create a PDF that has a mix of Stata output and figures--no fancy formatting required. If I could just insert a .txt or .smcl file into my PDF as part of putpdf, this would be huge. Seems like this should be simple, but it may be harder that it sounds.

    I would welcome alternative ideas that don't involve third-party commands/apps (or require markdown or Latex, etc) and hope Stata will take this suggestion for the putpdf command.

    Thanks,
    Sean Corcoran

  • #2
    Seems like a reasonable suggestion to me, although I have no idea whether this would be easy or hard for StataCorp to implement. Really, though, I think O.P. should repost this on the Wishlist for Stata19 thread where it will be seen by the people who plan for Stata's future and it might also draw recommendations for good workarounds.

    Comment


    • #3
      The one option I have been using is combining quarto with either nbstata (for dynamic documents) or simply adding stata output as attachments to quarto documents.

      There is some learning curve but after that, a clock on render and it will produce your pdf with whatever content you may need.
      may be worth talking a look into

      Comment

      Working...
      X