World championship leader Jorge Lorenzo took pole position for the Catalan Grand Prix, ahead of Casey Stoner and Randy de Puniet.