For long algorithms (exceeding a page) I use a listing. 1. How can I make it to appear in the Contents? 2. And how can I avoid, that in the pdf output figures are inserted in the Listing output? Listing . . . Fig. x continued Listing . . . Wolfgang