Re: [NTG-context] Wrong page numbers in frontmatter

2020-06-14 Thread Jack Steyn
Thanks kindly, Wolfgang. On Mon, 15 Jun 2020 at 00:49, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Jack Steyn schrieb am 14.06.2020 um 16:46: > > Hi, > > > > I'm not sure why the following MWE produces a document where page 2 > > has the page

[NTG-context] Wrong page numbers in frontmatter

2020-06-14 Thread Jack Steyn
Hi, I'm not sure why the following MWE produces a document where page 2 has the page number i instead of ii. It seems to have something to do with the use of makeup. I was using it to create a vertically centered title page. Is there a better way of doing this which will give the correct page

Re: [NTG-context] Trouble setting PDF boxes

2020-04-30 Thread Jack Steyn
all have printpaperwidth – paperwidth ≠ printpaperheight – paperheight). (Apologies, I initially replied to just you and not the list as well.) On Fri, 1 May 2020 at 05:44, Hans Hagen wrote: > On 4/30/2020 5:51 PM, Jack Steyn wrote: > > Hello, I'm happy to report that I got this working a

Re: [NTG-context] Trouble setting PDF boxes

2020-04-30 Thread Jack Steyn
gefinalizer(moduledata.mystuff.respecify_pdf_boxes, "respecify pdf boxes") \stopluacode \starttext test \stoptext On Sun, 26 Apr 2020 at 02:42, Jack Steyn wrote: > After much searching, my probably laughable attempt consists of combining > the answer to the question at > https://te

[NTG-context] Getting page width and height in Lua

2020-04-30 Thread Jack Steyn
If I want to get the paper width and height to use in some Lua code, I can use: local paperwidth, paperheight = backends.pdf.codeinjections.getpagedimensions() But what if I want to get the page width and height? That is, the width and height of the first argument in the two-argument version of

Re: [NTG-context] bug in PDF boxes? (was: Re: Trouble setting PDF boxes))

2020-04-26 Thread Jack Steyn
changing the subject to increase visibility. Jack On Sun, 26 Apr 2020 at 19:47, Pablo Rodriguez wrote: > On 4/25/20 2:37 PM, Jack Steyn wrote: > > Hi, > > > > I am having trouble setting the PDF boxes to my desired dimensions. > > Suppose I have \setuppapersize[/a/][/b/]

Re: [NTG-context] Trouble setting PDF boxes

2020-04-25 Thread Jack Steyn
s, but unfortunately it also has no effect. What am I doing wrong? Jack On Sat, 25 Apr 2020 at 22:37, Jack Steyn wrote: > Hi, > > I am having trouble setting the PDF boxes to my desired dimensions. > Suppose I have \setuppapersize[*a*][*b*]. I want CropBox = MediaBox = *b*. &

[NTG-context] Trouble setting PDF boxes

2020-04-25 Thread Jack Steyn
Hi, I am having trouble setting the PDF boxes to my desired dimensions. Suppose I have \setuppapersize[*a*][*b*]. I want CropBox = MediaBox = *b*. So far, so good: I can just use cropoffset=0mm in \setuplayout. But I want TrimBox = *a*. However, as far as I can see, I can't achieve this using