Statalist


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

st: Re: -smcl2ps- page break?


From   "Joseph Coveney" <jcoveney@bigplanet.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: -smcl2ps- page break?
Date   Wed, 23 Sep 2009 13:59:35 +0900

Jeph Herrin wrote:

To create a number of reports I'm writing SMCL out
to ASCII files, then using the -translate- utility
with the -smcl2ps- option to create postscript.

This works fairly well, except that I would like to
insert page breaks at places as I create the SMCL files.
Obviously, SMCL doesn't need or support page breaks, I
want the PS files to break. Anyone know any tricks for
doing this?

--------------------------------------------------------------------------------

You can try the undocumented SMCL directive, {newpage}.

www.stata.com/statalist/archive/2006-07/msg00769.html

It's not perfect--you have to watch out for asynchrony with other sources of 
page breaks, which causes the PostScript file's running page count to deviate 
from the number of page-delimiter statements--and so it might require some 
tinkering in order to get its placement just right.  

Still and all, it's handy, and I use it nearly every time that I'm producing 
PostScript output from Stata.

Joseph Coveney



*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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