Opacities for Comptonization plus emission and absorption