Re: [NTG-context] ConTeXt ignores crop in some pdf graphics

2018-09-04 Thread Henning Hraban Ramm
Am 04.09.2018 um 21:22 schrieb Pablo Rodriguez:
> On 09/04/2018 09:00 AM, Henning Hraban Ramm wrote:
>> Hi Mari,
>> I can confirm the same behaviour with graphics from other sources like
>> Illustrator - seems like ConTeXt doesn't use the CropBox (visible size)
>> any more, but the MediaBox (full sheet). Or maybe the TrimBox (cut size).
>> It would make sense to have than configurable, but the change in
>> behaviour is really inconvenient.
> 
> Hi Mari and Hraban,
> 
> I have just discovered that \setupexternalfigure has a "size" option
> with values "none media crop trim art".
> 
> They don’t seem to work, but I wonder whether this might be the
> configuration command that you are looking for (which might have a bug).

Hi Pablo,

Hans investigated and could trace my problem to an Acrobat bug (or at
least it doesn't adhere to the PDF specs): I had my logo exported from
Illustrator and changed the boxes in Acrobat Pro 9, then saved. But if
you don't "save as", Acrobat creates a XForm inside a page, but doesn't
set the boxes correctly for the page (CropBox missing, Artbox was what I
needed).

While all(?) viewers work around this, ConTeXt's new PDF handler, the
ppl library, adheres strictly to the PDF specs and falls back to
MediaBox if CropBox is missing.

I tried size=artbox and box=artbox, but size=art actually does what I
need - thanks for the hint!

Greetlings, Hraban
___
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
___

Re: [NTG-context] ConTeXt ignores crop in some pdf graphics

2018-09-04 Thread Pablo Rodriguez
On 09/04/2018 09:00 AM, Henning Hraban Ramm wrote:
> Hi Mari,
> I can confirm the same behaviour with graphics from other sources like
> Illustrator - seems like ConTeXt doesn't use the CropBox (visible size)
> any more, but the MediaBox (full sheet). Or maybe the TrimBox (cut size).
> It would make sense to have than configurable, but the change in
> behaviour is really inconvenient.

Hi Mari and Hraban,

I have just discovered that \setupexternalfigure has a "size" option
with values "none media crop trim art".

They don’t seem to work, but I wonder whether this might be the
configuration command that you are looking for (which might have a bug).

Just in case it helps,

Pablo
-- 
http://www.ousia.tk
___
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
___

Re: [NTG-context] xtables multipage horizontally

2018-09-04 Thread luigi scarso
On Tue, Sep 4, 2018 at 10:23 AM be ba  wrote:

> The wiki says I should ask again one week later if I did not get an answer.
> Could someone please help me with my problem. Thanks.
>
> meeting time, quite busy, but
today at 15:45 we have a "Brainstorming session" on tables


-- 
luigi
___
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
___

Re: [NTG-context] xtables multipage horizontally

2018-09-04 Thread be ba
The wiki says I should ask again one week later if I did not get an answer.
Could someone please help me with my problem. Thanks.

On 8/26/18 6:03 PM, be ba wrote
> the wiki says for xtables and multipage "yes, even horizontally". How
> can I do that?
>
> Doing this:
>
> \setupxtable[split=yes]
>
> is not enough since this only gives vertically splitting. Both
> http://www.pragma-ade.com/general/manuals/xtables-mkiv.pdf and
> http://wiki.contextgarden.net/xtables do not talk about this.
>
___
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
___

Re: [NTG-context] ConTeXt ignores crop in some pdf graphics

2018-09-04 Thread Henning Hraban Ramm
Hi Mari,
I can confirm the same behaviour with graphics from other sources like
Illustrator - seems like ConTeXt doesn't use the CropBox (visible size)
any more, but the MediaBox (full sheet). Or maybe the TrimBox (cut size).
It would make sense to have than configurable, but the change in
behaviour is really inconvenient.

Greetlings from one row in front of you ;)
Hraban

Am 03.09.2018 um 17:31 schrieb Mari Voipio:
> 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
> 
> 
> 
> ___
> 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
> ___
> 

___
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
___