Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | John Luke Gallup <jlgallup@pdx.edu> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: -outreg-, factor variables and LaTeX special characters |
Date | Fri, 25 Oct 2013 14:26:14 -0700 |
Jorge, I overlooked the issue of the "#" characters for TeX output when I included support for factor variables in -outreg-. Thanks for pointing this out. I will try to fix this within the next week or so. John On Oct 24, 2013, at 1:55 PM, Jorge Eduardo Pérez Pérez <jorge_perez@brown.edu> wrote: > 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/ * * 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/