[NTG-context] LMTX, BIdi, full paragraph, and spurious empty line

2021-06-21 Thread Rik Kabel
Hello all, Last October Denis Maier complained about a spurious empty line generated with protrusion and bidi active and a full paragraph. (See https://www.mail-archive.com/ntg-context@ntg.nl/msg95916.html or similar on your

Re: [NTG-context] simplifying repeated macro calls in metafun

2021-06-21 Thread Jeong Dal
Dear Otared, I received list mail in condensed form, I didn’t see your mail before I sent one. As Mikael explained, “whatever” is very nice to find the intersection point of two lines. You can see nice examples which use “whatever” in MetaFun manual. In my code, the next point is the

Re: [NTG-context] simplifying repeated macro calls in metafun

2021-06-21 Thread Mikael Sundqvist
Hi, yes, sure, I should have copied my code from the geometry document where I do this kind of constructions over and over... /Mikael On Mon, Jun 21, 2021 at 4:31 PM Otared Kavian wrote: > > Hi Mikael, > > Thank you so much for the explanation: I am ashamed for not having read this > in the

Re: [NTG-context] simplifying repeated macro calls in metafun

2021-06-21 Thread Jeong Dal
Dear Aditya, Your code works perfectly. Thank you for your help. Best regards, Dalyoung ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Trying to make all links in my document blue instead of red or green

2021-06-21 Thread T. Kurt Bond
Thanks, that did it! On Mon, Jun 21, 2021 at 11:33 AM Adam Reviczky wrote: > Hi Kurt, > > It is because of the spaces after the last line in contrastcolor. > -- T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io

Re: [NTG-context] Trying to make all links in my document blue instead of red or green

2021-06-21 Thread Adam Reviczky
Hi Kurt, It is because of the spaces after the last line in contrastcolor. Use any of the following instead: \setupinteraction [state=start, color=blue, contrastcolor=blue, ] \setupinteraction [state=start, color=blue, contrastcolor=blue% ] \setupinteraction [state=start,

[NTG-context] Trying to make all links in my document blue instead of red or green

2021-06-21 Thread T. Kurt Bond
I'm trying to make all the hyperlinks in my document blue. Here's my example: \setupinteraction [state=start, color=blue, contrastcolor=blue ] \starttext \completecontent \section{Section A} \subsection{SubSection A.A} \pagebreak[yes] \section {Section B — on another page} \subsection

Re: [NTG-context] simplifying repeated macro calls in metafun

2021-06-21 Thread Otared Kavian
Hi Mikael, Thank you so much for the explanation: I am ashamed for not having read this in the MetaPost manual. Just to make sure whether I am beginning to understand, in your example code > z3 = whatever[z1,z2] = z0+whatever*dir(angle(z1-z0)+90)); should the second « whatever » be z0 +

Re: [NTG-context] simplifying repeated macro calls in metafun

2021-06-21 Thread Mikael Sundqvist
Hi, As is written in the MetaPost manual: Whatever generates a new anonymous variable each time it is used. It is very useful in cases where you are not interested in the value of a variable, but want to use it to (let MP) calculate something. Example you have three points z0, z1, z2 forming a

Re: [NTG-context] simplifying repeated macro calls in metafun

2021-06-21 Thread Otared Kavian
Hi Aditya, Thanks for the detailed file you sent to answer Dalyoung’s question and file. And going through both files I have a question. I see that both of you use a function « whatever » (but is it a function ?): what does this do and where can it be used (actually I have seen Hans using this

[NTG-context] \pdfbackendcurrentresources not expanded

2021-06-21 Thread Christoph Reller
Hi, Consider the following MWE, which uses the tizk module: \usemodule[tikz] \usetikzlibrary[fadings] \starttext \starttikzpicture \fill [path fading=west,red] (-1,-1) rectangle (1,1); \stoptikzpicture \stoptext When compiling with ConTeXt LMTX version 2021.06.18, the output PDF contains

Re: [NTG-context] Font glyph replacement regression

2021-06-21 Thread Hans Hagen
On 6/21/2021 9:08 AM, Christoph Reller wrote: On Mon, Jun 21, 2021 at 12:00 AM Hans Hagen > wrote: On 6/20/2021 9:51 PM, Christoph Reller wrote: > In my documents I use the MyriadPro font of Adobe. Until recently, some > glyphs were automatically

Re: [NTG-context] Font glyph replacement regression

2021-06-21 Thread Christoph Reller
On Mon, Jun 21, 2021 at 12:00 AM Hans Hagen wrote: > On 6/20/2021 9:51 PM, Christoph Reller wrote: > > In my documents I use the MyriadPro font of Adobe. Until recently, some > > glyphs were automatically replaced (in a correct way) for this font. In > > ConTeXt LMTX version 2021.09.18, the