From mitch at bermita.com Sat Oct 25 04:26:21 2014 From: mitch at bermita.com (Mitch Berkson) Date: Sat, 25 Oct 2014 04:26:21 +0000 (UTC) Subject: [Cl-pdf-devel] Multiple existing documents to new page Message-ID: I would like to include two pdfs in a new pdf. I have done this using templates, but the resulting file is much larger than the two original files (35MB vs. 2.5MB + 0.5MB). I have also experimented with the with-existing-document macro, but have not been able to add a second file. The output with just one existing file is nice and small though. Is there a straightforward way to include two existing documents in a new pdf which will have additional content added? From marc.battyani at fractalconcept.com Sun Oct 26 18:49:34 2014 From: marc.battyani at fractalconcept.com (Marc Battyani) Date: Sun, 26 Oct 2014 14:49:34 -0400 Subject: [Cl-pdf-devel] Multiple existing documents to new page In-Reply-To: References: Message-ID: <544D423E.3080400@fractalconcept.com> On 10/25/14, 00:26, Mitch Berkson wrote: > I would like to include two pdfs in a new pdf. > > I have done this using templates, but the resulting file is much larger than > the two original files (35MB vs. 2.5MB + 0.5MB). > > I have also experimented with the with-existing-document macro, but have not > been able to add a second file. The output with just one existing file is > nice and small though. > > Is there a straightforward way to include two existing documents in a new > pdf which will have additional content added? There is probably not any straightforward way to do it but maybe it's doable without too much work. I can have a look at that if you can provide a simple test case. Marc From mitch at bermita.com Sun Oct 26 18:59:03 2014 From: mitch at bermita.com (Mitch Berkson) Date: Sun, 26 Oct 2014 14:59:03 -0400 Subject: [Cl-pdf-devel] Multiple existing documents to new page In-Reply-To: <544D423E.3080400@fractalconcept.com> References: <544D423E.3080400@fractalconcept.com> Message-ID: <544D4477.80406@bermita.com> On 10/26/2014 2:49 PM, Marc Battyani wrote: > On 10/25/14, 00:26, Mitch Berkson wrote: >> I would like to include two pdfs in a new pdf. >> >> I have done this using templates, but the resulting file is much larger than >> the two original files (35MB vs. 2.5MB + 0.5MB). >> >> I have also experimented with the with-existing-document macro, but have not >> been able to add a second file. The output with just one existing file is >> nice and small though. >> >> Is there a straightforward way to include two existing documents in a new >> pdf which will have additional content added? > There is probably not any straightforward way to do it but maybe it's > doable without too much work. I can have a look at that if you can > provide a simple test case. > > Marc Thanks for the offer. A (probably better) workaround for me is to save the pdfs I plan to include as jpgs and load them as images. That works well. Mitch