Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Jorge Eduardo Pérez Pérez <jorge_perez@brown.edu> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | Re: st: -outreg-, factor variables and LaTeX special characters |
Date | Fri, 8 Nov 2013 10:08:05 -0500 |
Thank you, I have updated successfully and the revised version works perfectly. Regards, Jorge Pérez. -------------------------------------------- Jorge Eduardo Pérez Pérez Graduate Student Department of Economics Brown University On Fri, Nov 8, 2013 at 5:55 AM, John Luke Gallup <jlgallup@pdx.edu> wrote: > Jorge, > > I have revised -outreg- to handle the "#" characters in factor variables notation properly. You can update your -outreg- version with -ssc install outreg, replace-. > > 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/ * * 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/