On 9/4/2023 7:03 PM, Pablo Rodriguez wrote:
On 9/4/23 12:25, Ursula Hermann wrote:
There is no pdf to read. Uschi Hermann. Sorry, dindn’t write my name in the first Mail Today.
Hi Uschi,
sorry for explaining what might be obvious to you now, but I think knowing the cause might be worth it
After compiling the following example, which is from February 2021:
Unfortunately, there was no compilation (source not found).
"\\ub.univie.ac.at\U_Dom\Users G-L\Hermann\Documents\Texlive" CMD.EXE wurde mit dem oben angegebenen Pfad als aktuellem Verzeichnis gestartet. UNC-Pfade werden nicht untersttzt. Stattdessen wird das Windows-Verzeichnis als aktuelles Verzeichnis gesetzt.
This is the real problem: UNC paths and the command prompt (CMD.EXE).
UNC paths are a Windows way to access remote units (let’s say it so).
They are similar to: "\\remote-server\directory\subdirectory\file.tex".
CMD is required by ConTeXt to run, but CMD doesn’t understand UNC paths, so it switches the directory to the %SYSTEMROOT% (usually, C:\Windows).
This directory shouldn’t be writable (without admin rights).
So the file cannot be found, since the directory is not the one that contains the source.
Using Explorer, it is possible to give a path such as "\\localhost\c$\Users\USERNAME\whatever\file.txt" and open it with your favourite editor, but it will be impossible to compile.
UNC paths in common used are mapped as local units, such as (explained in https://ss64.com/nt/net-use.html#e):
net use X: "\\remote-server\directory\"
That way compiling x:\subdirectory\file.tex would be no problem.
runtime error : input file './blackrule1.tex' is not found, quitting
Hraban was right: there might be no %SYSTEMROOT%\blackrule1.tex.
Just in case it might help to understand was what wrong, here
context \\localhost\c$\data\develop\tmp\oeps.tex seems to be processed (with result in current path) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------