Try to make urls work for pdf output