# TOC for book and preview

I am writing a book, which has a shorter version called "preview". How could I arrange (in LaTeX, xelatex) that the preview PDF remains as it is (shorter) but that it presents the TOC of the "complete" book?

A nice bonus (but not necessary) would be if the missing references from the preview TOC to non-existing pages would not have a link to the corresponding pages (which, logically, are missing from the preview, as the preview is shorter).

-