<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 23, 2016 at 3:10 AM, David Carlisle <span dir="ltr"><<a href="mailto:d.p.carlisle@gmail.com" target="_blank">d.p.carlisle@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class="">On 22 May 2016 at 23:49, Scott Kostyshak <<a href="mailto:skostysh@lyx.org">skostysh@lyx.org</a>> wrote:<br>
> Dear all,<br>
><br>
> The following example fails to compile with dvilualatex, with or without<br>
> the luatex85 package. Is this expected?<br>
<br>
</span>Not totally unexpected.<br>
<span class=""><br>
>  It compiles without error with<br>
> TL 2015.<br>
><br>
> -----<br>
> \documentclass{article}<br>
> \usepackage{luatex85}<br>
> \usepackage[T1]{fontenc}<br>
> \usepackage[latin9]{luainputenc}<br>
> \usepackage{hyperref}<br>
><br>
> \begin{document}<br>
> hello<br>
> \end{document}<br>
> -----<br>
><br>
> I get the following error:<br>
><br>
> -----<br>
> ! unexpected use of \pdffeedback.<br>
> \pdftexversion ->\numexpr \pdffeedback<br>
>                                        version\relax<br>
> l.4771 \ifnum\pdftexversion<br>
>                          =140 %<br>
> -----<br>
><br>
> By the way, I don't actually use dvilualatex but I have no idea if some<br>
> of our users do so that is why I'm interested.<br>
><br>
> Scott<br>
<br>
</span>Actually more worrying than the fact that it gives an error in<br>
dviluatex is that it does<br>
the wrong thing without error in luatex it's comparing the number to<br>
140 but luatex<br>
sets this (somewhat arbitrarily) to 40 so even when it is set in pdf<br>
mode the numeric<br>
test is meaningless.<br>
<br>
the "40" might be an issue for luatex but anyway the main issue is<br>
that hyperref shouldn't<br>
be testing this at all in luatex now. I'll see what I can do.<br>
<br>
<a href="https://github.com/ho-tex/hyperref/issues" rel="noreferrer" target="_blank">https://github.com/ho-tex/hyperref/issues</a><br>
<br>
<br>
better than this list for hyperref specific issues.<br>
<span class=""><font color="#888888"><br>
<br>
<br>
David<br>
</font></span></blockquote></div><br><div class="gmail_extra">we have now</div><div class="gmail_extra">/* codes not really needed but cleaner when testing */</div><div class="gmail_extra"><br></div><div class="gmail_extra">#define pdftex_version  40  /* these values will not change any more */</div><div class="gmail_extra">#define pdftex_revision "0" /* these values will not change any more */</div><div><br></div><div>and we can change them </div><div><br></div><div><div>#define pdftex_version  140  /* these values will not change any more */</div><div>#define pdftex_revision "0" /* these values will not change any more */</div></div><div> </div><div>but in luatex </div><div>a macro package can better do \newcount\pdftexversion \pdftexversion=140<br></div><div><div>because very likely they will disappear in luatex 1.0 .</div></div><div><br></div><div><br></div>-- <br><div class="gmail_signature">luigi<br></div>
</div></div>