# [texhax] Invisible appendix

Uwe Lueck uwe.lueck at web.de
Thu May 28 17:57:23 CEST 2009

Dan Hatton <vi5u0-texhax at yahoo.co.uk> schrieb am 28.05.2009 17:33:30:
>
> Imagine that I have a LaTeX file something like the one appended
> below.  Also imagine that (at least on some runs) I don't want the
> appendix to appear in the DVI (or postscript, or PDF, or whatever)
> output.  Or, even better, for the appendix to appear in a separate PDF
> or postscript file from the main body of the document.  But I do still
> want the two \ref{}s to work.  Is there some way to do this, please?

Packages xr (tools bundle, required LaTeX distribution) + pagecont (new, www.ctan.org/pkg/pagecont).

HTH -- Uwe.