Joseph Coveney ([email protected]) wants to insert page breaks
in a SMCL log file:
> How can I insert a page break in a SMCL log file so that it will produce a
> page break in the resulting .ps or .pdf file when I print it from Stata's
> Viewer window using, say, PDFCreator or similar?
>
> Inserting an ASCII 12 character (form feed), as in Kevin Crow's -listp-,
> doesn't work; it results in a little square symbol in the .pdf or .ps file,
> but no page break.
> ...
There is an undocumented SMCL tag in Stata 9 which Joseph can use:
{newpage}
{newpage} will cause a page break to be inserted when a SMCL file
is translated to PostScript or printed through a standard printer
driver.
{newpage} is undocumented because it is a work in progress. Its
behavior may change slightly in the future. Also, it may not do
what a user thinks it would do if it is used in the middle of a
SMCL paragraph. If used in the middle of a paragraph, the page
break may not appear at the exact location of the {newpage} tag.
The page break may be shifted to the beginning or the end of
the paragraph.
Alan
([email protected])
*
* 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/