ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mari Voipio <mari.voipio@iki.fi>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: ConTeXt ignores crop in some pdf graphics
Date: Mon, 3 Sep 2018 18:31:48 +0300	[thread overview]
Message-ID: <CAGbDsP2xHyyXEBunUXoHjHCuU=cpRnjhphfXbPqjroSJCc=oBA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1319 bytes --]

Hello!

After updating ConTeXt I found out that it has suddenly started to
ignore the crop in some of my pdf graphics. These graphics look ok
(=cropped) in Acrobat and SumatraPDF, but when the graphic is placed,
the cropbox (?) is ignored and there's all this blank space around the
graphic, space that shouldn't be there. This is new behaviour, all of
the graphics worked as expected in my previous ConTeXt (from September
2017). Minimal sample is attached to this email, hopefully it is small
enough to make it to the mailing list.

After a quick look it seems that all the problematic graphics are pdf
output from CorelDraw, from different versions of that. Oddly the
problem doesn't affect all cropped graphics that originate from
CorelDraw, just some of them. There are even graphics that have been
outputted from one and same file where one works and the other
doesn't.

If this only concerns files from Corel (and not those I cropped in
Acrobat), I can fix it in Corel if necessary. However, it would be
preferable if ConTeXt can be forced to take the cropping into account.
I tried looking for a solution on the wiki, but it wasn't very helpful
(or I don't know what I'm looking for). I thought adding something to
\externalfigure might do the trick, but there doesn't seem to be a
suitable key.


Thanks,
Mari

[-- Attachment #2: cropping_problem.pdf --]
[-- Type: application/pdf, Size: 10003 bytes --]

[-- Attachment #3: cropping_problem.tex --]
[-- Type: application/octet-stream, Size: 314 bytes --]

\starttext

\placefigure
    [here][fig:ex symbol]
    {EX symbol for instruments for hazardous atmosphere}
    {\externalfigure[ex][frame=on]}


% \placefigure
%     [here][fig:ethernet connection]
%     {Ethernet connector location}
%     {\externalfigure[ethernet_connector][frame=on]}

\stoptext

[-- Attachment #4: ex.pdf --]
[-- Type: application/pdf, Size: 6337 bytes --]

[-- Attachment #5: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2018-09-03 15:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-03 15:31 Mari Voipio [this message]
2018-09-04  7:00 ` Henning Hraban Ramm
2018-09-04 19:22   ` Pablo Rodriguez
2018-09-04 20:40     ` Henning Hraban Ramm
2018-09-05 14:37       ` Pablo Rodriguez
2018-09-05 15:01         ` luigi scarso
2018-09-05 17:56         ` Mari Voipio
2018-09-05 20:08           ` Pablo Rodriguez

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='CAGbDsP2xHyyXEBunUXoHjHCuU=cpRnjhphfXbPqjroSJCc=oBA@mail.gmail.com' \
    --to=mari.voipio@iki.fi \
    --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).