Graphics, Figures & Tables ⇒ Insert a pdf-file
Insert a pdf-file
First of all, sorry for my English. I'm not a native English speaker.
I'm writing a documentation and the documentation has an appendix. I like to add some data sheets to the appendix which I've only as a pdf-file. The pdf-file has several pages and I need all pages for my documentation.
My question: Can I include the whole pdf-file with one command to my documentation?
Thanks for all answers
I'm writing a documentation and the documentation has an appendix. I like to add some data sheets to the appendix which I've only as a pdf-file. The pdf-file has several pages and I need all pages for my documentation.
My question: Can I include the whole pdf-file with one command to my documentation?
Thanks for all answers
NEW: TikZ book now 40% off at Amazon.com for a short time.

Insert a pdf-file
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: Insert a pdf-file
Thanks, I'm going to read in the doc. I hope I can solve the problem with the doc.
*************************
=> Fibonacci numbers
*************************
=> Fibonacci numbers
Re: Insert a pdf-file
I think I found the command in the doc which I was looking for:
\usepackage{pdfpages}
\includepdf[pages=-]{doc_XY.pdf}
Thank you again for the link to the doc
\usepackage{pdfpages}
\includepdf[pages=-]{doc_XY.pdf}
Thank you again for the link to the doc
Re: Insert a pdf-file
Hi,
i am also trying to insert pdf files in latex using pdfpages package.
But using
\includepdf[pages..]{file_name}
it only includes empty pages.
Does anyone have any idea how to solve this?
i am also trying to insert pdf files in latex using pdfpages package.
But using
\includepdf[pages..]{file_name}
it only includes empty pages.
Does anyone have any idea how to solve this?
Insert a pdf-file
Have you solved this?
You need to make sure you have all the requirements in the
pdfpages documentation. You also need to make sure that you do not compile to DVI and convert to PDF. You need to compile directly to PDF (with PDFLaTeX).
You need to make sure you have all the requirements in the

-
- Posts: 2
- Joined: Wed May 23, 2012 5:37 pm
Insert a pdf-file
Hello everyone, I'm trying to include in my latex document 3 graphics that are on the same document. Pdf. I'm working under a loop, in order to generate n cycles of graphics, so I am working with the command \ includepdf {}. The problem is that it generates distorted graphics, fuzzy, messy, a total disaster. Please who can guide me to solve the problem would greatly appreciate it, took several days trying
. Then I show the script that I am using:
Please help!

Code: Select all
###Define the pdf files to be generatedfile=paste("comunalRazPred",j,".pdf",sep="")pdf(file=file, paper="special", width=6, height=6)###Define the graphs to be generated (loops)for(j in 1:length(comraz)) {par(mfrow=c(2,2))comr<-comj[comj$RAZA==names(comraz)[j],]for(i in 1:4) {comri<-comr[comr$tipo==levels(comr$tipo)[i],]comrti<-tapply(comri$n,comri$mesabrev,sum)comrti[is.na(comrti)]<-0comrti0<-tapply(comri$n,list(comri$comunal,comri$mesabrev),sum)comrti0[is.na(comrti0)]<-0comrti1<-round(prop.table(comrti0,2)*100,0)ymax<-floor(max(comrti)+(0.3*(max(comrti))))barcomri<-barplot(comrti0,las=1,ylab="nº de reses",ylim=c(0,ymax),main=paste(names(comraz[j])," ",levels(comr$tipo)[i]),cex.names=0.7,cex.axis=0.8)valeje<-min(b[a>ymax])abline(h=seq(from=0,to=ymax,by=valeje),lty=2,col="lightgrey")par(new=T)barcomri<-barplot(comrti0,las=1,ylim=c(0,ymax),cex.names=0.7,cex.axis=0.8)text(barcomri,comrti,comrti1[2,],cex=0.5,pos=3)legend("top",c("en explotación","en comunal"),box.lty=0,fill=grey.colors(2),horiz=T)} }### THEN COMES MY PROBLEMS### INCLUSION OF THE GENERATED GRAPHICSdev.off()cat("\\begin{figure}[htb]")cat("\\begin{center}")cat("\\includepdf[pages={-}]{",file,"}\n",sep="")cat("\\caption{Evolución mensual en el número de reses segun su raza, tipo y localización}", sep="")cat("\\end{center}")
Last edited by Stefan Kottwitz on Thu May 24, 2012 9:25 am, edited 1 time in total.