Answering my own question, quite simple with ConTeXt: \definepapersize[a3landscape][A3,landscape] \definepapersize[a4portrait][A4,portrait] \setuppapersize[a4portrait] \starttext \externalfigure[foo.pdf] \page\setuppapersize[a3landscape] \externalfigure[bar.pdf] \stoptext G PS. The solution below does not work because it keeps the sizes of the images and does not set page sizes for the pages where the images are embedded. On 13 Jan 2012, at 16:33, Victor Ivrii wrote:
NO, AR cannot do this.
gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=merged.pdf source1.pdf source2.pdf source3.pdf
works
with TeX one can use attachfile2 package (may be attachfile also works) to create pdf bundle (aka portfolio). ======
However this is a question of combining. I remember that there is a LaTeX package - cannot recall its name - which changes the size on the fly (inside of document)
Victor ----------- Please Consult the Following Before Posting ----------- TeX FAQ: http://www.tex.ac.uk/faq List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/ List Archive: http://tug.org/pipermail/macostex-archives/ TeX on Mac OS X Website: http://mactex-wiki.tug.org/ List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex On 13 Jan 2012, at 16:27, Mojca Miklavec wrote:
On Fri, Jan 13, 2012 at 16:20, Gerben Wierda
wrote: Hello community,
I have the following problem. I need to create a single PDF file where each page may have a different size and orientation. Say the first page is A4 portrait, the second is A3 landscape and so on. Can ConTeXr help? Each page contains a PDF image of some random size that is inserted.
I have been looking around for a solution but haven't found one. I also tried Create.app, the drawing program. And I tried a program call PDF Merge and some others. Neither of these work, and most of the merge programs out there maybe merged, but changed the nice vector images into pixel images, completely destroying print quality.
So, I am back where I started. Is there some fancy ConTeXt trickery I could use to do this?
Summary: - One PDF as result - Each page has a different size and orientation - Each page contains a PDF vector image that is not to be converted to pixels
Yes, this is easy. There are three options:
1.) \startTEXpage\externalfigure[...]\stopTEXpage 2.) same, but with TEXstream 3.) a shortcut for the above, \startpagefigure. See http://wiki.contextgarden.net/Including_pages_from_PDF_document
Mojca ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________