Robin Hartshorne's classical 1966 book ""Residues and Duality"" [""RD""] developed Alexandre Grothendieck's ideas for a pseudofunctorial variance theory of residual complexes and duality for maps of noetherian schemes. The three articles in this volume rework the main parts of the last two chapters in ""RD"", in greater generality - for Cousin complexes on formal schemes, not just residual complexes on ordinary schemes - and by more concrete local methods which clarify the relation between local properties of residues and global properties of dualizing pseudofunctors.A new approach to pasting pseudofunctors is applied in using residual complexes to construct a dualizing pseudofunctor over a fairly general category of formal schemes, where compactifications of maps may not be available. A theory of traces and duality with respect to pseudo-proper maps is then developed for Cousin complexes. For composites of compactifiable maps of formal schemes, this, together with the above pasting technique, enables integration of the variance theory for Cousin complexes with the very different approach to duality initiated by Deligne in the appendix to ""RD"". The book is suitable for advanced graduate students and researchers in algebraic geometry.