Re: [NTG-context] Typing within doifmode leads to error

2021-03-19 Thread Christoph Reller
On Fri, Mar 19, 2021 at 9:49 AM Hans Hagen wrote: > On 3/19/2021 4:58 AM, Christoph Reller wrote: > > Hi, > > > > Consider the following MWE: > > > > \definetyping[T] > > \definemode[mode][yes] > > \starttext > > \doifmode{mode}{% > >\startT > > Bla > >\stopT} > > \stoptext > > > >

Re: [NTG-context] lmt_followtext and cycle

2021-03-19 Thread Hans Hagen
On 3/19/2021 11:48 PM, Pablo Rodriguez wrote: On 3/19/21 12:15 AM, Hans Hagen wrote: On 3/18/2021 10:26 PM, Pablo Rodriguez wrote: [...] You can't expect two overlayed graphics to know of each others independent applied scaling. So you need to do this: Sorry, but version from 2021.03.17

Re: [NTG-context] Zero size kerns with latest LMTX beta 2020-03-17

2021-03-19 Thread Hans Hagen
On 3/19/2021 10:47 PM, Pablo Rodriguez wrote: On 3/19/21 10:11 PM, Joseph wrote: Dear list, Following MWE aims to reproduce the issue, Hi Joseph, I’m afraid that kerning current latest from 2021.03.17 17:46 isn’t able to deal with the OpenType kern feature (which is enabled by default):

Re: [NTG-context] lmt_followtext and cycle

2021-03-19 Thread Pablo Rodriguez
On 3/19/21 12:15 AM, Hans Hagen wrote: > On 3/18/2021 10:26 PM, Pablo Rodriguez wrote: >> [...] > You can't expect two overlayed graphics to know of each others > independent applied scaling. So you need to do this: Sorry, but version from 2021.03.17 17:46 requires two scalings, in path and in

Re: [NTG-context] Zero size kerns with latest LMTX beta 2020-03-17

2021-03-19 Thread Hans Hagen
On 3/19/2021 10:11 PM, Joseph wrote: Dear list, Following MWE aims to reproduce the issue, \definefontfeature[default][default][kern=yes] \definefontfamily[mainfont][serif][EBGaramond] \setupbodyfont[mainfont] \showfontkerns \starttext Chapitre v. \stoptext ah, went unnoticed because i

Re: [NTG-context] Zero size kerns with latest LMTX beta 2020-03-17

2021-03-19 Thread Pablo Rodriguez
On 3/19/21 10:11 PM, Joseph wrote: > Dear list, > > Following MWE aims to reproduce the issue, Hi Joseph, I’m afraid that kerning current latest from 2021.03.17 17:46 isn’t able to deal with the OpenType kern feature (which is enabled by default): \showfontkerns \starttext

Re: [NTG-context] Keeping track of hyphenations

2021-03-19 Thread Hans Hagen
On 3/19/2021 9:49 PM, denis.ma...@ub.unibe.ch wrote: Wow, Hans, that looks awesome. Thanks a lot. Regarding the first output: What are the numbers intended to mean? The number of time that this word was used hyphenated (the same word can of course end up hyphenated differently in the

[NTG-context] Zero size kerns with latest LMTX beta 2020-03-17

2021-03-19 Thread Joseph
Dear list, Following MWE aims to reproduce the issue,  \definefontfeature[default][default][kern=yes]\definefontfamily[mainfont][serif][EBGaramond]\setupbodyfont[mainfont]\showfontkerns \starttextChapitre v.\stoptext ThanksBest regards Joseph  

Re: [NTG-context] Keeping track of hyphenations

2021-03-19 Thread denis.maier
Wow, Hans, that looks awesome. Thanks a lot. Regarding the first output: What are the numbers intended to mean? In the second example we're talking in terms of lines in the input file, right? If so, would it make sense to add some more context? Like so, or similar: hyhenated > around line

Re: [NTG-context] Keeping track of hyphenations

2021-03-19 Thread Hans Hagen
On 3/19/2021 1:00 PM, denis.ma...@ub.unibe.ch wrote: Ursprüngliche Nachricht- Von: Hans Hagen Gesendet: Freitag, 19. März 2021 12:44 An: mailing list for ConTeXt users ; Maier, Denis Christian (UB) Betreff: Re: [NTG-context] Keeping track of hyphenations On 3/19/2021 11:47 AM,

Re: [NTG-context] Keeping track of hyphenations

2021-03-19 Thread denis.maier
Ursprüngliche Nachricht- Von: Hans Hagen Gesendet: Freitag, 19. März 2021 12:44 An: mailing list for ConTeXt users ; Maier, Denis Christian (UB) Betreff: Re: [NTG-context] Keeping track of hyphenations On 3/19/2021 11:47 AM, denis.ma...@ub.unibe.ch wrote: > Hi > > Is there  a way to

Re: [NTG-context] Keeping track of hyphenations

2021-03-19 Thread Hans Hagen
On 3/19/2021 11:47 AM, denis.ma...@ub.unibe.ch wrote: Hi Is there  a way to conveniently track hyphenations ? I’ve had a look at https://wiki.contextgarden.net/Trackers but couldn’t find anything. depends on what you want to track

Re: [NTG-context] working on page refs with MP

2021-03-19 Thread Werner Hennrich
yes I had realized this already but I still don't know how to get those page numbers down into MP - they keep being strings with macro code instead is there a way the I can get \setupMPvariables[hdrPgs] in \setupheadertexts[\setups{page:header}] to be fully evaluated and stored as the page

[NTG-context] Keeping track of hyphenations

2021-03-19 Thread denis.maier
Hi Is there a way to conveniently track hyphenations ? I've had a look at https://wiki.contextgarden.net/Trackers but couldn't find anything. I'm thinking of something like this: add information about all hyphenated words to the log so that this could be further processed with a script maybe.

Re: [NTG-context] Typing within doifmode leads to error

2021-03-19 Thread Hans Hagen
On 3/19/2021 4:58 AM, Christoph Reller wrote: Hi, Consider the following MWE: \definetyping[T] \definemode[mode][yes] \starttext \doifmode{mode}{%   \startT     Bla   \stopT} \stoptext Compilation with the currently latest ConTeXt LMTX (ver: 2021.03.17 17:46 LMTX  fmt: 2021.3.18) fails

Re: [NTG-context] Typing within doifmode leads to error

2021-03-19 Thread Christoph Reller
On Fri, Mar 19, 2021 at 5:38 AM Aditya Mahajan wrote: > On Fri, 19 Mar 2021, Christoph Reller wrote: > > > Consider the following MWE: > > > > \definetyping[T] > > \definemode[mode][yes] > > \starttext > > \doifmode{mode}{% > > \startT > > Bla > > \stopT} > > \stoptext > > > >