ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* removing extra margins
@ 2020-01-28 21:09 Pablo Rodriguez
  2020-01-28 21:14 ` Henri Menke
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez @ 2020-01-28 21:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

I need to add a PDF page, but removing extra margins that it contains.

A sample would be:

    \setupexternalfigures[location=default]
    \starttext
    \externalfigure[cow.pdf]
    \stoptext

How could I crop 2ex from the left and top margins in the code above?

Many thanks for your help,

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: removing extra margins
  2020-01-28 21:09 removing extra margins Pablo Rodriguez
@ 2020-01-28 21:14 ` Henri Menke
  2020-01-29 15:36   ` Pablo Rodriguez
  0 siblings, 1 reply; 3+ messages in thread
From: Henri Menke @ 2020-01-28 21:14 UTC (permalink / raw)
  To: ntg-context

On 1/29/20 10:09 AM, Pablo Rodriguez wrote:
> Dear list,
> 
> I need to add a PDF page, but removing extra margins that it contains.
> 
> A sample would be:
> 
>     \setupexternalfigures[location=default]
>     \starttext
>     \externalfigure[cow.pdf]
>     \stoptext
> 
> How could I crop 2ex from the left and top margins in the code above?

https://wiki.contextgarden.net/Using_Graphics#Image_Clipping

> Many thanks for your help,
> 
> 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
> ___________________________________________________________________________________
> 
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: removing extra margins
  2020-01-28 21:14 ` Henri Menke
@ 2020-01-29 15:36   ` Pablo Rodriguez
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2020-01-29 15:36 UTC (permalink / raw)
  To: ntg-context

On 1/28/20 10:14 PM, Henri Menke wrote:
> On 1/29/20 10:09 AM, Pablo Rodriguez wrote:
>> [...]
>> How could I crop 2ex from the left and top margins in the code above?
>
> https://wiki.contextgarden.net/Using_Graphics#Image_Clipping

Many thanks for your reply, Henri.

This is exactly what I was looking for. But I had only “crop” in mind.

Many thanks for your help,

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-29 15:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-28 21:09 removing extra margins Pablo Rodriguez
2020-01-28 21:14 ` Henri Menke
2020-01-29 15:36   ` Pablo Rodriguez

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).