[NTG-context] Re: get measures as dimension in Lua

2024-06-09 Thread Max Chernoff
Hi Hraban, On Sun, 2024-06-09 at 22:12 +0200, Henning Hraban Ramm wrote: > when I define a measure on the TeX side, I used to get at the value in > Lua with tex.getdim, like: > > \definemeasure[Bleed][3mm] > > tex.getdimen("Bleed") > > But now I get "incorrect dimen name". > I need it as a

[NTG-context] get measures as dimension in Lua

2024-06-09 Thread Henning Hraban Ramm
Hi, when I define a measure on the TeX side, I used to get at the value in Lua with tex.getdim, like: \definemeasure[Bleed][3mm] tex.getdimen("Bleed") But now I get "incorrect dimen name". I need it as a dimension, since I do calculations with other dimensions like "topspace". How should

[NTG-context] regular online meet-up

2024-06-09 Thread Henning Hraban Ramm
I nearly forgot: You’re invited to our regular online meet-up, this upcoming Wednesday, June 12th, 19:00 CEST (UTC+2) at https://lecture.senfcall.de/hen-rbr-rku-oke (same, but shorter: https://u.mtxrun.eu/ctxmtg) ConTeXt users of all levels are welcome! Do you have a subject that you’d like

[NTG-context] Re: Bibliography: separating different kinds of literature OR Sectioning bibliography by type

2024-06-09 Thread Ben Moon via ntg-context
Dear Alan, Thank you very much for your reply. Unfortunately, I don’t get this working. Also, I don’t find the documentation for flushbtxrendering. Here’s a minimal working example I’m trying: \startbtxrenderingdefinitions[mybib] \definebtx [mybib] [default=default, specification=mybib]

[NTG-context] Re: Bibliography: separating different kinds of literature OR Sectioning bibliography by type

2024-06-09 Thread Alan Braslau via ntg-context
Try something like: \flushbtxrendering [bibrendering] [method=dataset, sorttype=index, filter=match(category:article)] I have used the filtering mechanism to select fields, such as filter=match(year:2023). Alan On Tue, 4 Jun 2024 15:20:14 +0200 Ben Moon via