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