Announcement

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

  • dyndoc table

    Hi,
    I get the sense I am missing something obvious but I cannot see how to create a real HTML or Word table using -dyndoc-. Instead it creates the "text table" as in a Stata log, albeit in an HTML file.
    In the examples I have found (e.g.,Convert dynamic Markdown documents to Word or HTML | Stata), the table is in the HTML file, but it is not a real HTML table. It is text.
    The same is true using dyndoc to convert to Word.

    I realize one can use -collect- and then -collect export- but it is not clear to me how this integrates into -dyndoc- because I do not see how to export to the same file as the -dyndoc- output.
    Tables created with -collect layout- appear as text constructions when converted to HTML or Word with dyndoc, as far as I can tell.

    Is there some way to convert the standard text-table into a true HTML or Word table using dyndoc?
    Or any other tool in Stata to put real tables in-line with code, graphs, etc?

    Is the only option to build up the output file using -putdocx- ?
    Is there an analogous way to make the result file be HTML rather than Word?

    I am looking for something like the result from knitr in R using e.g., kable to make tables...potentially with scroll-boxes and so on... What am I not getting?
    Using v18.

    Thanks,
    Scott
Working...
X