Re: [NTG-context] Size of the last shipped page by Lua?

2016-09-07 Thread Hans Hagen
On 9/7/2016 9:39 PM, josephcan...@gmail.com wrote: There are dimensions related to this : local paper_width = tex.getdimen('paperwidth') local paper_height = tex.getdimen('paperheight') There is also : tex.pageheight tex.pagewidth don't mess with these and don't rely on them Not sure

Re: [NTG-context] Size of the last shipped page by Lua?

2016-09-07 Thread josephcanedo
Hi, There are dimensions related to this : local paper_width = tex.getdimen('paperwidth') local paper_height = tex.getdimen('paperheight') There is also : tex.pageheight tex.pagewidth Not sure these are always same. Hope this helps, Regards, Joseph Canedo De : Procházka Lukáš

[NTG-context] Placement of numbers in numbered equations on the left

2016-09-07 Thread Otared Kavian
Hi Hans, Thank you for having fixed the issue with numbered equations in math aligned environment, noticed and reported by Mikael Sundqvist. However the problem is solved only when the numbers are on the right: when the numbers are on the left, there is still a discrepancy between the location

[NTG-context] Size of the last shipped page by Lua?

2016-09-07 Thread Procházka Lukáš Ing .
Hello, is there a way to detect by Lua what is the size (width and height) of the last shipped page? Especially I'm interested in the situation when page via \start/\stopTEXpage has been shipped, like: \startluacode LastPageSize = function() -- What to come here? return w, h

Re: [NTG-context] Indentation after margin float with caption

2016-09-07 Thread Aditya Mahajan
On Tue, 6 Sep 2016, Mikael P. Sundqvist wrote: \unprotect \def\page_one_place_float_auto {\page_one_place_float_otherwise\nonoindentation} \def\page_one_place_float_bottom {\page_one_place_float_otherwise\nonoindentation} \def\page_one_place_float_margin