Preparation of nanoparticulate metal catalysts in porous supports using an ionic liquid route; hydrogenation and C¿C coupling