Re: [NTG-context] upload

2022-07-08 Thread Otared Kavian via ntg-context
I just found that \choose has been replaced with \binom (binomial coefficient): \starttext \meaning\choose \meaning\binom $\binom{n}{k}$ \stoptext Sorry for complaining… :-) > On 9 Jul 2022, at 00:34, Otared Kavian wrote: > > > >> On 6 Jul 2022, at 22:10, Hans Hagen via ntg-context >>

Re: [NTG-context] upload

2022-07-08 Thread Otared Kavian via ntg-context
> On 6 Jul 2022, at 22:10, Hans Hagen via ntg-context > wrote: > > Hi, > > We're pleased to announce the first official release of the new math code. > We're talking of: > > […] Dear Hans and Mikael، Thank you very much for the new upload and the new stuff for tyepsetting maths. I have

Re: [NTG-context] two issues with \sciteinlinebuffer

2022-07-08 Thread Pablo Rodriguez via ntg-context
On 7/7/22 23:30, Hans Hagen via ntg-context wrote: > On 7/7/2022 6:19 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> 1. Margin is applied to \sciteinlinebuffer. >> >> 2. An extra unwanted space is added after \sciteinlinebuffer. >> >> Isn’t it intended that \sciteinlinebuffer behaves in a

Re: [NTG-context] Set up external figure for particular image type

2022-07-08 Thread Henning Hraban Ramm via ntg-context
Am 08.07.22 um 17:46 schrieb Thangalin via ntg-context: I'd like to change the `maxheight` option for only PNG images, such as: Define your own figure class with \definexternalfigure: https://wiki.contextgarden.net/Command/defineexternalfigure It won’t automatically chose the file format (or

[NTG-context] Set up external figure for particular image type

2022-07-08 Thread Thangalin via ntg-context
A document has a mix of SVG and PNG images. Changing the parameters for `\setupexternalfigure` affects both SVG and PNG images. Consider the following code: \setupexternalfigures[ order={svg,pdf,png,jpg}, location={local,default,global}, directory={images},

[NTG-context] error with sbl bibliography on latest LMTX

2022-07-08 Thread Henning Hraban Ramm via ntg-context
Hi Joel (et al.), I tried the SBL bibliography setup with the latest LMTX; the example and bib database are from Dennis’ article on ligatures in the upcoming CG journal: """ \usebtxdataset[default][references.bib] \setupbtx[dataset=default] \usebtxdefinitions[sbl]

Re: [NTG-context] upload

2022-07-08 Thread Hans Hagen via ntg-context
On 7/8/2022 9:40 AM, Max Chernoff via ntg-context wrote: This is because you need to pass a list that conforms to what the builder expects and the callback that you use doesn't do that for you (after all, it also gets hbox content). Isn't "processors/after" the same as "pre_linebreak_filter"?

Re: [NTG-context] What is going wrong with this use of --mode for switching language?

2022-07-08 Thread Wolfgang Schuster via ntg-context
Gerben Wierda via ntg-context schrieb am 08.07.2022 um 12:21: On 8 Jul 2022, at 11:57, Taco Hoekwater wrote: On 8 Jul 2022, at 11:42, Gerben Wierda via ntg-context wrote: I have this minimal example: \startmode[EL] \setuplanguage[el][patterns={el}]\mainlanguage[el] That (‘el’) is a

Re: [NTG-context] What is going wrong with this use of --mode for switching language?

2022-07-08 Thread Gerben Wierda via ntg-context
> On 8 Jul 2022, at 11:57, Taco Hoekwater wrote: > > > >> On 8 Jul 2022, at 11:42, Gerben Wierda via ntg-context >> wrote: >> >> I have this minimal example: >> >> \startmode[EL] >> \setuplanguage[el][patterns={el}]\mainlanguage[el] > > That (‘el’) is a non-existent language, so it

Re: [NTG-context] What is going wrong with this use of --mode for switching language?

2022-07-08 Thread Taco Hoekwater via ntg-context
> On 8 Jul 2022, at 11:42, Gerben Wierda via ntg-context > wrote: > > I have this minimal example: > > \startmode[EL] > \setuplanguage[el][patterns={el}]\mainlanguage[el] That (‘el’) is a non-existent language, so it never becomes active. Best wishes, Taco — Taco Hoekwater

[NTG-context] What is going wrong with this use of --mode for switching language?

2022-07-08 Thread Gerben Wierda via ntg-context
I have this minimal example: \definemode[EN,FR,RU,PT,EL][keep] \startmodeset [EN] {\disablemode[FR,RU,PT,EL]} [RU] {\disablemode[EN,FR,PT,EL]} [FR] {\disablemode[EN,RU,PT,EL]} [PT] {\disablemode[EN,FR,RU,EL]} [EL] {\disablemode[EN,FR,RU,PT]}

Re: [NTG-context] upload

2022-07-08 Thread Max Chernoff via ntg-context
This is because you need to pass a list that conforms to what the builder expects and the callback that you use doesn't do that for you (after all, it also gets hbox content). Isn't "processors/after" the same as "pre_linebreak_filter"? I thought that only "hpack_filter" gets \hbox content?