Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Jorge Eduardo Pérez Pérez <jorge_perez@brown.edu> |

To |
"statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |

Subject |
st: -outreg-, factor variables and LaTeX special characters |

Date |
Thu, 24 Oct 2013 16:55:47 -0400 |

I am using -outreg- (version 4.29) to export regression results to latex. -outreg- does not handle LaTeX special characters automatically. The issue shows up when using factor variables, because # appears frequently. For example, if I export a regression table, make a proper tex document out of it using the user written command -maketex- and try to compile it using texify, it will fail to compile because of the # character in the factor variable. sysuse auto, clear reg price c.mpg##c.turn outreg using test.tex, tex replace maketex using test.tex !texify -p -c -b --run-viewer test.tex Is there a workaround to this using -outreg- ? I could try -estout-, -outreg2- (which I think has the same issue) etc ..., but I am just used to -outreg- Thank you, -------------------------------------------- Jorge Eduardo Pérez Pérez Graduate Student Department of Economics Brown University * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**Re: st: -outreg-, factor variables and LaTeX special characters***From:*John Luke Gallup <jlgallup@pdx.edu>

- Prev by Date:
**Re: st: How to get rid of outliers** - Next by Date:
**Re: st: Stata 13/12 for Mac and Mavericks** - Previous by thread:
**st: Stata 13/12 for Mac and Mavericks** - Next by thread:
**Re: st: -outreg-, factor variables and LaTeX special characters** - Index(es):