On 09.08.06, andrea valle wrote:
> > The idea is to be able to insert a page from an existing pdf file into
> > a PyX canvas. Similar to c.insert(epsfile.epsfile(...)) available to
> > insert PostScript code into PyXs PostScript output. All we need to do
> > is "ed s/PostScript/PDF/g". Unfortunately its much harder to implement
> > this in PDF as in PostScript ...
> (Sorry, tragic newbie here). So, this means that if I use eps backend
> for all (converting to pdf only the final output) I can include, clip
> and translate an eps in a canvas?
> I. e. I have some eps material (e.g. musical notation files), I include
> it in a canvas, clip the eps file and translate it, and then writePDF
> the canvas?
Unfortunately, you cannot do that since the PDF standard doesn't allow
for the inclusion of EPS files (apart from some obscure extension
supported by Ghostview). The only thing you can do right now is to write
a PS file and convert that with ps2pdf afterwards.
PS: I'm looking forward to see your music notation done with PyX!