创建 pdf/a 后出错

创建 pdf/a 后出错

我必须以格式创建我的论文。我在序言中pdf/a使用了调用包:pdfx

\usepackage[a-1b]{pdfx}

当我使用 Adob​​e 打开 pdf 时,蓝条显示文件为 PDF/A 格式。不幸的是,当我始终使用 Adob​​e 验证文件时,出现了许多奇怪的错误。我不知道如何解决这个问题。

这是文件:

\documentclass[12pt,a4paper,twoside,openright]{book}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,italian]{babel}
\usepackage{mathptmx}

\usepackage[hmargin=3cm,vmargin=3cm,bindingoffset=0.5cm]{geometry}

\usepackage{setspace} %setta l'interlinea a 1,5
\onehalfspacing

\usepackage{lipsum}

%PDF METADATA
%-----------------------------
\usepackage[a-1b]{pdfx}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.xmpdata}
\Title{Ttitle}
\Author{Salvatore Mazzarino}
\Keywords{Mobile Cloud\sep
Energia\sep
Green Networking\sep
Network Coding\sep
User Cooperation\sep
RLNC\sep}
\Org{Università degli Studi di Catania} 
\end{filecontents*}
%-----------------------------

\begin{document}

\lipsum[1-4]

\end{document}

这是我得到的错误:

在此处输入图片描述

Validating file "prova.pdf" for conformance level pdfa-1b
The separator after an 'obj' must be an EOL. (2)
The separator before an 'endobj' must be an EOL. (2)
The separator before 'endstream' must be an EOL.
XML line 21:27: Input is not proper UTF-
Bytes: 0xE0 0x20 0x64 0x65.", 1
The value of the key N is 4 but must be 3.
The document does not conform to the requested standard.
The file format (header, trailer, objects, xref, streams) is corrupted.
The document doesn't conform to the PDF reference (missing required entries, wrong value types, etc.).
The document's meta data is either missing or inconsistent or corrupt.
Done.

在此处输入图片描述

相关内容