ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Peter Rolf <indiego@gmx.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: placefigure
Date: Thu, 26 Jul 2007 19:49:57 +0200	[thread overview]
Message-ID: <46A8DEC5.1050103@gmx.net> (raw)
In-Reply-To: <46A8D4FF.1060004@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
___________________________________________________________________________________


  reply	other threads:[~2007-07-26 17:49 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-24  9:22 placefigure Liesbeth van der Plas
2007-07-24  9:51 ` placefigure luigi scarso
2007-07-24 13:06   ` placefigure Roelof Langman
2007-07-24 14:03     ` placefigure Martin Schröder
2007-07-25  8:43       ` placefigure Liesbeth van der Plas
2007-07-25 14:34         ` placefigure Patrick Gundlach
     [not found]           ` <abcaff8f0707251140p5d4ed733ia3baeac36a8e6d9d@mail.gmail.com>
2007-07-26  6:36             ` placefigure Liesbeth van der Plas
2007-07-26 12:36               ` placefigure Patrick Gundlach
2007-07-26 13:49                 ` placefigure Liesbeth van der Plas
2007-07-26 15:12                   ` placefigure Patrick Gundlach
2007-07-26 17:08                   ` placefigure Peter Rolf
2007-07-26 17:49                     ` Peter Rolf [this message]
2007-07-27 13:38                       ` placefigure Liesbeth van der Plas
2007-07-27 13:54                         ` placefigure Peter Rolf
2007-07-28  5:07                           ` placefigure Sanjoy Mahajan
2007-07-28  7:19                             ` placefigure Liesbeth van der Plas
2007-07-28 15:14                               ` placefigure Wolfgang Schuster
2007-07-29  4:24                               ` placefigure Sanjoy Mahajan
2007-07-27 14:46                         ` placefigure Jörg Hagmann
2007-07-26 17:27               ` placefigure olivier Turlier
2007-07-27 16:29               ` placefigure Sanjoy Mahajan
2007-07-24 10:09 ` placefigure Patrick Gundlach
2007-07-24 12:45   ` placefigure Liesbeth van der Plas
  -- strict thread matches above, loose matches on Subject: below --
2013-03-21 16:26 placefigure Hans Hagen
2013-03-21 22:04 ` placefigure Sietse Brouwer
2013-03-21 22:08   ` placefigure Hans Hagen
2006-07-20 15:33 placefigure Hans van der Meer
2006-07-21  7:35 ` placefigure Taco Hoekwater
2006-07-21  9:28   ` placefigure Hans van der Meer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46A8DEC5.1050103@gmx.net \
    --to=indiego@gmx.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).