With some agility, magazines are thriving