[NTG-context] metafun paralleled does not give a parallel path

2022-08-24 Thread fv leung via ntg-context
The following used to produce three parallel lines. Now it produces one straight line and two arcs. \starttext \startMPcode z0 = origin; z1 = 72dir(45); dotlabel.bot("z0", z0); draw z0--z1; draw (z0--z1) paralleled -15 withcolor red; draw (z0--z1) paralleled 15 withcolor blue;

Re: [NTG-context] C with macron

2022-08-24 Thread Thangalin via ntg-context
Here's an attempt with dynamic kerning based on the font, which eliminates some of the tweaking needed. It's not perfect and, depending on the font, a little work is needed. For pagella, scholas, termes, and a few other default fonts, the results are decent. %\setupbodyfont[pagella]

[NTG-context] No error when loading a non-existent module

2022-08-24 Thread Max Chernoff via ntg-context
Hi all, If you load a non-existent module, ConTeXt issues a minor warning, but otherwise proceeds as normal: MWE: \usemodule[doesnt-exist] \starttext Hello world! \stoptext I think that this behaviour should be changed so that a fatal error is issued when a loaded module

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-24 Thread Michal Vlasák via ntg-context
On Wed Aug 24, 2022 at 11:32 PM CEST, Hans Hagen wrote: > On 8/24/2022 10:21 PM, Michal Vlasák via ntg-context wrote: > > > Or rather no solution would be needed at all, since the "mtxrun" and > > "context" wrapper commands and "texmfcnf.lua" files will be probably > > specific for each packaging

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-24 Thread Hans Hagen via ntg-context
On 8/24/2022 10:21 PM, Michal Vlasák via ntg-context wrote: Or rather no solution would be needed at all, since the "mtxrun" and "context" wrapper commands and "texmfcnf.lua" files will be probably specific for each packaging target (different directories on different distros, and Unix vs

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-24 Thread Michal Vlasák via ntg-context
On Tue Aug 23, 2022 at 3:11 AM CEST, Max Chernoff wrote: > > On Sunday, August 21st, 2022 at 7:13 PM, Michal Vlasák > gmail.com> wrote: > > > > > > There is documentation about how it can be used. I hope its obvious how > > > I got "texmf" (texmf-context.zip, unzip, delete some files I didn't

Re: [NTG-context] C with macron

2022-08-24 Thread Hans Hagen via ntg-context
On 8/24/2022 8:45 PM, Pablo Rodriguez via ntg-context wrote: On 8/24/22 18:11, Thangalin via ntg-context wrote: Another nice solution, Pablo, thank you. The macron is shifted a little too far to the left I don’t know how ConTeXt handles it internally, but placement to main character differs

Re: [NTG-context] C with macron

2022-08-24 Thread Pablo Rodriguez via ntg-context
On 8/24/22 18:11, Thangalin via ntg-context wrote: > Another nice solution, Pablo, thank you. > > The macron is shifted a little too far to the left I don’t know how ConTeXt handles it internally, but placement to main character differs with each letter: \starttext

Re: [NTG-context] C with macron

2022-08-24 Thread Thangalin via ntg-context
Another nice solution, Pablo, thank you. The macron is shifted a little too far to the left and needs a raisebox to align the top of the C with the M. https://tex.stackexchange.com/a/364027/2148 Hans' solution is pretty close. Here's what the LaTeX folks made:

Re: [NTG-context] C with macron

2022-08-24 Thread Pablo Rodriguez via ntg-context
On 8/24/22 02:23, Thangalin via ntg-context wrote: > Hi again, > > Re: https://tex.stackexchange.com/q/364024/2148 > > > How do you typeset a C with a macron below? According to https://en.wikipedia.org/wiki/Macron_below, this works in ConTeXt:

Re: [NTG-context] Curling straight quotation marks

2022-08-24 Thread Thangalin via ntg-context
> > > Just use \quotation and \quote, then you have the right settings for > many languages and can also be sure that quotes get closed and are > consistent over the whole document. > Thanks Hraban. That won't work with my workflow. I edit in Markdown (plain text), transform to XML, then pass

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-24 Thread amano.kenji via ntg-context
That's great, bro. --- Original Message --- On Tuesday, August 23rd, 2022 at 7:13 PM, Aditya Mahajan via ntg-context wrote: > On Mon, 22 Aug 2022, amano.kenji via ntg-context wrote: > > > Wuh. That's a bit complex. > > > If you are packaging any flavor of TeX, you need to

Re: [NTG-context] Curling straight quotation marks

2022-08-24 Thread Henning Hraban Ramm via ntg-context
Am 24.08.22 um 02:13 schrieb Thangalin via ntg-context: Hey folks, I re-wrote the algorithm KeenWrite uses for curling straight quotes. The new algorithm is fairly robust with respect to North American and British English. Could use help finding edge cases:

Re: [NTG-context] C with macron

2022-08-24 Thread Hans Hagen via ntg-context
On 8/24/2022 10:01 AM, Thangalin via ntg-context wrote: Are the c and _ supposed to be separated like that? https://i.ibb.co/0DsPK1P/mc.png What would I have to change to put the c above the _? Are you using lmtx? are you sure your mail agent didn't introduce an empty line? Hans

Re: [NTG-context] C with macron

2022-08-24 Thread Thangalin via ntg-context
Are the c and _ supposed to be separated like that? https://i.ibb.co/0DsPK1P/mc.png What would I have to change to put the c above the _? On Wed, Aug 24, 2022 at 12:49 AM Thangalin wrote: > Nice! > > I had gotten as far as: > > \starttext >

Re: [NTG-context] C with macron

2022-08-24 Thread Thangalin via ntg-context
Nice! I had gotten as far as: \starttext M{\dontleavehmode{\raisebox{.55ex}\hbox{c}}}\hskip-1ex {\dontleavehmode{\raisebox{.25ex}\hbox{\hl[.45]}}Anulty \stoptext It looks pretty close to the LaTeX version. Fixing the name in situ is much better. Thank you!

Re: [NTG-context] C with macron

2022-08-24 Thread Hans Hagen via ntg-context
On 8/24/2022 8:47 AM, Mikael Sundqvist via ntg-context wrote: Hi, On Wed, Aug 24, 2022 at 2:23 AM Thangalin via ntg-context wrote: Hi again, Re: https://tex.stackexchange.com/q/364024/2148 How do you typeset a C with a macron below? \starttext M\withmacron{c}Anulty \stoptext Thank you.

Re: [NTG-context] C with macron

2022-08-24 Thread Mikael Sundqvist via ntg-context
Hi, On Wed, Aug 24, 2022 at 2:23 AM Thangalin via ntg-context wrote: > > Hi again, > > Re: https://tex.stackexchange.com/q/364024/2148 > > How do you typeset a C with a macron below? > > \starttext > M\withmacron{c}Anulty > \stoptext > > Thank you. It seems that you can use "0331 for this: