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.

This is not just merging two pdf files using pdflatex.

final document need have a structure:

  • odd pages are from first.pdf
  • even pages are from second.pdf

is this possible?

p.s. I'm trying to have 4 column parallel text spread on 2 pages. follow this Four Language Parallel Column Book have 2 documents one for odd another for even pages... can there be a better solution ?

share|improve this question
1  
Please this blog post about using pdftk (not latex) for Interleaving two PDF files –  hakaze Aug 14 '12 at 15:33
1  
Does first.pdf have the same number of pages as second.pdf? Are the pages in first.pdf odd-numbered and second.pdf even-numbered? Should this be a pure LaTeX solution? –  Werner Aug 14 '12 at 16:06
    
You can recycle code from my answer to tex.stackexchange.com/questions/65961/… –  JLDiaz Aug 14 '12 at 17:27
    
"Should this be a pure LaTeX solution?" If I can spread 4 columns on 2 pages--this can be pure latex. If pdflatex can split and rearrange 2 pdf files this also be nice... but it seems pdftk way is a solution. –  levan Aug 15 '12 at 4:53

1 Answer 1

I faced a similar task in the past. My solution was to write a script heavily using pdftk toolkit, in my case on Linux (pdftk is included in most full-fledged distributions).

The solution in your case would be to first split the two documents into separate pdfs one per page and subsequently merge them into a single one.

I guess, with some command line literacy, looking at the examples should be enough to come up with your solution. Alternatively, if this is a one-time job and you really are after a GUI-based solution, you can split the document into separate pages using your favorite PDF viewer and simply print each page into a separate pdf file on your disk. Subsequently you could concatenate the files back again using a tool such as e.g., PDFedit.

share|improve this answer
    
Thanks to all...Actual problem is as mentioned in other thread spreading 4 column sincronized text on 2 pages... it seems only with 2 separate pdf's can help with pdftk or directly editing pdf with pdfedit –  levan Aug 15 '12 at 5:26

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.