Bookmark and Share

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: pdf_options for graph export


From   "Dimitriy V. Masterov" <[email protected]>
To   [email protected]
Subject   Re: st: pdf_options for graph export
Date   Mon, 22 Aug 2011 15:46:50 -0400

I actually wrote a Stata program that takes all the postscript files
in a folder and combines them into a single pdf file using Adobe
Distiller. It's clunky, but I really like the merge aspect.

I will try the ghostscript solution as well. It would be nice to cut
out Distiller entirely.

DVM

On Mon, Aug 22, 2011 at 12:16 PM, Nick Winter <[email protected]> wrote:
> Sorry, I should have mentioned:  that does work on Windows; as so:
>
> . graph export mygraph.eps
> . ! ps2pdf mygraph.eps
>
> assuming you have ghostscript installed.
>
> - NW
>
> On 8/22/2011 12:06 PM, Eric Booth wrote:
>>
>> <>
>>
>> I've never used (and wasn't aware of) the pdf export in Stata for Windows.
>>   If you don't have time to wait for the response that Nick Winter gets,
>> perhaps you can export the graph to ps or eps and then use a command line
>> utility to batch convert your graphics to pdf (?).  In MacOSX, I'd use
>> something like 'gs', and there appears to be a Windows version available:
>>
>>
>> http://stackoverflow.com/questions/785436/ghostscript-command-line-parameters-to-convert-eps-to-pdf
>>
>> - Eric
>>
>> __
>> Eric A. Booth
>> Public Policy Research Institute
>> Texas A&M University
>> [email protected]
>> Office: +979.845.6754
>>
>>
>> On Aug 22, 2011, at 11:00 AM, Nick Winter wrote:
>>
>>> I, too, noticed this and have corresponded with tech support about this,
>>> and was told that the question has been passed along to the relevant
>>> developer.  So perhaps this will be changed in a future update.
>>>
>>> Best,
>>> Nick Winter
>>>
>>> On 8/22/2011 11:33 AM, Dimitriy V. Masterov wrote:
>>>>
>>>> Eric,
>>>>
>>>> Unfortunately that does not seem to alter the font in exported pdfs on
>>>> Windows 7.
>>>>
>>>> This seems like an unfortunate limit for the pdf export command on
>>>> Windows.
>>>>
>>>> DVM
>>>> *
>>>> *   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/
>>>
>>> --
>>> --------------------------------------------------------------
>>> Nicholas Winter                                 434.924.6994 t
>>> Associate Professor                             434.924.3359 f
>>> Department of Politics                  [email protected] e
>>> University of Virginia          faculty.virginia.edu/nwinter w
>>> S385 Gibson Hall, South Lawn
>>> *
>>> *   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/
>>
>>
>> *
>> *   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/
>
> --
> --------------------------------------------------------------
> Nicholas Winter                                 434.924.6994 t
> Associate Professor                             434.924.3359 f
> Department of Politics                  [email protected] e
> University of Virginia          faculty.virginia.edu/nwinter w
> S385 Gibson Hall, South Lawn
> *
> *   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/
>

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index