I'm having trouble with the user-written outreg2
package used in Stata. When I build the output with the tex(frag)
option, the resulting tables have three backslashes at the end of each line rather than just two, resulting in a "misplaced alignment character" error for each line.
Any ideas on what I'm doing wrong or how to fix this?
(first regression specification)
outreg2 d.lntau_sh d.lntau_sf using Table_1.tex, nocons replace
(second regression second regression specification)
outreg2 d.lntau_ht d.lntau_th using Table_1.tex, tex(frag) se coefastr symb(***,**,*) rdec(3) bdec(3) r2 nocons append
This answer is specific to Windows. I encountered the same problem. It seems to be specific to the most recent version of outreg2 (outreg2 2.2.5 19mar2012). I fixed the problem as follows: open "C:\ado\plus\o\outreg2.ado" in Notepad; use CTRL+H to replace all instances of three backslashes into two backslashes (there should be three instances replaced); save (CTRL+S).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With