# [luatex] LuaLaTeX + fontspec: cannot compare documents with Acrobat

Jörg Weber Joerg.Weber at nottingham.ac.uk
Thu Jun 7 12:38:21 CEST 2012

(This is an issue I originally posted here: http://tex.stackexchange.com/questions/58760/lualatex-fontspec-cannot-compare-documents-with-acrobat)

I use the option "compare documents" in Adobe Acrobat Pro a lot to highlight changes between revisions. What I just noticed is, if I compile a simple document such as the one below with LuaLaTeX + fontspec, Acrobat is unable to perform the comparison, giving a unspecific error message ("cannot compare document..."). Compiling the same document without fontspec allows the comparison, as does XeLaTeX + fontspec.

I tried with TeX Live 2012 and the current MikTeX, without success. Ulrike Fischer suggested \usepackage{luaotfload} \font\test=Arial \pagestyle{empty} and \test after \begin{document} instead of fontspec, but the error remains. Does anyone know what is going on and of a possible fix?

\documentclass{article}
\usepackage{fontspec}
\usepackage{lipsum}

\begin{document}

\lipsum

\end{document}

Best,
Jörg

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.