Re: Luatex not previewing A4-landscape
Le mercredi 26 décembre 2018 à 16:28 +, Baris Erkus a écrit : > On 12/26/2018 5:30 PM, Daniel CLEMENT wrote: > > > Le mercredi 26 décembre 2018 à 12:53 +, Baris Erkus a écrit : > > > On 26-Dec-18 3:33 PM, Daniel CLEMENT wrote: > > > > > > > Le mercredi 26 décembre 2018 à 13:21 +0200, Dr Eberhard Lisse a écrit : > > > > > Would you perhaps have a Minimal Working Example so others can test > > > > > this? > > > > > > > > > > Ie remove EVERYTHING not related/producing the error and post the > > > > > resulting files. > > > > > > > > > > el > > > > > > > > > > On 2018-12-24 12:42 , Daniel CLEMENT wrote: > > > > > > Dear list members, > > > > > > > > > > > > While updating a PC under Debian, Lyx went from version 2.1.2 to > > > > > > 2.2.2 > > > > > > (and even 2.3.1 from Backports). > > > > > > > > > > > > I'm having an issue with some documents which need to be compiled > > > > > > under Luatex. > > > > > > > > > > > > They use landscape, A4, 2-column page setup and the issue is: > > > > > > whenever > > > > > > I try to specify custom margins, my preview reverts to portrait, US > > > > > > letter format. I checked that in the previewer, under document > > > > > > properties. This happens regardless of the document contents. > > > > > > > > > > > > TIA for any insight about that - best regards, > > > > > > > > > > I'd rather not clutter the list with unnecessary files: my "minimal > > > > example" would be an empty file! > > > > > > > > Here are the steps to reproduce: > > > > [LyX 2.2.2 or 2.3.1 - TeXlive 2016] > > > > - (new) empty document > > > > - document > parameters: A4 - landscape > > > > - margins: just uncheck "implicit margin" (no need to fill the rest) > > > > - preview other formats - LuaTeX > > > > > > > > The PDF output comes out with US letter - portrait format. > > > > > > > > BR - Daniel > > > > > > > Did it for LyX 2.3.2 + MikTeX + Win10. > > > > > > Attached are > > > > > > * a MWE > > > * PDF generated by LuaTeX with A4 setting > > > * PDF generated by LuaTeX with Letter setting > > > > > > Seems like it LyX 2.3.2 setting is working fine in Windows and MikTeX > > > for both A4 and letter. > > > > > > p.s. I used "showframe" package to show the boundaries. > > > > > Now here is something funny: your example did work here indeed. > > > > After some hair scratching, I decided that the only difference with mine > > was the showframe package. > > > > So I suppressed it, and I was instantly back to US letter, portrait > > format! Have you tested your example without the showframe package? > > > > I suppressed the showframe package. Set the page size to A4. Export to > PDF through LuaTeX. Paper size of the resulting PDF is still A4. > > See also attached image of MikTeX setting for default page size. Thank you for the screenshot. > There may be a similar setting of your TeX system Well there is a similar utility for TeXlive, it's tlmgr and I hardly know it so I'm reluctant to use it. > or as you have mentioned, there may be Lua-specific setting that > should be passed from LyX to to the Lua compiler. Only after you > identify such setting, it may be specified in the "File Handling" > section of LyX preferences.. Again, this is only a "guess". Now I made an opposite test on my old system (w/ LyX 2.1.2 and TL 2014): in a document which uses LuaTeX, I chose portrait orientation in LyX and the output was correctly oriented. So, some change in LyX and/or LuaTeX (under Linux) now prevents the choices made within LyX from being passed correctly to LuaTeX, whereas it worked before. Fortunately I found a workaround. -- Daniel CLEMENT
Re: Luatex not previewing A4-landscape
On 12/26/2018 5:30 PM, Daniel CLEMENT wrote: Le mercredi 26 décembre 2018 à 12:53 +, Baris Erkus a écrit : On 26-Dec-18 3:33 PM, Daniel CLEMENT wrote: Le mercredi 26 décembre 2018 à 13:21 +0200, Dr Eberhard Lisse a écrit : Would you perhaps have a Minimal Working Example so others can test this? Ie remove EVERYTHING not related/producing the error and post the resulting files. el On 2018-12-24 12:42 , Daniel CLEMENT wrote: Dear list members, While updating a PC under Debian, Lyx went from version 2.1.2 to 2.2.2 (and even 2.3.1 from Backports). I'm having an issue with some documents which need to be compiled under Luatex. They use landscape, A4, 2-column page setup and the issue is: whenever I try to specify custom margins, my preview reverts to portrait, US letter format. I checked that in the previewer, under document properties. This happens regardless of the document contents. TIA for any insight about that - best regards, I'd rather not clutter the list with unnecessary files: my "minimal example" would be an empty file! Here are the steps to reproduce: [LyX 2.2.2 or 2.3.1 - TeXlive 2016] - (new) empty document - document > parameters: A4 - landscape - margins: just uncheck "implicit margin" (no need to fill the rest) - preview other formats - LuaTeX The PDF output comes out with US letter - portrait format. BR - Daniel Did it for LyX 2.3.2 + MikTeX + Win10. Attached are * a MWE * PDF generated by LuaTeX with A4 setting * PDF generated by LuaTeX with Letter setting Seems like it LyX 2.3.2 setting is working fine in Windows and MikTeX for both A4 and letter. p.s. I used "showframe" package to show the boundaries. Now here is something funny: your example did work here indeed. After some hair scratching, I decided that the only difference with mine was the showframe package. So I suppressed it, and I was instantly back to US letter, portrait format! Have you tested your example without the showframe package? I suppressed the showframe package. Set the page size to A4. Export to PDF through LuaTeX. Paper size of the resulting PDF is still A4. See also attached image of MikTeX setting for default page size. There may be a similar setting of your TeX system or as you have mentioned, there may be Lua-specific setting that should be passed from LyX to to the Lua compiler. Only after you identify such setting, it may be specified in the "File Handling" section of LyX preferences.. Again, this is only a "guess". [cid:part1.702D9324.E9F9A4E6@hotmail.com] -- ↓↓ Please bottom-post. Start your reply here: NoShowFrame-A4.pdf Description: NoShowFrame-A4.pdf
Re: Luatex not previewing A4-landscape
Le mercredi 26 décembre 2018 à 12:53 +, Baris Erkus a écrit : > On 26-Dec-18 3:33 PM, Daniel CLEMENT wrote: > > > Le mercredi 26 décembre 2018 à 13:21 +0200, Dr Eberhard Lisse a écrit : > > > Would you perhaps have a Minimal Working Example so others can test > > > this? > > > > > > Ie remove EVERYTHING not related/producing the error and post the > > > resulting files. > > > > > > el > > > > > > On 2018-12-24 12:42 , Daniel CLEMENT wrote: > > > > Dear list members, > > > > > > > > While updating a PC under Debian, Lyx went from version 2.1.2 to 2.2.2 > > > > (and even 2.3.1 from Backports). > > > > > > > > I'm having an issue with some documents which need to be compiled > > > > under Luatex. > > > > > > > > They use landscape, A4, 2-column page setup and the issue is: whenever > > > > I try to specify custom margins, my preview reverts to portrait, US > > > > letter format. I checked that in the previewer, under document > > > > properties. This happens regardless of the document contents. > > > > > > > > TIA for any insight about that - best regards, > > > > > > I'd rather not clutter the list with unnecessary files: my "minimal > > example" would be an empty file! > > > > Here are the steps to reproduce: > > [LyX 2.2.2 or 2.3.1 - TeXlive 2016] > > - (new) empty document > > - document > parameters: A4 - landscape > > - margins: just uncheck "implicit margin" (no need to fill the rest) > > - preview other formats - LuaTeX > > > > The PDF output comes out with US letter - portrait format. > > > > BR - Daniel > > > > Did it for LyX 2.3.2 + MikTeX + Win10. > > Attached are > > * a MWE > * PDF generated by LuaTeX with A4 setting > * PDF generated by LuaTeX with Letter setting > > Seems like it LyX 2.3.2 setting is working fine in Windows and MikTeX > for both A4 and letter. > > p.s. I used "showframe" package to show the boundaries. > Now here is something funny: your example did work here indeed. After some hair scratching, I decided that the only difference with mine was the showframe package. So I suppressed it, and I was instantly back to US letter, portrait format! Have you tested your example without the showframe package? -- Daniel CLEMENT
Re: Luatex not previewing A4-landscape
On 26-Dec-18 3:33 PM, Daniel CLEMENT wrote: Le mercredi 26 décembre 2018 à 13:21 +0200, Dr Eberhard Lisse a écrit : Would you perhaps have a Minimal Working Example so others can test this? Ie remove EVERYTHING not related/producing the error and post the resulting files. el On 2018-12-24 12:42 , Daniel CLEMENT wrote: Dear list members, While updating a PC under Debian, Lyx went from version 2.1.2 to 2.2.2 (and even 2.3.1 from Backports). I'm having an issue with some documents which need to be compiled under Luatex. They use landscape, A4, 2-column page setup and the issue is: whenever I try to specify custom margins, my preview reverts to portrait, US letter format. I checked that in the previewer, under document properties. This happens regardless of the document contents. TIA for any insight about that - best regards, I'd rather not clutter the list with unnecessary files: my "minimal example" would be an empty file! Here are the steps to reproduce: [LyX 2.2.2 or 2.3.1 - TeXlive 2016] - (new) empty document - document > parameters: A4 - landscape - margins: just uncheck "implicit margin" (no need to fill the rest) - preview other formats - LuaTeX The PDF output comes out with US letter - portrait format. BR - Daniel Did it for LyX 2.3.2 + MikTeX + Win10. Attached are * a MWE * PDF generated by LuaTeX with A4 setting * PDF generated by LuaTeX with Letter setting Seems like it LyX 2.3.2 setting is working fine in Windows and MikTeX for both A4 and letter. p.s. I used "showframe" package to show the boundaries. -- ↓↓ Please bottom-post. Start your reply here: test-LuaTeX.lyx Description: test-LuaTeX.lyx A4.pdf Description: A4.pdf Letter.pdf Description: Letter.pdf
Re: Luatex not previewing A4-landscape
Le mercredi 26 décembre 2018 à 13:21 +0200, Dr Eberhard Lisse a écrit : > Would you perhaps have a Minimal Working Example so others can test > this? > > Ie remove EVERYTHING not related/producing the error and post the > resulting files. > > el > > On 2018-12-24 12:42 , Daniel CLEMENT wrote: > > Dear list members, > > > > While updating a PC under Debian, Lyx went from version 2.1.2 to 2.2.2 > > (and even 2.3.1 from Backports). > > > > I'm having an issue with some documents which need to be compiled > > under Luatex. > > > > They use landscape, A4, 2-column page setup and the issue is: whenever > > I try to specify custom margins, my preview reverts to portrait, US > > letter format. I checked that in the previewer, under document > > properties. This happens regardless of the document contents. > > > > TIA for any insight about that - best regards, > > > I'd rather not clutter the list with unnecessary files: my "minimal example" would be an empty file! Here are the steps to reproduce: [LyX 2.2.2 or 2.3.1 - TeXlive 2016] - (new) empty document - document > parameters: A4 - landscape - margins: just uncheck "implicit margin" (no need to fill the rest) - preview other formats - LuaTeX The PDF output comes out with US letter - portrait format. BR - Daniel
Re: Luatex not previewing A4-landscape
Would you perhaps have a Minimal Working Example so others can test this? Ie remove EVERYTHING not related/producing the error and post the resulting files. el On 2018-12-24 12:42 , Daniel CLEMENT wrote: > Dear list members, > > While updating a PC under Debian, Lyx went from version 2.1.2 to 2.2.2 > (and even 2.3.1 from Backports). > > I'm having an issue with some documents which need to be compiled > under Luatex. > > They use landscape, A4, 2-column page setup and the issue is: whenever > I try to specify custom margins, my preview reverts to portrait, US > letter format. I checked that in the previewer, under document > properties. This happens regardless of the document contents. > > TIA for any insight about that - best regards, >
Re: Luatex not previewing A4-landscape
Le lundi 24 décembre 2018 à 11:41 +, Baris Erkus a écrit : > On 24-Dec-18 1:42 PM, Daniel CLEMENT wrote: > > Dear list members, > > > > While updating a PC under Debian, Lyx went from version 2.1.2 to > 2.2.2 > > (and even 2.3.1 from Backports). > > > > I'm having an issue with some documents which need to be compiled > under > > Luatex. > > > > They use landscape, A4, 2-column page setup and the issue is: > whenever I > > try to specify custom margins, my preview reverts to portrait, US > letter > > format. I checked that in the previewer, under document properties. > This > > happens regardless of the document contents. > > > > TIA for any insight about that - best regards, > > Which TeX system are you using? It's TeXlive: was 2014 on the old system (along with lyx 2.1.2), now 2016 with LyX 2.3.1 on the new install. > Is there a ways to set the paper size > from the TeX system for LuaTeX? I don't know how to do that outside LyX... At present I'm also searching help about LuaTex > > I remember the times that the TeX system dictates the paper sizes. > Your > problem might be related to that? But not sure... Well it's certainly related to LuaTex (a test document without LuaTex previews just fine in A4, landscape). Or perhaps LyX fails to transmit its paper size/orientation options to LuaTex? Thx for your reply anyway - BR, DC > > BE > > -- > ↓↓ > Please bottom-post. Start your reply here: > -- Daniel CLEMENT
Re: Luatex not previewing A4-landscape
On 24-Dec-18 1:42 PM, Daniel CLEMENT wrote: > Dear list members, > > While updating a PC under Debian, Lyx went from version 2.1.2 to 2.2.2 > (and even 2.3.1 from Backports). > > I'm having an issue with some documents which need to be compiled under > Luatex. > > They use landscape, A4, 2-column page setup and the issue is: whenever I > try to specify custom margins, my preview reverts to portrait, US letter > format. I checked that in the previewer, under document properties. This > happens regardless of the document contents. > > TIA for any insight about that - best regards, Which TeX system are you using? Is there a ways to set the paper size from the TeX system for LuaTeX? I remember the times that the TeX system dictates the paper sizes. Your problem might be related to that? But not sure... BE -- ↓↓ Please bottom-post. Start your reply here: