Catalytic hydrogenation of alkadienes and alkynes by palladium catalysts supported on heterocyclic polyamides