Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have two files one f1.pdf and other is f2.djvu. I want to join them and the output file will be pdf. Already I have tried to do this by the following command. But these are not working. Is there any way to do so ?

\documentclass{article}
\usepackage{pdfpages}
\begin{document}

\includepdfmerge{f1.pdf,1}
\includepdfmerge{f2.djvu,1-553}

\end{document}
share|improve this question
5  
Have you tried converting the .djvu to a .pdf outside LaTeX? –  Federico Poloni Mar 26 '13 at 15:34
    
No.Is it possible to convert djvu to pdf in latex ? If not please, tell me at least one way to convert it outside LaTeX. –  Md Kutubuddin Sardar Mar 26 '13 at 15:36
2  
superuser.com/questions/185523/… –  Giuseppe Mar 26 '13 at 15:38
    
@Md Kutubuddin Sardar: You can simply print djvu file from the viewer to a file in .pdf or .ps format. However this could result in a huge pdf file, especially for many-pages document. –  g.kov Mar 26 '13 at 16:40
    
add comment

1 Answer

I'd suggest you do this outside of LaTeX proper. Use ImageMagick (or really any image manipulation library you can think of) and then simply include the resulting PDF.

Unless there's a particular reason to do this on the fly, as it were ... ?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.