crop pdf page via \externalfigure options
Hello, I have pdfs containing small musical pieces, created with lilypond. To include them in my document, I must crop each pdf manually each time it is recreated. Is there a way to crop pdf page via \externalfigure options? (All the switches listed at TeXshow seem to scale an image, not to crop.) Best regards, Vyatcheslav Yatskovsky
Vyatcheslav Yatskovsky wrote:
Is there a way to crop pdf page via \externalfigure options? (All the switches listed at TeXshow seem to scale an image, not to crop.)
It doesn't always seem to work for me (with various Windows-created pdfs), but you can try this (example from texshow-web under \externalfigure): \externalfigure[whatever.pdf][size=artbox] If I read contextgarden right, you also have the options trimbox cropbox bleedbox while "mediabox" is the default. Hope this helps, Mari (still cropping her pdf figures with Adobe Acrobat, yuck)
Hi, actually my use of LilyPond with ConTeXt is based on creating the lily file, rendering in pdf, create a ConTeXt file inserting MetaPost and the placing/cropping the figure with MP. Best -a- On 25 Apr 2007, at 22:06, Vyatcheslav Yatskovsky wrote:
Hello,
I have pdfs containing small musical pieces, created with lilypond. To include them in my document, I must crop each pdf manually each time it is recreated.
Is there a way to crop pdf page via \externalfigure options? (All the switches listed at TeXshow seem to scale an image, not to crop.)
Best regards, Vyatcheslav Yatskovsky
______________________________________________________________________ _____________ 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 ______________________________________________________________________ _____________
-------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> andrea.valle@unito.it -------------------------------------------------- I did this interview where I just mentioned that I read Foucault. Who doesn't in university, right? I was in this strip club giving this guy a lap dance and all he wanted to do was to discuss Foucault with me. Well, I can stand naked and do my little dance, or I can discuss Foucault, but not at the same time; too much information. (Annabel Chong)
participants (3)
-
Andrea Valle
-
Mari Voipio
-
Vyatcheslav Yatskovsky