[NTG-context] \goto works but links don't when passed via textext() in METAPOST

2020-05-10 Thread Gerben Wierda
I am trying to get an URL link in a textext() via METAPOST. I’ve got this before \starttext (or after, tried both): \setupinteraction [state=start, color=blue, style=bold] The intended link shows up in blue and bold, but it is not clickable. I’ve turned ConTeXt tracing on and see

Re: [NTG-context] Blank page added after pagecolumns

2020-05-10 Thread Thangalin
Bump. See also: https://tex.stackexchange.com/q/542993/2148 On Mon, May 4, 2020 at 11:46 AM Joey McCollum wrote: > > After continuing to look into this a bit, I noticed that a similar issue > involving the insertion of a blank page after a columnset environment has > been discussed on the

[NTG-context] Would it be possible in LMTX to do something like variable font/lineheight to fit a fixed frame?

2020-05-10 Thread Gerben Wierda
Suppose I have a fixed sized frame, say 3 y 4 cm. And I have a variable-length text. Would it be possible to write a macro that scaled the font and line height such that the text will fit in the frame? What I have now is very basic: Fixed width Typeset (METAPOST textext())

Re: [NTG-context] METAPOST subpath rounding issue

2020-05-10 Thread Gerben Wierda
> On 10 May 2020, at 00:01, Bruce Horrocks wrote: > >> You can save extracting the xparts and yparts by using direct subtraction of >> pairs and comparing with (0,0) like this: > > Aaaargh, no, ignore that, it's nonsense. It's amazing how you can stare at > something for minutes but only see

Re: [NTG-context] Retrieving original value of enviroment variable HOME

2020-05-10 Thread context
Hello, Hans, I've just renewed the Ctx Beta installation, but 'environment.oldhome' seems be unavailable. Was I "too quick" with renewing Ctx? Testing sample: \starttext Ahoj \startluacode context(environment.oldhome or "??") \stopluacode \stoptext - prints "??". I

Re: [NTG-context] Retrieving original value of enviroment variable HOME

2020-05-10 Thread Hans Hagen
On 5/10/2020 2:33 PM, cont...@vivaldi.net wrote: I've just renewed the Ctx Beta installation, but 'environment.oldhome' seems be unavailable. are you ser HOME is set? \ctxlua{print("1",environment.homedir)} \ctxlua{print("2",environment.oldhome)} \ctxlua{print("3",os.getenv("HOME"))}