Photoionization and core resonances from range-separated density-functional theory: General formalism and example of the beryllium atom - Schwinn, K; Zapata, F; Levitt, A; Cances, E; Luppi, E; Toulouse, J (Journal Of Chemical Physics, 2022)