Code:
ssc install markstat, replace
The update also extends the -.include filename- convention to include an html file in the document. The new -collect export- command, when used to export html with the -tableonly- option, will create both an html and a css file. The -.include- handler will now check to see if there is a css file of the same name, and if so it will include it as well. This may it maintains compatibility with commands that generate html only. By the way, if you plan to include several tables in a document, make sure when you export them you use the -prefix(class)- option to specify a different class for each table, say t1, t2, etc, otherwise all tables will use the styles of the first one.
Finally, the update modifies -markstat-'s own css (1) to compensate for a recent change in Pandoc that made the body a bit too narrow for Stata output, and (2) to avoid table style conflicts with -collect export-. The solution here was to change the default table styles so they apply only to tables without an explicit class, thus excluding tables generated by -collect export-, which always have a class. This maintains compatibility with Markdown tables, which need the styling, and hopefully doesn't break old code.
0 Response to Updated markstat for Stata 17
Post a Comment