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

2020-05-12 Thread context

Hello Hans,

On 2020-05-12 10:58, Hans Hagen wrote:

On 5/11/2020 5:26 PM, cont...@vivaldi.net wrote:

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.)

i have no problem here running from a mapped drive (nothing changed in
that areas either) and i would have noticed it as i have several
network drives


here I'm running om Win7 64b.

I fixed the problem somehow:

- As normally I'm not running ConTeXt directly by "context.exe" but via 
.bat file (some more actions to do), I added a code into .bat which 
changes source file name from "x:\...\..." to "x:/...\...". (It's 
performed by Lua's 'fname:gsub(":\\", ":/")' actually.) And it works 
now.


(But my previously reported problem appeared on running 'context.exe', 
i.e. without any auxiliary .bat.)


Lukas


(i'm talking windows 10)

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
___


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

2020-05-12 Thread Hans Hagen

On 5/11/2020 5:26 PM, cont...@vivaldi.net wrote:

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.)
i have no problem here running from a mapped drive (nothing changed in 
that areas either) and i would have noticed it as i have several network 
drives


(i'm talking windows 10)

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
___


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