Converting documents with pandoc