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
Hello,
On 2020-05-12 10:53, Hans Hagen wrote:
On 5/11/2020 5:57 PM, cont...@vivaldi.net wrote:
d:\Lukas\ConTeXt\Test\EnvHome>
- I'm still getting:
1 C:/Users/u×ivatel
2 C:/Users/u×ivatel
3 C:/Users/u×ivatel
4 C:/Users/u×ivatel
whilst HOME environment has been
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
On 5/11/2020 5:57 PM, cont...@vivaldi.net wrote:
d:\Lukas\ConTeXt\Test\EnvHome>
- I'm still getting:
1 C:/Users/u×ivatel
2 C:/Users/u×ivatel
3 C:/Users/u×ivatel
4 C:/Users/u×ivatel
whilst HOME environment has been set to "DummyHome" (see "echo %HOME%").
What's
Hello Hans,
so I updated to latest ConTeXt (thanks Marco and Henning) but there is
still a problem - see:
d:\Lukas\ConTeXt\Test\EnvHome>set HOME=DummyHome
d:\Lukas\ConTeXt\Test\EnvHome>set
PATH=d:\Ctx-Beta\tex\texmf-mswin\bin;%PATH%
d:\Lukas\ConTeXt\Test\EnvHome>echo %HOME%
DummyHome
Hello,
great, this fixed my problem! (But another one came...)
Best regards,
Lukas
On 2020-05-11 12:58, Marco Patzer wrote:
On Mon, 11 May 2020 12:50:51 +0200
cont...@vivaldi.net wrote:
so I made a new parallel installation, following exactly instructions
here:
Hello,
On 2020-05-11 10:51, Hans Hagen wrote:
Hi,
system > ConTeXt ver: 2020.01.30 14:13 MKIV beta fmt:
2020.5.10 int: english/english
Did I updated ConTeXt correctly?
Well, you made a fresh format, but use a version from january, so ...
so I made a new parallel
> Am 11.05.2020 um 12:54 schrieb Henning Hraban Ramm :
>
>
>> Am 11.05.2020 um 12:50 schrieb cont...@vivaldi.net:
>>
>> - is "--context=beta" OK here?
>
> Try --context=current
Sorry, of course "latest", as Marco wrote, I mixed that up.
HR
Hello Hans,
my step-by-step actions:
1. Updated ConTeXt yesterday - described before.
2. Created EnvHome.mkiv for testing:
\starttext
Ahoj
\ctxlua{print("1",environment.homedir)}
\ctxlua{print("2",environment.oldhome)}
\ctxlua{print("3",os.getenv("HOME"))}
On Mon, 11 May 2020 12:50:51 +0200
cont...@vivaldi.net wrote:
> so I made a new parallel installation, following exactly instructions
> here:
>
>https://wiki.contextgarden.net/Windows_10_64_bit_Installation_2019
>
> I forced 32b version due to some reasons.
>
> But I'm still getting the
> Am 11.05.2020 um 12:50 schrieb cont...@vivaldi.net:
>
> - is "--context=beta" OK here?
Try --context=current
HR
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist :
Hi,
system > ConTeXt ver: 2020.01.30 14:13 MKIV beta fmt:
2020.5.10 int: english/english
Did I updated ConTeXt correctly?
Well, you made a fresh format, but use a version from january, so ...
Hans
-
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
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"))}
On 5/7/2020 12:30 PM, cont...@vivaldi.net wrote:
Hello Hans,
- I would need to work with the original value in run-time (Win7 /
WinX; ConTeXt MkIV).
I'll add
environment.oldhome
being the original one (but no testing done here)
would be great, thank you!
I guess it will be available
Hello Hans,
- I would need to work with the original value in run-time (Win7 /
WinX; ConTeXt MkIV).
I'll add
environment.oldhome
being the original one (but no testing done here)
would be great, thank you!
I guess it will be available over the night (= ConTeXt latest)?
Lukas
Hans
On 5/6/2020 5:43 PM, cont...@vivaldi.net wrote:
Hello,
before I run ConTeXt, I set a (new) variable "HOME" to point to a
particular directory.
ConTeXt changes its value during startup - it sets its value to
%USERPROFILE% - I guess it is to unify environment somehow for all
platforms
Hello,
before I run ConTeXt, I set a (new) variable "HOME" to point to a
particular directory.
ConTeXt changes its value during startup - it sets its value to
%USERPROFILE% - I guess it is to unify environment somehow for all
platforms ConTeXt supports; probably here:
data-ini.lua,
18 matches
Mail list logo