Write paragraphs, images, and tables to PDF files
Add custom formatting to paragraphs, text, tables, and table cells
Embed results generated by Stata into PDF paragraphs and tables
Embed tables from a collection
Embed Stata graphs
Stata users often need to create Word, PDF, or HTML files to report on what they have done. Stata provides commands for doing that:
|Create PDF files
|Create Word documents
|Create HTML from Markdown
Here we tell you about putpdf.
Many organizations produce daily, weekly, or monthly reports that are disseminated as PDF (.pdf) files. Until now, a typical workflow might be to have an entire automated analysis in Stata followed by manual copying and pasting of results from Stata to Word or a LaTeX document that is then translated to a PDF.
Stata's putpdf command allows you to automate the production of PDF files. You can create files containing the following:
embedded output from Stata in paragraphs and tables
embedded Stata graphs (or any PNG or JPEG files)
And you can control page size, page breaks, and document orientation.