[tex-live] Fontspec overriding default paper size with LuaTeX

Bruno Voisin bvoisin at icloud.com
Thu May 26 15:25:23 CEST 2016


> Le 26 mai 2016 à 15:21, Akira Kakuto <kakuto at fuk.kindai.ac.jp> a écrit :
> 
> Dear Bruno,
> 
>> On a TL 2016 pretest setup (installed via MacTeX), complete with all updates etc.,
>> and A4 as the default paper size, typesetting the attached minimal test file with LuaLaTeX yields A4 PDF output.
>> But as soon as fontspec is called, output switches to US Letter.
> 
> Confirmed on windows.
> If I put an empty luatex.def in the current directory,
> I obtain an a4 pdf. So I suspect that luatex.def does change
> the paper size.
> 
> Best,
> Akira


Akira, David,

Thanks for the lightspeed debugging.

I was coming to the conclusion graphics.sty, of the various packages called by fontspec, triggered the bug. But I hadn't been as far as identifying luatex.def as the culprit!

Bruno




More information about the tex-live mailing list