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

David Carlisle d.p.carlisle at gmail.com
Thu May 26 15:28:15 CEST 2016


On 26 May 2016 at 14:25, Bruno Voisin <bvoisin at icloud.com> wrote:
>
>> 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!

so far it looks like expected behaviour, I don't see a bug.

\documentclass{article}

specifies a USletter document and (once you load a package that knows
anything about the back end) that is what you are getting.


>
> Bruno
>



David



More information about the tex-live mailing list