[NTG-context] ConTeXt doesn't recognize source on network drive?

2020-05-11 Thread context

Hello,

after I've updated ConTeXt to the latest version, a new problem appeared 
- see the steps:


(Note that "X:" is a network drive mapped as "\\192.168.112.xxx\px" - if 
it was of importance.)



X:\Users\MMi\Akce\Stechovice-I-etapa.RDS\Projekt.RDS\P.Prac\SO_251\TZ>set 
path=d:\Ctx-Beta\tex\texmf-mswin\bin;%PATH%


X:\Users\MMi\Akce\Stechovice-I-etapa.RDS\Projekt.RDS\P.Prac\SO_251\TZ>findfile 
context.exe

d:\Ctx-Beta\tex\texmf-mswin\bin\context.exe

X:\Users\MMi\Akce\Stechovice-I-etapa.RDS\Projekt.RDS\P.Prac\SO_251\TZ>context.exe 
x:\Users\MMi\Akce\Stechovice-I-etapa.RDS\Projekt.RDS\P.Prac\SO_251\TZ\14-001-TZ.mkiv


resolvers   | formats | executing runner 'run luatex format': 
d:/Ctx-Beta/tex/texmf-mswin/bin/luatex --jobname="14-001-TZ" 
--fmt=d:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/format

-c:texmfbinpath="d:/Ctx-Beta/tex/texmf-mswin/bin"
This is LuaTeX, Version 1.13.0 (TeX Live 2020/W32TeX)
 system commands enabled.
open source > level 1, order 1, name 
'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'

system  >
system  > ConTeXt  ver: 2020.05.08 20:46 MKIV beta  fmt: 
2020.5.11  int: english/english

system  >
system  > 'cont-new.mkiv' loaded
open source > level 2, order 2, name 
'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'

system  > beware: some patches loaded from cont-new.mkiv
close source> level 2, order 2, name 
'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > files > jobname '14-001-TZ', input 
'x:\\Users\\MMi\\Akce\\Stechovice-I-etapa.RDS\\Projekt.RDS\\P.Prac\\SO_251\\TZ\\14-001-TZ.mkiv', 
result '14-001-TZ'

fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active

tex error   > tex error on line 8 in file 
d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv: ! I 
can't find file 
`x://Users/MMi/Akce/Stechovice-I-etapa.RDS/Projekt.RDS/P.Prac/SO_251/TZ/14-001-TZ.mkiv'.


l.8 }

l.97 \getvalue{clf_processjob}
 % from cont-run.lua

 1 %D \module
 2 %D   [   file=cont-yes,
 3 %Dversion=2012.06.01,
 4 %D  title=\CONTEXT\ Miscellaneous Macros,
 5 %D   subtitle=Startup Stub,
 6 %D author=Hans Hagen,
 7 %D   date=\currentdate,
 8 >>  %D  copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
 9 %C
10 %C This module is part of the \CONTEXT\ macro||package and is
11 %C therefore copyrighted by \PRAGMA. See mreadme.pdf for
12 %C details.
13
14 % At some point I will reconsider the \starttext .. \stoptext
15 % wraping as we can assume proper styling. It's a left-over from
16 % mkii that we need to get rid of.
17
18 % now moved to cont-run.lua

mtx-context | fatal error: return code: 1


So:

1. "ConTeXt  ver: 2020.05.08 20:46 MKIV beta  fmt: 2020.5.11" should be 
the newest, OK.


2. The new probles seems to be: "I can't find file `x://Users...
  ^^-- Why 
this replacement of "\"?


Best regards,

Lukas
___
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
___


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

2020-05-11 Thread context

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

d:\Lukas\ConTeXt\Test\EnvHome>echo %PATH%
d:\Ctx-Beta\tex\texmf-mswin\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program 
Files\Intel\DMIX;C:\Program Fi

rosoft SQL Server\90\Tools\binn\;C:\Program Files\Git\cmd

d:\Lukas\ConTeXt\Test\EnvHome>findfile context.exe
d:\Ctx-Beta\tex\texmf-mswin\bin\context.exe

d:\Lukas\ConTeXt\Test\EnvHome>context.exe EnvHome.mkiv --once

resolvers   | formats | executing runner 'run luatex format': 
d:/Ctx-Beta/tex/texmf-mswin/bin/luatex --jobname="EnvHome" 
--fmt=d:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f

This is LuaTeX, Version 1.13.0 (TeX Live 2020/W32TeX)
 system commands enabled.
open source > level 1, order 1, name 
'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'

system  >
system  > ConTeXt  ver: 2020.05.08 20:46 MKIV beta  fmt: 
2020.5.11  int: english/english

system  >
system  > 'cont-new.mkiv' loaded
open source > level 2, order 2, name 
'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'

system  > beware: some patches loaded from cont-new.mkiv
close source> level 2, order 2, name 
'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > files > jobname 'EnvHome', input './EnvHome.mkiv', 
result 'EnvHome'

fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > level 2, order 3, name 
'd:/Lukas/ConTeXt/Test/EnvHome/EnvHome.mkiv'

fonts   > preloading latin modern fonts (second stage)
fonts   > 'fallback modern-designsize rm 12pt' is loaded
1   C:/Users/u×ivatel
2   C:/Users/u×ivatel
3   C:/Users/u×ivatel
4   C:/Users/u×ivatel
backend > xmp > using file 
'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'

pages   > flushing realpage 1, userpage 1, subpage 1
close source> level 2, order 3, name 
'd:/Lukas/ConTeXt/Test/EnvHome/EnvHome.mkiv'
close source> level 1, order 3, name 
'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'


mkiv lua stats  > used config file: 
selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: 
d:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.007 seconds, 0 scans 
with scantime 0.000 seconds, 0 shared scans, 12 found files, scanned 
paths: 
mkiv lua stats  > stored bytecode data: 452 modules (0.232 sec), 93 
tables (0.012 sec), 545 chunks (0.244 sec)
mkiv lua stats  > traced context: maxstack: 1407, freed: 0, unreachable: 
1407

mkiv lua stats  > cleaned up reserved nodes: 57 nodes, 9 lists of 442
mkiv lua stats  > node memory usage: 11 attribute, 4 attribute_list, 1 
glue, 51 glue_spec, 3 kern, 2 penalty, 2 temp, 2 user_defined
mkiv lua stats  > node list callback tasks: 8 unique task lists, 7 
instances (re)created, 38 calls
mkiv lua stats  > used backend: pdf (backend for directly generating pdf 
output)
mkiv lua stats  > jobdata time: 0.001 seconds saving, 0.000 seconds 
loading
mkiv lua stats  > callbacks: internal: 134, file: 146, direct: 6, late: 
0, function 501, total: 787
mkiv lua stats  > result saved in file: EnvHome.pdf, compresslevel 3, 
objectcompresslevel 1

mkiv lua stats  > loaded patterns: en::1, load time: 0.000
mkiv lua stats  > loaded fonts: 2 files: latinmodern-math.otf, 
lmroman12-regular.otf
mkiv lua stats  > font engine: otf 3.111, afm 1.513, tfm 1.000, 7 
instances, 3 shared in backend, 3 common vectors, 0 common hashes, load 
time 0.198 seconds
mkiv lua stats  > used platform: mswin, type: windows, binary subtree: 
texmf-mswin
mkiv lua stats  > used engine: luatex version: 1.13, functionality 
level: 7353, banner: this is luatex, version 1.13.0 (tex live 
2020/w32tex)

mkiv lua stats  > control sequences: 45940 of 65536 + 10
mkiv lua stats  > lua properties: engine: lua 5.3, used memory: 68 MB, 
ctx: 67 MB, max: unknown MB, hash chars: min(32,40), symbol mask: utf 
(τεχ)
mkiv lua stats  > runtime: 0.522 seconds, 1 processed pages, 1 shipped 
pages, 1.916 pages/second

system  | total runtime: 0.823 seconds

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 wrong?

Lukas


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


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

2020-05-11 Thread context

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:

   https://wiki.contextgarden.net/Windows_10_64_bit_Installation_2019

I forced 32b version due to some reasons.

But I'm still getting the same LuaTeX version:


I had the same issue. You have to add --context=latest:

  https://mailman.ntg.nl/pipermail/ntg-context/2020/097651.html

Marco

___
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
___


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

2020-05-11 Thread Hans Hagen

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

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___


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

2020-05-11 Thread Henning Hraban Ramm

> 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 : 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
___


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

2020-05-11 Thread Marco Patzer
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 same LuaTeX version:

I had the same issue. You have to add --context=latest:

  https://mailman.ntg.nl/pipermail/ntg-context/2020/097651.html

Marco
___
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
___


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

2020-05-11 Thread context

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"))}
  \ctxlua{print("4",os.getenv("USERPROFILE"))}
\stoptext


3. Opened console and launched:


d:\Lukas\ConTeXt\Test\EnvHome>set 
PATH=d:\Ctx-Beta\tex\texmf-mswin\bin;%PATH%


d:\Lukas\ConTeXt\Test\EnvHome>echo %HOME%
d:\Lukas

d:\Lukas\ConTeXt\Test\EnvHome>context.exe EnvHome.mkiv

resolvers   | formats | executing runner 'run luatex format': 
d:/Ctx-Beta/tex/texmf-mswin/bin/luatex --jobname="EnvHome" 
--fmt=d:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.fmt 
--lua=d:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui 
cont-yes.mkiv --c:currentrun=1 --c:fulljobname="./EnvHome.mkiv" 
--c:input="./EnvHome.mkiv" --c:kindofrun=1 --c:maxnofruns=9 
--c:texmfbinpath="d:/Ctx-Beta/tex/texmf-mswin/bin"

This is LuaTeX, Version 1.13.0 (TeX Live 2020/W32TeX)
 system commands enabled.
open source > level 1, order 1, name 
'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'

system  >
system  > ConTeXt  ver: 2020.01.30 14:13 MKIV beta  fmt: 
2020.5.10  int: english/english

system  >
system  > 'cont-new.mkiv' loaded
open source > level 2, order 2, name 
'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'

system  > beware: some patches loaded from cont-new.mkiv
close source> level 2, order 2, name 
'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > files > jobname 'EnvHome', input './EnvHome.mkiv', 
result 'EnvHome'

fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > level 2, order 3, name 
'd:/Lukas/ConTeXt/Test/EnvHome/EnvHome.mkiv'

fonts   > preloading latin modern fonts (second stage)
fonts   > 'fallback modern-designsize rm 12pt' is loaded
1   C:/Users/u×ivatel
2   nil
3   C:/Users/u×ivatel
4   C:/Users/u×ivatel
backend > xmp > using file 
'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'

pages   > flushing realpage 1, userpage 1, subpage 1
close source> level 2, order 3, name 
'd:/Lukas/ConTeXt/Test/EnvHome/EnvHome.mkiv'
close source> level 1, order 3, name 
'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'


mkiv lua stats  > used config file: 
selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: 
d:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.016 seconds, 0 scans 
with scantime 0.000 seconds, 0 shared scans, 12 found files, scanned 
paths: 
mkiv lua stats  > stored bytecode data: 450 modules (0.241 sec), 93 
tables (0.012 sec), 543 chunks (0.253 sec)
mkiv lua stats  > traced context: maxstack: 1397, freed: 0, unreachable: 
1397

mkiv lua stats  > cleaned up reserved nodes: 56 nodes, 9 lists of 442
mkiv lua stats  > node memory usage: 11 attribute, 4 attribute_list, 1 
glue, 51 glue_spec, 3 kern, 2 penalty, 2 temp, 2 user_defined
mkiv lua stats  > node list callback tasks: 8 unique task lists, 7 
instances (re)created, 38 calls
mkiv lua stats  > used backend: pdf (backend for directly generating pdf 
output)
mkiv lua stats  > jobdata time: 0.000 seconds saving, 0.000 seconds 
loading
mkiv lua stats  > callbacks: internal: 134, file: 146, direct: 6, late: 
0, function 501, total: 787
mkiv lua stats  > result saved in file: EnvHome.pdf, compresslevel 3, 
objectcompresslevel 1

mkiv lua stats  > loaded patterns: en::1, load time: 0.000
mkiv lua stats  > loaded fonts: 2 files: latinmodern-math.otf, 
lmroman12-regular.otf
mkiv lua stats  > font engine: otf 3.110, afm 1.513, tfm 1.000, 7 
instances, 3 shared in backend, 3 common vectors, 0 common hashes, load 
time 0.187 seconds
mkiv lua stats  > used platform: mswin, type: windows, binary subtree: 
texmf-mswin
mkiv lua stats  > used engine: luatex version 1.13 with functionality 
level 7353, banner: this is luatex, version 1.13.0 (tex live 
2020/w32tex)

mkiv lua stats  > control sequences: 45871 of 65536 + 10
mkiv lua stats  > lua properties: engine: lua 5.3, used memory: 63 MB, 
ctx: 62 MB, max: unknown MB), hash chars: min(32,40), symbol mask: utf 
(τεχ)
mkiv lua stats  > runtime: 0.499 seconds, 1 processed pages, 1 shipped 
pages, 2.004 pages/second


...

d:\Lukas\ConTeXt\Test\EnvHome>


3. So, logged:

"
system  > ConTeXt  ver: 2020.01.30 14:13 MKIV beta  fmt: 
2020.5.10  int: english/english

...
1   C:/Users/u×ivatel
2   nil
3   C:/Users/u×ivatel
4   C:/Users/u×ivatel
"

4. I also didn't find any "oldhome" text using fulltext search in 
ConTeXt installation 

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

2020-05-11 Thread Henning Hraban Ramm


> 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
___
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
___


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

2020-05-11 Thread context

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 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 same LuaTeX version:


d:\Lukas\ConTeXt\Test\EnvHome>context.exe EnvHome.mkiv --once

resolvers   | formats | executing runner 'run luatex format': 
d:/CtxB/tex/texmf-mswin/bin/luatex --jobname="EnvHome"

This is LuaTeX, Version 1.13.0 (TeX Live 2020/W32TeX)
 system commands enabled.
open source > level 1, order 1, name 
'd:/CtxB/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'

system  >
system  > ConTeXt  ver: 2020.01.30 14:13 MKIV beta  fmt: 
2020.5.11  int: english/english

system  >
system  > 'cont-new.mkiv' loaded
open source > level 2, order 2, name 
'd:/CtxB/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'

system  > beware: some patches loaded from cont-new.mkiv
close source> level 2, order 2, name 
'd:/CtxB/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system  > files > jobname 'EnvHome', input './EnvHome.mkiv', 
result 'EnvHome'

fonts   > latin modern fonts are not preloaded
languages   > language 'en' is active
open source > level 2, order 3, name 
'd:/Lukas/ConTeXt/Test/EnvHome/EnvHome.mkiv'

fonts   > preloading latin modern fonts (second stage)
fonts   > 'fallback modern-designsize rm 12pt' is loaded
1   C:/Users/u×ivatel
2   nil
3   C:/Users/u×ivatel
4   C:/Users/u×ivatel


I used first-setup.bat; inside:


rsync -av --exclude 'rsync.exe' --exclude 'cygwin1.dll' --exclude 
'cygiconv-2.dll' rsync://contextgarden.net/minimals/setup/mswin/bin/ bin



- is "minimals" ("rsync://contextgarden.net/minimals") OK here?

- and later inside:


mtxrun --script ./bin/mtx-update.lua --update --force --make 
--engine=all --context=beta --engine=luatex --texroot="%OWNPATH%tex" %*



- is "--context=beta" OK here?

Lukas



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
___