Hello Hans,

I made some observations and ... - shortly, the simpliest solution seems to me:

Would it be accptable for your to replace

  "
local homedir = osgetenv(ostype == "windows" and 'USERPROFILE' or 'HOME') or ''
  "

with:

  "
local homedir= ostype=="windows" and (osgetenv('HOME') or osgetenv('USERPROFILE')) or osgetenv('HOME') or ''
  "

- I made that replacement in:

  tex\texmf-mswin\bin\mtxrun.lua

and

  tex\texmf-context\tex\context\base\mkiv\data-ini.lua

(I have also another solution, but you might find it more hacky, so let's keep it in silence so far...)

Best regards,

Lukas


On 2020-05-12 13:53, Hans Hagen wrote:
On 5/12/2020 11:36 AM, cont...@vivaldi.net wrote:

And - once I "inject" an extra debug info - do I have to call "context.exe --make --generate" (or similar)?
You need to remake the fomat (and make sure you have the right
mtxrun/context scripts).

Hans
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to