Thank you, I no longer get a Markdoc error message. But I get the tex error !Undefined control sequence from the Stata output if I change directory when I use the style stata. I use updated Stata 14.2 and markdoc 3.8.7 from GitHub on Windows 7.
For example if I add cd "C:/temp" as here:
Then the tex console output is
There is no error if I instead use the style("simple"). The error is only with style("stata").
As an aside, the style("stata") adds a first page titled "THE STATA JOURNAL" with a linkable subtitle "How to write text in MarkDoc .................... Short article author list" and with page number 1. I am not sure if there are other large differences between the two styles (apart from the error in the stata style) but this one seems worth mentioning.
For example if I add cd "C:/temp" as here:
Code:
cd "C:/temp" qui log using example, replace /*** This is a Markdown Heading ========================== This is a Markdown subheading ----------------------------- This is a text paragraph. ***/ cd .. cd "C:/temp" qui log c markdoc example, replace title("How to write text in MarkDoc") /// export(tex) toc master style("stata") noisily
Code:
! Undefined control sequence. l.35 C:\temp
As an aside, the style("stata") adds a first page titled "THE STATA JOURNAL" with a linkable subtitle "How to write text in MarkDoc .................... Short article author list" and with page number 1. I am not sure if there are other large differences between the two styles (apart from the error in the stata style) but this one seems worth mentioning.
Comment