pdflatex生成的文档在Adobe Acrobat中出现131号错误

错误描述

在Windows上用Adobe Acrobat打开pdflatex生成的PDF文件时出现如下错误:

There was a problem reading this document (131)

解决方案

第一种方法:在\documentclass之前添加

\pdfminorversion=4

指明生成1.4版本的PDF文档。

第二种方法:对于已经生成好的PDF文档,使用GhostScript进行处理:

gs -dSAFER -dBATCH -dNOPAUSE  -sDEVICE=pdfwrite -sOutputFile=output.pdf input.pdf

参考:

  • https://tex.stackexchange.com/questions/64448/how-to-overcome-acrobat-reader-error-131-with-a-pdflatex-doc
  • https://geekoverdose.wordpress.com/2016/02/28/repair-pdflatex-generated-pdf-using-ghostscript-adobe-acrobat-reader-error-131/

你可能感兴趣的:(pdflatex生成的文档在Adobe Acrobat中出现131号错误)