From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35578 Path: news.gmane.org!not-for-mail From: "Liesbeth van der Plas" Newsgroups: gmane.comp.tex.context Subject: Re: placefigure Date: Fri, 27 Jul 2007 15:38:40 +0200 Message-ID: References: <68c491a60707240703l23e06bd9m5aac91f4a1ec958f@mail.gmail.com> <46A8D4FF.1060004@gmx.net> <46A8DEC5.1050103@gmx.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0929780214==" X-Trace: sea.gmane.org 1185543554 4338 80.91.229.12 (27 Jul 2007 13:39:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Jul 2007 13:39:14 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 27 15:39:07 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IEQ24-0007rD-Uk for gctc-ntg-context-518@m.gmane.org; Fri, 27 Jul 2007 15:39:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 287CE1FB8F; Fri, 27 Jul 2007 15:38:58 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23441-01; Fri, 27 Jul 2007 15:38:47 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 02B891FB82; Fri, 27 Jul 2007 15:38:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 747F01FB82 for ; Fri, 27 Jul 2007 15:38:45 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22774-07 for ; Fri, 27 Jul 2007 15:38:41 +0200 (CEST) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by ronja.ntg.nl (Postfix) with ESMTP id 474251FB7E for ; Fri, 27 Jul 2007 15:38:41 +0200 (CEST) Original-Received: by ug-out-1314.google.com with SMTP id h2so700319ugf for ; Fri, 27 Jul 2007 06:38:40 -0700 (PDT) Original-Received: by 10.82.111.8 with SMTP id j8mr2637710buc.1185543520195; Fri, 27 Jul 2007 06:38:40 -0700 (PDT) Original-Received: by 10.82.157.16 with HTTP; Fri, 27 Jul 2007 06:38:40 -0700 (PDT) In-Reply-To: <46A8DEC5.1050103@gmx.net> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:35578 Archived-At: --===============0929780214== Content-Type: multipart/alternative; boundary="----=_Part_4939_5917663.1185543520153" ------=_Part_4939_5917663.1185543520153 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello Patrick, Peter,.. 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? Liesbeth 2007/7/26, Peter Rolf : > > 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!) :) > > > > > 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. > > > > > > 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>>: > >> > >> 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 / > >> 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 > >> 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 > > ___________________________________________________________________________________ > -- liesbethvanderplas@gmail.com www.wiskunde-interactief.nl ------=_Part_4939_5917663.1185543520153 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hello Patrick, Peter,..
 

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?

 
Liesbeth

 
2007/7/26, Peter Rolf <indiego@gmx.net>:
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
___________________________________________________________________________________



--
liesbethvanderplas@gmail.com
www.wiskunde-interactief.nl ------=_Part_4939_5917663.1185543520153-- --===============0929780214== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0929780214==--