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]
Re: st: linesize with -sjlog-
From
Partha Deb <[email protected]>
To
<[email protected]>
Subject
Re: st: linesize with -sjlog-
Date
Thu, 11 Oct 2012 15:21:09 -0400
Nick and all,
I agree that -sjlog- was written for the Stata Journal. But -sjlog- is
very useful to output logs in Tex format for other purposes too -
answers to homework assignments in my case. I note that Ben Jann's
-texdoc- uses it (and he reports the same linesize issue).
I've now managed to hack -sjlog.ado- in rudimentary ways to create .log
and .smcl files with longer lines than 80. But the .log.tex file still
has linesize of 80 characters. Best as I can figure, it's -log texman-
that translates to Tex with linesize of 80, but it's completely
undocumented.
Still stumped.
Partha
On 10/11/2012 2:33 PM, Nick Cox wrote:
The issue here is I think simple.
This program from
sjlatex from http://www.stata-journal.com/production
is designed to support submissions to the Stata Journal.
Your monitor(s) may be nice and big, but the Stata Journal pagesize is
exactly the same as it was in 2001, and there is no point to changing
the limit. The logs produced would be too wide to fit in the SJ.
Of course, if you are using -sjlog- for some other purpose, I doubt
that anyone will mind your fixing a clone of the code to do what you
want.
Nick
On Thu, Oct 11, 2012 at 7:16 PM, Partha Deb <[email protected]> wrote:
Does anyone know a way to get -sjlog- to format output with a linesize other
than 80? Setting -linesize 200- does not work. The following example
illustrates my point. While the results window has everything formatted
nicely, the -log- file has the lines broken at the 80 character mark. A
hack of -sjlog.ado- perhaps?
*
* 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/
--
Partha Deb
Professor of Economics
Director of Graduate Studies
Hunter College
ph: (212) 772-5435
fax: (212) 772-5398
http://urban.hunter.cuny.edu/~deb/
Emancipate yourselves from mental slavery
None but ourselves can free our minds.
- Bob Marley
*
* 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/