Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: Length of lines with -translate- and -log2html-


From   Friedrich Huebler <[email protected]>
To   [email protected]
Subject   st: Re: Length of lines with -translate- and -log2html-
Date   Thu, 2 Oct 2003 07:50:58 -0700 (PDT)

--- Nick Cox <[email protected]> wrote:
> What I should have said was that -log2html-
> has the aim of a straight translation from SMCL to HTML,
> among other things rendering continuation lines faithfully.
> Nowhere, I believe, does it claim that it will recombine
> what Stata split into multiple lines, i.e. reverse the
> formation of continuation lines.

Nick,

I am not asking for -translate- and -log2html- to recombine broken
lines. In the SMCL file the -tabstat- output is rendered with
unbroken lines, as you can see below. However, when this SMCL file is
converted to a text or HTML file with -translate- or -log2html- the
lines are broken.

Friedrich

{smcl}
{com}{sf}{ul off}{txt}{.-}
       log:  {res}C:\DATA\linetest.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res} 2 Oct 2003, 09:48:40
{txt}
{com}. tabstat price mpg rep78 headroom trunk weight length turn
displacement gear_ratio foreign;

----- Start of SMCL file -----
{txt}   stats {...}
{c |}{...}
     price       mpg     rep78  headroom     trunk    weight   
length      turn  displa~t  gear_r~o   foreign
{hline 9}{c +}{hline 110}
{ralign 8:mean} {...}
{c |}{...}
 {res} 6165.257   21.2973  3.405797  2.993243  13.75676  3019.459 
187.9324  39.64865  197.2973  3.014865  .2972973
{txt}{hline 9}{c BT}{hline 110}

{com}. log close;
       {txt}log:  {res}C:\DATA\linetest.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res} 2 Oct 2003, 09:48:40
{txt}{.-}
{smcl}
{txt}{sf}{ul off}
----- End of SMCL file -----

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index