Royal Dutch Shell said Thursday that profit after taxation almost tripled to just under $13 billion (10.5 billion euros) in 2017, energised partly by rising oil and gas prices.