On 18 May 2016, at 2:55 AM, Scott Kostyshak <[email protected]> wrote:
> 
> On Tue, May 17, 2016 at 10:32:33AM +0200, Ulrike Fischer wrote:
>> Am Mon, 16 May 2016 20:07:49 -0400 schrieb Scott Kostyshak:
>> 
>>> If we use the new syntax of
>>> 
>>> \pageheight\paperheight
>>> \pagewidth\paperwidth
>> 
>> Why don't you do as David suggest and load the luatex85 package?
> 
> Because the package is quite new and many LyX users do not have it. One
> possibility is to use the package if it is available and not use it if
> it is not (without changing any of the other code exported by LyX). Do
> you think this would lead to good results for users? Specifically, do
> you think a significant amount of users (imagine a diverse mix of
> Mac/Win/Linux) would have LaTeX installations with "new luatex" but
> without the luatex85 package available? My guess is that it is not that
> common. Let's add on the further condition that a user of LyX actually
> *uses* LuaTeX.

It should be fine to have something like

    \IfFileExists{luatex85.sty}{\usepackage{luatex85}}{}

for the time being. This should catch 99.999% of users?

Cheers,
Will


Reply via email to