Hans Hagen
At 21:55 30/09/2003 +0200, you wrote:
Hi, I want to Know if it's possible to add others pdf files to a former one resulting from a ConteXt compilation.
It's because I make technical drawings with Autocad wich are printed (at the right scale !) to a pdf file (By Distiller or Amunyi converter), and I want those in more general (text+drawings) documents.
pdftex (and therefore context) can include pdf's and even specific pages from a pdf:
% output=pdftex
\starttext
\externalfigure[somefile.pdf][ppage=2]
\stoptext
When I tried it it looks to me as these pages were placed like figures - sure, externalfigure o) But is there also a command to *add* other pdfs? Given that they are the same size. Not certain pages, but the whole thing just stuck together. Do you have an idea? Steffen
On Wed, 1 Oct 2003, Steffen Wolfrum wrote:
% output=pdftex \starttext \externalfigure[somefile.pdf] \stoptext
When I tried it it looks to me as these pages were placed like figures - sure, externalfigure o)
Unfortunately, they are. Been there, done that, fought two hours with this yesterday and got in the best case adequate results by cropping the pdf page in Acrobat first and then inserting as externalfigure... I can do this with Adobe Acrobat (as we really have a licence for the full thing) and another (more affordable) option for Windows users would be pdfedit995 (http://www.pdfedit995.com/), but I really would like to insert the pages in ConTeXt to make sure that I don't forget the insertion process. Brief experiments with texexec didn't seem to work and even the help says "--pdfcombine combine pages to one page", which is not what I want to do (besides, as I'm compiling my file out of Emacs with a keyboard command, I'd rather not play with texexec at all). The command in Acrobat is Document | Insert Pages - I've tried to tell myself that there must be an easy way to duplicate this somewhere in the ConTeXt file, but may be there isn't? If not, this is HIGH on my wishlist. I, too, have full page AutoCad originated pdf files to insert... mari
At 12:23 01/10/2003 +0300, you wrote:
On Wed, 1 Oct 2003, Steffen Wolfrum wrote:
% output=pdftex \starttext \externalfigure[somefile.pdf] \stoptext
When I tried it it looks to me as these pages were placed like figures - sure, externalfigure o)
Unfortunately, they are. Been there, done that, fought two hours with this yesterday and got in the best case adequate results by cropping the pdf page in Acrobat first and then inserting as externalfigure...
I can do this with Adobe Acrobat (as we really have a licence for the full thing) and another (more affordable) option for Windows users would be pdfedit995 (http://www.pdfedit995.com/), but I really would like to insert the pages in ConTeXt to make sure that I don't forget the insertion process.
Brief experiments with texexec didn't seem to work and even the help says "--pdfcombine combine pages to one page", which is not what I want to do (besides, as I'm compiling my file out of Emacs with a keyboard command, I'd rather not play with texexec at all).
The command in Acrobat is Document | Insert Pages - I've tried to tell myself that there must be an easy way to duplicate this somewhere in the ConTeXt file, but may be there isn't? If not, this is HIGH on my wishlist. I, too, have full page AutoCad originated pdf files to insert...
\slicepages [somefile.pdf] [n=0, % triggers full page clipping voffset=1in, height=23.55cm, width=22cm, offset=\dimexpr(-1in- 2pt)] [offset=\dimexpr(-1in+19pt)] Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
At 10:48 01/10/2003 +0200, you wrote:
But is there also a command to *add* other pdfs? Given that they are the same size.
\startTEXpage \externalfigure[something.pdf] \stopTEXpage or shorter: \startpagefigure[...][...] \stoppagefigure Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
On Wed, 01 Oct 2003 12:32:47 +0200
Hans Hagen
At 10:48 01/10/2003 +0200, you wrote:
But is there also a command to *add* other pdfs? Given that they are the same size.
\startTEXpage
\externalfigure[something.pdf]
\stopTEXpage
or shorter:
\startpagefigure[...][...] \stoppagefigure
what is the meaning of the [...] TIA. Jens
Hi,
Steffen Wolfrum
When I tried it it looks to me as these pages were placed like figures - sure, externalfigure o)
But is there also a command to *add* other pdfs? Given that they are the same size.
all the figures are the same size or the figures the same size as the document? If you know the size of the figures, you can of course switch to another papersize within the current TeX document and use \externalfigure then.
Not certain pages, but the whole thing just stuck together.
\copypages[filename] (+optional [a=b], see \externalfigure) %crazy: \starttext \setuppagenumbering[location=] \copypages[tufte] \stoptext -- You are your own rainbow!
participants (5)
-
Hans Hagen
-
Jens-Uwe Morawski
-
Mari Voipio
-
Patrick Gundlach
-
Steffen Wolfrum