* [NTG-context] After compiling
@ 2023-09-04 10:25 Ursula Hermann
2023-09-04 10:42 ` [NTG-context] " Henning Hraban Ramm
2023-09-04 17:03 ` Pablo Rodriguez
0 siblings, 2 replies; 6+ messages in thread
From: Ursula Hermann @ 2023-09-04 10:25 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 2722 bytes --]
There is no pdf to read.
Uschi Hermann.
Sorry, dindn't write my name in the first Mail Today.
Von: Ursula Hermann
Gesendet: Montag, 04. September 2023 11:44
An: 'ntg-context@ntg.nl' <ntg-context@ntg.nl<mailto:ntg-context@ntg.nl>>
Betreff:
Dear List,
After compiling the following example, which is from February 2021:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me}}\dontleavehmode\hairline
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext
I get:
Command Line: context.exe --synctex=-1 "blackrule1.tex"
Startup Folder: \\ub.univie.ac.at\U_Dom\Users<file://ub.univie.ac.at/U_Dom/Users> G-L\Hermann\Documents\Texlive
resolvers | formats | executing runner 'run luametatex format': luametatex --jobname="./blackrule1.tex" --socket --shell-escape --fmt=C:/Users/Hermann/Downloads/context-mswin/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=C:/Users/Hermann/Downloads/context-mswin/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./blackrule1.tex" --c:input="./blackrule1.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:synctex="-1" --c:texmfbinpath="C:/Users/Hermann/Downloads/context-mswin/tex/texmf-mswin/bin"
"\\ub.univie.ac.at\U_Dom\Users G-L\Hermann\Documents\Texlive<file://ub.univie.ac.at/U_Dom/Users%20G-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.
system >
system > ConTeXt ver: 2023.09.03 19:03 LMTX fmt: 2023.9.4 int: english/english
system >
system > 'cont-new.mkxl' loaded
open source > level 1, order 1, name 'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system > beware: some patches loaded from cont-new.mkiv
close source > level 1, order 1, name 'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system > files > jobname './blackrule1', input './blackrule1.tex', result './blackrule1'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
system > synctex functionality is enabled, expect 5-10 pct runtime overhead!
runtime error : input file './blackrule1.tex' is not found, quitting
mtx-context | fatal error: return code: 1
[-- Attachment #1.2: Type: text/html, Size: 10073 bytes --]
[-- Attachment #2: Type: text/plain, Size: 495 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* [NTG-context] Re: After compiling
2023-09-04 10:25 [NTG-context] After compiling Ursula Hermann
@ 2023-09-04 10:42 ` Henning Hraban Ramm
2023-09-04 11:02 ` Ursula Hermann
2023-09-04 17:03 ` Pablo Rodriguez
1 sibling, 1 reply; 6+ messages in thread
From: Henning Hraban Ramm @ 2023-09-04 10:42 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 04.09.23 um 12:25 schrieb Ursula Hermann:
> After compiling the following example, which is from February 2021:
> I get:
> runtime error : input file './blackrule1.tex' is not found, quitting
Are you sure your file is called "blackrule1.tex" and exists in the same
directory as you’re calling it?
Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* [NTG-context] Re: After compiling
2023-09-04 10:25 [NTG-context] After compiling Ursula Hermann
2023-09-04 10:42 ` [NTG-context] " Henning Hraban Ramm
@ 2023-09-04 17:03 ` Pablo Rodriguez
2023-09-04 17:14 ` Hans Hagen
1 sibling, 1 reply; 6+ messages in thread
From: Pablo Rodriguez @ 2023-09-04 17:03 UTC (permalink / raw)
To: ntg-context
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,
Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* [NTG-context] Re: After compiling
2023-09-04 17:03 ` Pablo Rodriguez
@ 2023-09-04 17:14 ` Hans Hagen
2023-09-04 17:26 ` Pablo Rodriguez
0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2023-09-04 17:14 UTC (permalink / raw)
To: Pablo Rodriguez, mailing list for ConTeXt users
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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-09-04 17:28 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-04 10:25 [NTG-context] After compiling Ursula Hermann
2023-09-04 10:42 ` [NTG-context] " Henning Hraban Ramm
2023-09-04 11:02 ` Ursula Hermann
2023-09-04 17:03 ` Pablo Rodriguez
2023-09-04 17:14 ` Hans Hagen
2023-09-04 17:26 ` Pablo Rodriguez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).