How to embed PDFs between pages in Writer?

I need to present a document where I organize and comment some PDFs that I have (some made by myself on LaTeX, some are made by third parties).

The idea is to include in this document (let’s call it “doc1”:

  • Cover (page 0)
  • Summary (page 0)
  • Title1 with some text about PDF1 (page 1)
  • PDF1 (pages 2 to 10)
  • Title2 with some text about PDF2 (page 11)
  • PDF2 (pages 12 to 26)
  • Title8 with some text about PDF8 (page 97)
  • PDF8 (pages 98 to 275)

I thought that I could just write these text and, in order to keep the summary pages right, to insert manual page breaks for the titles so I can have pages 1, 11, …, 97 with a clickable summary that works. Then, using pdftk to dismount this PDF (doc1.pdf) in 8 and then using pdftk to build it again including the pdfs PDF1.pdf to PDF8.pdf.

Problem: The summary links don’t work anymore. Do you think there’s any way to do this so the links to the pages can work?

Ok, solved it:

pdftk A=doc1.pdf B=1.pdf C=2.pdf D=3.pdf E=4.pdf F=5.pdf G=6.pdf H=7.pdf cat A2-6 B A7 C A8 D A9 E A10 F A11 G A12 H output final.pdf