[NTG-context] \framed[align=] with a 'maxwidth' instead of a width? Or get the size of a \frame returned to lua without typesetting it in a document?

2020-04-26 Thread Gerben Wierda
Setup: TeX file Contains ctxlua{} call lua function reads XML file and calls context() statements, it puts out a \startMPpage METAPOST statements Of which some are textext(\framed[align, so

Re: [NTG-context] register entries in footnotes

2020-04-26 Thread Hans Hagen
On 4/26/2020 4:35 PM, Thomas A. Schmitz wrote: A similar question has been asked three years ago, and Rik Kabel posted a partial solution, adapted here: \defineprocessor [Footnote] [right={ n}] \define[1]   \fnindex{\index[Footnote->]{#1}} \starttext This is a sentence with a term in the

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

2020-04-26 Thread Jack Steyn
I would like to add though that even if the code you posted did work properly, Pablo, it wouldn't solve my original problem. It would be good if cropoffset, trimoffset etc. took two dimensions, one for the x direction and one for the y direction, instead of one for both. But I appreciate you

[NTG-context] register entries in footnotes

2020-04-26 Thread Thomas A. Schmitz
A similar question has been asked three years ago, and Rik Kabel posted a partial solution, adapted here: \defineprocessor [Footnote] [right={ n}] \define[1] \fnindex{\index[Footnote->]{#1}} \starttext This is a sentence with a term in the index: cat\index{cat}. This sentence also has an

Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-26 Thread Benjamin Buchmuller
The problem seems to be resolved. Thanks to everyone, especially Hans, Taco and Wolfgang for the fast fix (offlist)! After updating to ConTeXt ver: 2020.01.30 14:13 MKIV beta fmt: 2020.4.26 Helvetica Neue works with: == \starttypescript [sans] [helvet]

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

2020-04-26 Thread Pablo Rodriguez
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/]. I want CropBox = MediaBox > =/ //b/. So far, so good: I can just use cropoffset=0mm in \setuplayout. > But I want TrimBox = /a/. However,