how many instances of "i" are there in:
stata 15 has a putpdf command that can automate the production of pdf files using low-level instructions. the markstat command can achieve equivalent results using markdown to author the document.
the example below, taken from stata 15's announcement of putpdf, shows the code in samplereport.do and the equivalent markstat script, which reproduces all results but skips changing the background color of text1.
~~strikeout~~, and sub/super script~2~.
embeb the output from a regression command into your pdf file.
embeb the data in stata's memory into a table in your pdf file.
this example is not very representative because it doesn't have a lot of text. the output of putpdf is available from the stata website here. the output from markstat is here, with a reduced screen capture below. the input script is here.
1the background color can be changed in html using the markdown syntax [bgcolor]{style="background-color:rgba(0,0,255, 0.3)"} or a span tag, and in pdf by using latex code as shown here with output here. in both cases i changed the opacity of the blue background to make the black text more readable than in stata's original.
user
I counted 46 "i"s in that text.
assistant