Option '-tex lualatex' makes an unexpected shift #123
Comments
|
I tested this example with TeXLive 2019 and I can't see any difference between the two outputs. |
|
Checking logs, and noticed the followings: It seems to depend on whether When Please, check Maybe, this issue is attributed to |
|
Here is what I get (however, I have no idea what luaotfload-main is or how it might get loaded by your example; maybe there is a problem with your path?):
|
|
I do see the line: |
|
Thank you for testing. Here is an example with unexpected shift and intermediate files |
|
And, here is an example without unexpected shift and intermediate files |
|
@johncbowman, please reopen the issue. It can happen on Ubuntu 18.04 with TeX Live 2017, not only on Cygwin. https://cygwin.com/ml/cygwin/2019-11/msg00137.html And, on cygwin, I tried compiling from the source with ec3c7f0 (Asymptote version 2.62-3), and got same results (A logo TeX and an unit square are shifted to the right with luaotfload-main.lua). |
|
I could never see what was bothering you as the TeX label looks properly typeset and centered in the square in both examples that you posted. I now see that you are referring to a tiny horizontal offset of 0.4bp of the bounding box. It looks like a lualatex bug. I can change \hoffset in the generated texfile from -1in to -72.4bp as a temporary work around, until a proper fix is made in the lualatex sources. |
|
A workaround was implemented in commit 41fbc67. |
|
It works. I tested on cygwin in following cases. But I think the first case is important and sufficient, because both of
|
This reverts commit 41fbc67. Not a lualatex bug, but a wrong assumption in asymptote that \parindent were always 17.61pt.
Asymptote 2.49 with LuaLaTeX 1.10 as engine on Cygwin makes an unexpected shift.
Is it an issue on Asymptote or on LuaLaTeX?
A test file
a.asy:Compiling as follows results in
default.pdfandlualatex.pdf.And,
default.pdfhas no problem, butlualatex.pdfhas unexpected shift.The text was updated successfully, but these errors were encountered: