# [luatex] Confirm change in TL 2016-pretest vs. TL 2015 behavior: dvilualatex fails because of pdfpageheight

Scott Kostyshak skostysh at lyx.org
Tue May 17 01:29:40 CEST 2016

Thanks for the quick reply, David.

So to make sure I understand, it is not expected that the example I sent
will compile successfully in the future (because it does not fall into
the situation you mentioned of "packages are updated to use the new
forms"). Did I get that right?

I looked at the manual and I see in 10.1 Primitives overlap that
\pdfpagewidth is an alias of \pagewidth. So I suppose the solution in
the example I gave is to just remove the following two lines:

\pdfpageheight\paperheight
\pdfpagewidth\paperwidth

If I remove those two lines will the behavior (imagine more complex
documents) be the same for newer luatex compared to using an older
luatex with those two lines included? Will it be the same as without
those two lines for older luatex (i.e. were those two lines always
useless)?

As you could probably guess, I don't know much about luatex. But LyX
exports LuaTeX so I'm trying to figure out exactly what we need to
change.

Thanks for your help on this,

Scott

On Mon, May 16, 2016 at 11:33:20PM +0100, David Carlisle wrote:
> you will see the same in lualatex whether writing to pdf or dvi.
>
> The new luatex does not define most of the \pdfxxxx commands coming
> from pdftex, see the luatex manual.
>
> The luatex85 package is available to alias most of the old names back
> as a quick fix until documents and packages are updated to use the new
> forms.
>
> David
>
>
> On 16 May 2016 at 23:27, Scott Kostyshak <skostysh at lyx.org> wrote:
> > Hi,
> >
> > I expect this change was on purpose and it makes sense (because we are
> > exporting to DVI so perhaps \pdf* commands are meaningless?), but I just
> > wanted to confirm.
> >
> > Using the dvilualatex command, the following example compiled
> > successfully with up-to-date TL 2015, but fails with TL 2016 pretest.
> >
> > ---------------------
> > \documentclass[a4paper,english]{article}
> > \usepackage[T1]{fontenc}
> > \usepackage[latin9]{luainputenc}
> >
> > \makeatletter
> >
> > \pdfpageheight\paperheight
> > \pdfpagewidth\paperwidth
> >
> >
> > \makeatother
> >
> > \usepackage{babel}
> > \begin{document}
> > abc
> > \end{document}
> > ---------------------
> >
> > Attached is the .log file.
> >
> > Can someone confirm that this change was indeed intended and that it
> > is not expected to change back?
> >
> > Scott
>
>
>
> --
> http://dpcarlisle.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20160516/5f22ce86/attachment-0001.bin>