I am unable to use the user-written program markdoc (GitHub) for directory paths on tex. I am using MarkDoc version 3.9.2 on Windows 7.
I first reported markdoc to be incompatible with cd "C:/temp" on version 3.8.7 here: http://www.statalist.org/forums/forum/general-stata-discussion/general/1355554-markdoc-manual-gui?p=1364009#post1364009
A claimed "bug fix" for version 3.9.1 was reported here: http://www.statalist.org/forums/foru...83#post1366083
The example I used for 3.9.1 has a different problem of outputting wrong tex in version 3.9.2. This is the example code I reported:
My calling code (with the simple style) is:
I used a new do file name to allow further testing. The describe command outputs wrong tex path:
The above text code does not compile. The error is
I can manually edit the tex code to make it run and produce the wanted PDF. This tex code works:
The problem used to affect only stata style but now also affects the simple style. With simple style the last part of the Stata output is:
which looks weird, and the tex output is:
The usual reply has been something like "this has been fixed in the new version". There is already a new version, 3.9.3. But this was supposed to be fixed in version 3.9.2, as reported here:
http://www.statalist.org/forums/foru...36#post1366236
I am willing to send my full test file off-line if needed.
I first reported markdoc to be incompatible with cd "C:/temp" on version 3.8.7 here: http://www.statalist.org/forums/forum/general-stata-discussion/general/1355554-markdoc-manual-gui?p=1364009#post1364009
A claimed "bug fix" for version 3.9.1 was reported here: http://www.statalist.org/forums/foru...83#post1366083
The example I used for 3.9.1 has a different problem of outputting wrong tex in version 3.9.2. This is the example code I reported:
Code:
log using example, replace sysuse auto, clear /*** Part A. ***/ describe /*** Part B. ***/ di "hello world" log c
Code:
markdoc "F:\DOH\tmp2_1dec.do" , markup(markdown) export(tex) replace statax /// style("simple") master toc noisily
I used a new do file name to allow further testing. The describe command outputs wrong tex path:
Code:
Contains data from C:\\Program Files (x86)\Stata14\ado\base/a/auto.dta
Code:
! Undefined control sequence. l.39 ...a from C:\\Program Files (x86)\Stata14\ado \base/a/auto.dta
Code:
Contains data from C:/Program Files (x86)/Stata14/ado/base/a/auto.dta
Code:
Executing Pandoc Command "c:\ado\plus\Weaver\pandoc\pandoc.exe" --mathjax --toc "C:\Users\AALEXA~1\AppData\Local\Temp\ST_0000000b. > tmp.md" -o "C:\Users\AALEXA~1\AppData\Local\Temp\ST_00000009.tmp.tex" ::Part A. Comment about describe. 1:: . di "hello world" :: (note: file C:\Users\AALEXA~1\AppData\Local\Temp\ST_0000000m.tmp not found) (MarkDoc created F:\DOH\tmp2_1dec.tex)
Code:
! LaTeX Error: Something's wrong--perhaps a missing \item. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.2 ...n}{\numberline {1}References}{1}{section.1}
http://www.statalist.org/forums/foru...36#post1366236
I am willing to send my full test file off-line if needed.
Comment