[dev-context] spaces in filenames

Mojca Miklavec mojca.miklavec.lists at gmail.com
Sat Apr 19 01:20:59 CEST 2008


On Sat, Apr 19, 2008 at 1:00 AM, Hans Hagen wrote:
> Mojca Miklavec wrote:
> > Hello Hans & Taco,
> >
> > one more little problem. If I "install" ConTeXt to "c:\a b\" then
> > format generation fails for luatex (but works ok for xetex).
> >
>
>
> > LuaTools | running command: luatex --ini --lua="cont-nl.luc" "c:/a
> > b/context/tex/texmf-context/tex/context/base/cont-nl.tex" \dump
> > ! I can't find file `c:/a.tex'.
> > <*> c:/a
> >              b/context/tex/texmf-context/tex/context/base/cont-nl.tex
> \dump
> > (Press Enter to retry, or Control-Z to exit)
> >
>
> hm, so the name is quoted which looks ok to me
>
> what happens if you give the command directly

C:\a b>luatex --ini --lua="cont-nl.luc" "C:/a
b/context/tex/texmf-context/tex/context/base/cont-nl.tex" \dump
Configuration file cont-nl.luc not found

C:\a b>


Actually, it only fails with first-setup.bat. When running it
directly, the names are quoted somehow.

Microsoft Windows XP [različica 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

c:\a b\context\tex>setuptex .
c:\a b\context\tex>luatools --generate

LuaTools | skipping c:/AB0929~1/context/tex/texmf-local/web2c/texmf.cnf
LuaTools | skipping c:/AB0929~1/context/tex/texmf-context/web2c/texmf.cnf
LuaTools | loading c:/AB0929~1/context/tex/texmf/web2c/texmf.cnf
LuaTools | preparing configuration in c:/AB0929~1/context/tex/texmf-cache/luatex
-cache/context/1d418b4630b5e2ca4cc427d550796864/trees/61eb3e3b709bf2a6ab40a1921f
d8e103.tma
LuaTools | saving configuration in c:/AB0929~1/context/tex/texmf-cache/luatex-ca
che/context/1d418b4630b5e2ca4cc427d550796864/trees/61eb3e3b709bf2a6ab40a1921fd8e
103.tma
LuaTools | compiling configuration to c:/AB0929~1/context/tex/texmf-cache/luatex
-cache/context/1d418b4630b5e2ca4cc427d550796864/trees/61eb3e3b709bf2a6ab40a1921f
d8e103.tmc
LuaTools | locating list of c:/AB0929~1/context/tex/texmf-project
LuaTools | locating list of c:/AB0929~1/context/tex/texmf-fonts
LuaTools | locating list of c:/AB0929~1/context/tex/texmf-local
LuaTools | locating list of c:/AB0929~1/context/tex/texmf-mswin
LuaTools | locating list of c:/AB0929~1/context/tex/texmf-context
LuaTools | locating list of c:/AB0929~1/context/tex/texmf-extra
LuaTools | locating list of c:/AB0929~1/context/tex/texmf
LuaTools | scanning path c:/AB0929~1/context/tex/texmf-mswin
LuaTools | 120 files found on 12 directories with 0 uppercase remappings
LuaTools | scanning path c:/AB0929~1/context/tex/texmf-context
LuaTools | 1342 files found on 125 directories with 0 uppercase remappings
LuaTools | scanning path c:/AB0929~1/context/tex/texmf
LuaTools | 3208 files found on 96 directories with 60 uppercase remappings
LuaTools | preparing files in c:/AB0929~1/context/tex/texmf-cache/luatex-cache/c
ontext/1d418b4630b5e2ca4cc427d550796864/trees/dffce2053784706b0a5c84628c04635c.t
ma
LuaTools | saving files in c:/AB0929~1/context/tex/texmf-cache/luatex-cache/cont
ext/1d418b4630b5e2ca4cc427d550796864/trees/dffce2053784706b0a5c84628c04635c.tma
LuaTools | compiling files to c:/AB0929~1/context/tex/texmf-cache/luatex-cache/c
ontext/1d418b4630b5e2ca4cc427d550796864/trees/dffce2053784706b0a5c84628c04635c.t
mc
LuaTools | preparing files in c:/AB0929~1/context/tex/texmf-cache/luatex-cache/c
ontext/1d418b4630b5e2ca4cc427d550796864/trees/4193af225558309a42fa4f5059474345.t
ma
LuaTools | saving files in c:/AB0929~1/context/tex/texmf-cache/luatex-cache/cont
ext/1d418b4630b5e2ca4cc427d550796864/trees/4193af225558309a42fa4f5059474345.tma
LuaTools | compiling files to c:/AB0929~1/context/tex/texmf-cache/luatex-cache/c
ontext/1d418b4630b5e2ca4cc427d550796864/trees/4193af225558309a42fa4f5059474345.t
mc
LuaTools | preparing files in c:/AB0929~1/context/tex/texmf-cache/luatex-cache/c
ontext/1d418b4630b5e2ca4cc427d550796864/trees/1bc1e3f8f11292531524b49b58666fe1.t
ma
LuaTools | saving files in c:/AB0929~1/context/tex/texmf-cache/luatex-cache/cont
ext/1d418b4630b5e2ca4cc427d550796864/trees/1bc1e3f8f11292531524b49b58666fe1.tma
LuaTools | compiling files to c:/AB0929~1/context/tex/texmf-cache/luatex-cache/c
ontext/1d418b4630b5e2ca4cc427d550796864/trees/1bc1e3f8f11292531524b49b58666fe1.t
mc
LuaTools |
LuaTools | runtime: 0.359 seconds







c:\a b\context\tex>texexec --make --lua --fast en
TeXExec | using search method 'kpsefast'
TeXExec | using existing database
TeXExec | using tex engine luatex
TeXExec | using tex format path c:/AB0929~1/context/tex/texmf-mswin/web2c/luatex

TeXExec | generating tex format cont-en

LuaTools | creating initialization file cont-en
LuaTools | using library path : c:/AB0929~1/context/tex/texmf-context/tex/contex
t/base
LuaTools | using lua libraries: l-string.lua l-lpeg.lua l-table.lua l-boolean.lu
a l-number.lua l-set.lua l-unicode.lua l-md5.lua l-os.lua l-io.lua l-file.lua l-
url.lua l-dir.lua l-utils.lua l-tex.lua luat-env.lua luat-lib.lua luat-inp.lua l
uat-tmp.lua luat-zip.lua luat-tex.lua
LuaTools | using compiled initialization file cont-en.luc
LuaTools | using lua initialization file cont-en.luc
LuaTools | running command: luatex --ini --lua="cont-en.luc" "c:/AB0929~1/contex
t/tex/texmf-context/tex/context/base/cont-en.tex" \dump
(c:/AB0929~1/context/tex/texmf-context/tex/context/base/cont-en.tex (c:/AB0929~1
/context/tex/texmf-context/tex/context/base/context.tex (c:/AB0929~1/context/tex
/texmf-context/tex/context/base/syst-pln.tex) (c:/AB0929~1/context/tex/texmf-con
text/tex/context/base/syst-prm.tex) (c:/AB0929~1/context/tex/texmf-context/tex/c
ontext/base/luat-env.tex) (c:/AB0929~1/context/tex/texmf-context/tex/context/bas
e/luat-lib.tex) (c:/AB0929~1/context/tex/texmf-context/tex/context/base/syst-cat
.tex (c:/AB0929~1/context/tex/texmf-context/tex/context/base/syst-cat.mkiv)) (c:
/AB0929~1/context/tex/texmf-context/tex/context/base/syst-etx.tex) (c:/AB0929~1/
context/tex/texmf-context/tex/context/base/syst-pdt.tex) (c:/AB0929~1/context/te
x/texmf-context/tex/context/base/syst-omg.tex) (c:/AB0929~1/context/tex/texmf-co
ntext/tex/context/base/syst-xtx.tex) (c:/AB0929~1/context/tex/texmf-context/tex/
context/base/syst-mtx.tex) (c:/AB0929~1/context/tex/texmf-context/tex/context/ba
se/syst-gen.tex
loading : Context System Macros / General
)

... etc ...

 (c:/AB0929~1/context/tex/texmf-context/tex/context/base/type-tmf.tex) (c:/AB092
9~1/context/tex/texmf-context/tex/context/base/type-siz.tex
bodyfont       : style mm (mm) defined
) (c:/AB0929~1/context/tex/texmf-context/tex/context/base/type-otf.tex))

ConTeXt  ver: 2008.04.18 14:17 MKIV  fmt: 2008.4.19  int: english/english

lua : used config path - c:/AB0929\CCC:5:126 1/context/tex/texmf-local/web2c/tex
mf.cnf;c:/AB0929\CCC:5:126 1/context/tex/texmf-context/web2c/texmf.cnf;c:/AB0929
\CCC:5:126 1/context/tex/texmf/web2c/texmf.cnf
lua : used cache path - c:/AB0929\CCC:5:126 1/context/tex/texmf-cache/luatex-cac
he/context/1d418b4630b5e2ca4cc427d550796864
 )
Beginning to dump on file cont-en.fmt
 (format=cont-en 2008.4.19)
38262 strings of total length 628696
479229 memory locations dumped; current usage is 178&468155
36622 multiletter control sequences
\font\nullfont=nullfont
0 preloaded fonts
mkiv lua stats : used config path          - c:/AB0929~1/context/tex/texmf-local
/web2c/texmf.cnf;c:/AB0929~1/context/tex/texmf-context/web2c/texmf.cnf;c:/AB0929
~1/context/tex/texmf/web2c/texmf.cnf
mkiv lua stats : used cache path           - c:/AB0929~1/context/tex/texmf-cache
/luatex-cache/context/1d418b4630b5e2ca4cc427d550796864
mkiv lua stats : modules/dumps/instances   - 84/0/1
mkiv lua stats : input load time           - 0.016 seconds
mkiv lua stats : fonts load time           - 0.000 seconds
mkiv lua stats : xml load time             - 0.000 seconds, backreferences: 0, o
uter filtering time: 0.000
mkiv lua stats : mps conversion time       - 0.000 seconds
mkiv lua stats : node processing time      - 0.000 seconds (including kernel)
mkiv lua stats : kernel processing time    - 0.000 seconds
mkiv lua stats : attribute processing time - 0.000 seconds
mkiv lua stats : language load time        - 0.000 seconds, n=1
mkiv lua stats : graphics processing time  - 0.000 seconds, n=0 (including tex)
mkiv lua stats : metapost processing time  - 0.000 seconds, loading: 0.000 secon
ds, execution: 0.000 seconds, n: 0
mkiv lua stats : current memory usage      - 23970725 bytes
mkiv lua stats : cleaned up reserved nodes - 0 nodes, 8 lists of 100
mkiv lua stats : node memory usage         - 13 glue_spec, 1 dir
mkiv lua stats : loaded patterns           - none
mkiv lua stats : loaded fonts              - none
mkiv lua stats : runtime                   - 6.922 seconds, 0 processed pages, 0
 shipped pages, 0.000 pages/second


LuaTools |
LuaTools | runtime: 7.328 secondsTeXExec | no lua compilations needed
TeXExec |
TeXExec | tex engine path: c:/AB0929~1/context/tex/texmf-mswin/web2c/luatex
TeXExec |
TeXExec |
TeXExec | runtime: 7.438

c:\a b\context\tex>


More information about the dev-context mailing list