The 3-step method doesn't work? I tried it over and over again.
Changing the media size by hand does work if I guess the size of the picture (I don't have an option bb or bounding box). I think I can work with this method for the time being.
Do you know if this bounding box problem is caused by the fact that I used Flash for making the picture? I mean, if I buy another vector drawing program (Adobe Illustrator for instance), the problem doesn't exist?
Using MetaPost means that I must first learn the MP-programming language. I don't know if I have enough time for that. Or is there another way?
Peter Rolf schrieb:
> Hi Liesbeth,
>
> There is a problem with the bounding box (bb) of the eps file. Although
> gs shows it correctly (Info), it uses the media size (default A4) as
> border for the pdf.
>
> You can change the media size by hand (set it to bb), but it's less
> error prone to use "extract..." or "ps to eps" from the file menu.
>
sorry, this doesn't work. it seems, that i have made my tests with an
already modified (media size) eps graphic. so the only working way i
found, is to edit the media size.
menu "media"-->"user defined..."
set the values to the ones from the bounding box (hit "I" after you have
loaded the gfx).
for your example:
BoundingBox 0 0 244 243
set the first value to 244pt, the second one to 243pt.
now the conversion should work (retested!) :)
<DEL>
> 1. open the eps file with gs
> 2. use "ps to eps" ( [x] automatically calculate ...] is set here) and
> save in a different file
> 3. convert this new file to pdf. The resulting pdf should have the
> correct size.
>
<DEL/>
> Sorry, found no way to automatize it (I can't beleave this is not possible).
>
> HTH, Peter
>
> BTW: why don't you use MetaPost?
>
>
> Liesbeth van der Plas schrieb:
>> I use Windows XP.
>>
>> 2007/7/26, Patrick Gundlach <patrick@gundla.ch <mailto: patrick@gundla.ch>>:
>>
>> Hello Liesbeth,
>>
>> > Yesterday I sent a few files, but I got a return that the message
>> body was
>> > too big.
>> > Here are the three most important files from yesterday's map.
>>
>> epstopdf breaks with this file. If, by chance, you use Mac OS X, you
>> can use 'pstopdf' (the distiller from adobe). Then the pdf files have
>> a tight bounding box.
>>
>> Patrick
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an
>> entry to the Wiki!
>>
>> maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> /
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
>> archive : https://foundry.supelec.fr/projects/contextrev/
>> wiki : http://contextgarden.net
>> ___________________________________________________________________________________
>>
>>
>>
>>
>> --
>> liesbethvanderplas@gmail.com <mailto:liesbethvanderplas@gmail.com>
>> www.wiskunde-interactief.nl < http://www.wiskunde-interactief.nl>
>>
>>
>> ------------------------------------------------------------------------
>>
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry to the Wiki!
>>
>> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
>> archive : https://foundry.supelec.fr/projects/contextrev/
>> wiki : http://contextgarden.net
>> ___________________________________________________________________________________
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________