More attempts to get pdf docs working.