From: "Procházka Lukáš Ing. - Pontex s. r. o." <LPr@pontex.cz>
To: ConTeXt <ntg-context@ntg.nl>
Subject: Ctx goes into infinite loop?
Date: Fri, 23 May 2014 12:40:28 +0200 [thread overview]
Message-ID: <op.xga6lqwqtpjj8f@lpr> (raw)
[-- Attachment #1: Type: text/plain, Size: 2586 bytes --]
Hello,
I have problem running the latest Ctx beta.
Suppose having:
-- C:\Lukas\Jobs\D3-Sk\SO_237-20.RDS\Drawings\t2.mkiv
\startluacode
local home = (os.getenv("HOME.ORG") or os.getenv("HOME") or "?"):gsub("\\", "/")
context.setvalue("HOME", home)
\stopluacode
\input \HOME/Common/_Defs_.ctx
\starttext
Test
\stoptext
--
and an empty
-- C:\Lukas\Common\_Defs_.ctx
--
When running:
C:\Lukas\Jobs\D3-Sk\SO_237-20.RDS\Drawings>context.exe t2.mkiv
Ctx stops telling anything (infinite loop?):
"
C:\Lukas\Jobs\D3-Sk\SO_237-20.RDS\Drawings>context.exe t2.mkiv
mtx-context | run 1: luatex --fmt="c:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en" --jobname="t2" --lua="c:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./t2.mkiv" --c:input="./t2.mkiv" --c:kindofrun=1 --c:maxnofruns=8 "cont-yes.mkiv"
This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/W32TeX) (rev 5004)
\write18 enabled.
open source > 1 > 1 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-yes.mkiv
ConTeXt ver: 2014.05.21 22:04 MKIV beta fmt: 2014.5.22 int: english/english
system > 'cont-new.mkiv' loaded
open source > 2 > 2 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-new.mkiv
close source > 2 > 2 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-new.mkiv
system > files > jobname 't2', input './t2.mkiv', result 't2'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > 2 > 3 > C:/Lukas/Jobs/D3-Sk/SO_237-20.RDS/Drawings/t2.mkiv
tex error > error on line 7 in file C:/Lukas/Jobs/D3-Sk/SO_237-20.RDS/Drawings/t2.mkiv: ! I can't find file `C:/Documents'.\HOME
^C
C:\Lukas\Jobs\D3-Sk\SO_237-20.RDS\Drawings>
\HOME \-C:/Documents
and Settings/LPR
l.7 \input \HOME
/Common/_Defs_.ctx
1 \startluacode
2 local home = (os.getenv("HOME.ORG") or os.getenv("HOME") or "?"):gsub("\\", "/")
3
4 context.setvalue("HOME", home)
5 \stopluacode
6
7 >> \input \HOME/Common/_Defs_.ctx
8
9 \starttext
10 Test
11 \stoptext
12
"
What's wrong?
Lukas
--
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4
Tel: +420 241 096 751
Fax: +420 244 461 038
[-- Attachment #2: _Defs_.ctx --]
[-- Type: application/octet-stream, Size: 0 bytes --]
[-- Attachment #3: t2.log --]
[-- Type: application/octet-stream, Size: 1200 bytes --]
open source > 1 > 1 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-yes.mkiv
ConTeXt ver: 2014.05.21 22:04 MKIV beta fmt: 2014.5.22 int: english/english
system > 'cont-new.mkiv' loaded
open source > 2 > 2 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-new.mkiv
close source > 2 > 2 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-new.mkiv
system > files > jobname 't2', input './t2.mkiv', result 't2'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > 2 > 3 > C:/Lukas/Jobs/D3-Sk/SO_237-20.RDS/Drawings/t2.mkiv
tex error > error on line 7 in file C:/Lukas/Jobs/D3-Sk/SO_237-20.RDS/Drawings/t2.mkiv: ! I can't find file `C:/Documents'.\HOME
\HOME \-C:/Documents
and Settings/LPR
l.7 \input \HOME
/Common/_Defs_.ctx
1 \startluacode
2 local home = (os.getenv("HOME.ORG") or os.getenv("HOME") or "?"):gsub("\\", "/")
3
4 context.setvalue("HOME", home)
5 \stopluacode
6
7 >> \input \HOME/Common/_Defs_.ctx
8
9 \starttext
10 Test
11 \stoptext
12
End of file on the terminal!
[-- Attachment #4: t2.mkiv --]
[-- Type: application/octet-stream, Size: 216 bytes --]
\startluacode
local home = (os.getenv("HOME.ORG") or os.getenv("HOME") or "?"):gsub("\\", "/")
context.setvalue("HOME", home)
\stopluacode
\input \HOME/Common/_Defs_.ctx
\starttext
Test
\stoptext
[-- Attachment #5: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2014-05-23 10:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-23 10:40 Procházka Lukáš Ing. - Pontex s. r. o. [this message]
2014-05-23 11:15 ` Hans Hagen
2014-05-23 11:30 ` Procházka Lukáš Ing. - Pontex s. r. o.
2014-05-23 11:50 ` Hans Hagen
2014-05-23 14:18 ` Peter Rolf
2014-05-23 16:01 ` Peter Rolf
2014-05-25 11:33 ` Lukáš Procházka
2014-05-25 16:33 ` Hans Hagen
2014-05-28 9:26 ` Ctx & Lua 5.3 (was: Ctx goes into infinite loop?) Procházka Lukáš Ing. - Pontex s. r. o.
2014-05-28 11:47 ` Ctx & Lua 5.3 Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=op.xga6lqwqtpjj8f@lpr \
--to=lpr@pontex.cz \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).