Re: [NTG-context] Variables in \useURL

2020-06-19 Thread Nigel King
Taco, Thanks very much - I had necessarily simplified the example to show my simplest problem. \expanded suits my purpose perfectly. On 19 Jun 2020, at 13:10, Taco Hoekwater wrote: > On 19 Jun 2020, at 13:49, Hans Hagen wrote: > > On 6/19/2020 1:28 PM, Nigel King wrote: >> Hi Group, >> I

Re: [NTG-context] Variables in \useURL

2020-06-19 Thread Taco Hoekwater
> On 19 Jun 2020, at 13:49, Hans Hagen wrote: > > On 6/19/2020 1:28 PM, Nigel King wrote: >> Hi Group, >> I want to insert a variable hyper reference into a pdf document. The >> following method does not work for some reason. >> \def\hyperref{http://www.website.com/abc/def} >> show \hyperref

Re: [NTG-context] Variables in \useURL

2020-06-19 Thread Hans Hagen
On 6/19/2020 1:28 PM, Nigel King wrote: Hi Group, I want to insert a variable hyper reference into a pdf document. The following method does not work for some reason. \def\hyperref{http://www.website.com/abc/def} show \hyperref Gives the correct answer but

[NTG-context] Variables in \useURL

2020-06-19 Thread Nigel King
Hi Group, I want to insert a variable hyper reference into a pdf document. The following method does not work for some reason. \def\hyperref{http://www.website .com/abc/def} show \hyperref Gives the correct answer but \useURL[this_doc][\hyperref][][displayed text]

[NTG-context] lmtx

2020-06-19 Thread Hans Hagen
Hi, Here's an update about what Wolfgang and I are doing in the lmtx code base i.e. where it differs from the mkiv code. Much has to do with cleaner code, less memory usage and less tracing clutter. To some extend it might be more efficient in terms of runtime, but in practice there is not

[NTG-context] update

2020-06-19 Thread Hans Hagen
Hi, I uploaded an update. I cleaned up (upgraded code-wise) some of the script related code. Most users won't notice but who knows if I introduced some issues with cjk ... just let me know if I overlooked something. Hans -

Re: [NTG-context] Checking existence of a macro (control sequence) by Lua - problem after updating MkIV

2020-06-19 Thread Lukas/ConTeXt
Hello Hans, -- Původní e-mail -- { Od: Hans Hagen as you updated, it's just: \startluacode local defined = tokens.defined for _, v in ipairs{ "MyMacro", "MyMacWithPars", "Undefined", "DoNothing", "NonExisting" } do print(string.format("\letterpercent-12s",