<div dir="ltr"><div><div><div>If you take a simple latex file like:<br><pre style="margin-left:40px" class=""><code><span class="">\documentclass</span><span class="">{</span><span class="">article</span><span class="">}</span><span class="">
</span><span class="">\usepackage</span><span class="">{</span><span class="">lipsum</span><span class="">}</span><span class="">
</span><span class="">\usepackage</span><span class="">{</span><span class="">amsgen</span><span class="">}</span><span class="">
</span><span class="">\begin</span><span class="">{</span><span class="">document</span><span class="">}</span><span class="">
</span><span class="">\lipsum</span><span class="">[</span><span class="">1-10</span><span class="">]</span><span class="">
</span><span class="">\end</span><span class="">{</span><span class="">document</span><span class="">}</span></code></pre>and run latex, pdflatex or lualatex repated times (on the same file) you get the SAME dvi or pdf file up to an internal DATE and ID in the file -- and everything else is the same.<br><br></div>No so with "xelatex" where different runs on the same file produces PDF files of different sizes and whose internals differ by quite a bit. To see the differences you can use "vimdiff file1.pdf file2.pdf".<br><br></div>Why is it so? And what generates this difference? The question has been lingering on SX for a while (<a href="http://tex.stackexchange.com/questions/292675/why-does-xelatex-produce-different-files-from-the-same-deterministic-sources">http://tex.stackexchange.com/questions/292675/why-does-xelatex-produce-different-files-from-the-same-deterministic-sources</a>) but with no reasonable answer!<br><br></div>Paulo Ney de Souza <a href="mailto:pauloney@gmail.com">pauloney@gmail.com</a><br><div><div><div><br></div></div></div></div>