[NTG-context] \definelayout[pagenumber][layout] behaving strangely

2022-12-08 Thread peter.hopcroft--- via ntg-context
The pdf from the tex below looks wrong to me, screenshot attached. It’s always like this when the page number in the second \definelayout is 1 more than the page number in the first. For other pairs of numbers, it behaves like I expect: the short layout is only on those 2 pages. I’m using the L

[NTG-context] Achieving different \cite styles

2022-12-08 Thread Jethro Djan via ntg-context
Hello everyone I am interested in being able to cite in different ways. By analogy, I refer to the \texcite{}, \parencite{} and other options available with biblatex in LaTeX. How do I achieve something like \textcite{} in ConTeXt? Here is my MWE: \startbuffer[ref] @Article{wn:2017, author =

Re: [NTG-context] \hpos in math - Half solved

2022-12-08 Thread Hans Hagen via ntg-context
On 12/8/2022 8:54 PM, Otared Kavian via ntg-context wrote: Hi Hans, Mikael, These features are amazing! Many many thanks! Thanks also to Gavin for having stated so precisely these kinds of needs, so that Hans and Mikael could come up with this solution. Gavin, good luck with your project, and p

Re: [NTG-context] \hpos in math - Half solved

2022-12-08 Thread Otared Kavian via ntg-context
Hi Hans, Mikael, These features are amazing! Many many thanks! Thanks also to Gavin for having stated so precisely these kinds of needs, so that Hans and Mikael could come up with this solution. Gavin, good luck with your project, and plaese share what you get at the end. Best regards : Otared

Re: [NTG-context] extra hyphen in underscore hyphenation

2022-12-08 Thread Pablo Rodriguez via ntg-context
On 12/8/22 13:14, Hans Hagen via ntg-context wrote: > On 12/8/2022 12:33 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> What am I missing here? > > \setuplanguage > [explicitrighthyphenchar=-1] Many thanks for your fast reply, Hans. I’m afraid it doesn’t work here: \startluacode f

Re: [NTG-context] extra hyphen in underscore hyphenation

2022-12-08 Thread Hans Hagen via ntg-context
On 12/8/2022 12:33 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \startluacode function document.addfunnyhyphen(tfmdata) local underscore = utf.byte("_") local char = tfmdata.characters[underscore] if not char then return end

[NTG-context] extra hyphen in underscore hyphenation

2022-12-08 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \startluacode function document.addfunnyhyphen(tfmdata) local underscore = utf.byte("_") local char = tfmdata.characters[underscore] if not char then return end tfmdata.characters[0xFE000] = { width= 0,