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
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 ___________________________________________________________________________________
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
participants (2)
-
Henri Menke
-
Pablo Rodriguez