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

Re: st: Re: Using -translate- to create PDF of .hlp file

From   Roger Newson <[email protected]>
To   [email protected]
Subject   Re: st: Re: Using -translate- to create PDF of .hlp file
Date   Sun, 06 Mar 2005 19:58:28 +0000

Another way to create a .pdf version of a Stata .hlp file is to create a .ps version of a Stata .hlp file using -translate-, as in

. translate c:\ado\personal\parmest.hlp

and then to use whatever software is available on your system to convert the .ps file to a .pdf file. For instance, I work on Windows 2000, and use GhostScript/GSView to convert .ps files to .pdf files, using the menu sequence


inside GhostScript/GSView.

I hope this helps.


At 12:48 06/03/2005, Jeffrey Simons wrote:

I am not sure if this is what you are looking for, but if you open the help
file, go to "print viewer" from the file menu, then enter any header
information you want, then when you get to the print dialog box, select save
as pdf, that will give you a formatted pdf file of the help file.

> Date: Sat, 5 Mar 2005 18:11:53 -0500
> From: "Michael S. Hanson" <[email protected]>
> Subject: st: Using -translate- to create PDF of .hlp file
> PDFs of the help document for -outreg-:
> <>
> <> outreg.pdf>
> I'm fairly certain that these files were created from within Stata, but
> I'm not having much luck replicating them.  The following command
> "works", in the sense that I do get a PDF of the help file (note that I
> am working with Stata 8.2 on Mac OS X, which allows the direct creation
> of a PDF according to -whelp translate-):
> translate "~/Documents/ado/plus/o/outreg.hlp" outreg.pdf,
> trans(Viewer2pdf)
> but this command yields a file without the rich formating of the above
> examples.  (The second linked example above appears to be for an older
> version of -outreg-, but I prefer the layout and organization of it --
> plus the fonts in the first linked example don't render quite right for
> me.)
> Any suggestions?  -translator query Viewer2pdf- didn't turn up
> anything that seemed appropriate to this issue, AFAICT.  Thanks.
>                                          -- Mike
> *

*   For searches and help try:

Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
Division of Asthma, Allergy and Lung Biology
King's College London

5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
  or 020 7848 6605 International +44 20 7848 6605
Email: [email protected]

Opinions expressed are those of the author, not the institution.

*   For searches and help try:

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