Hi:
Let me try another trick:
\starttext
\directlua0{os.exec("luatools --generate")}
Hello world!
\stoptext
Here is the log, please pay attention to the Luatools scanning path lines:
LuaTools | running command: luatex
--fmt="/var/tmp/tex/luatex-cache/context/aa64c2bfae05c5f9adeafd9a312c87be/formats/cont-en"
--lua="/var/tmp/tex/luatex-cache/context/aa64c2bfae05c5f9adeafd9a312c87be/formats/cont-en.luc"
"texweb.tex" ""
LuaTools |
LuaTools | runtime: 8.910 seconds
TeXUtil | parsing file texweb.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 0
TeXUtil | temporary files: 0
TeXUtil | commands: 0
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | TeX run 2
TeXExec | writing option file texweb.top
TeXExec | using randomseed 322
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en
(texweb.tex
ConTeXt ver: 2008.56.06 19:11 MKIV fmt: 2008.11.7 int: english/english
system : cont-new loaded
(/opt/context/current/texmf/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/opt/context/current/texmf/tex/context/base/cont-new.mkiv)
(/opt/context/current/texmf/tex/context/base/cont-mtx.tex))
system : cont-fil loaded
(/opt/context/current/texmf/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system : cont-sys.rme loaded
(/opt/context/current/texmf/tex/context/user/cont-sys.rme
(/opt/context/current/texmf/tex/context/base/type-tmf.tex)
(/opt/context/current/texmf/tex/context/base/type-siz.tex)
(/opt/context/current/texmf/tex/context/base/type-otf.tex))
bodyfont : 12pt rm is loaded
load otf | loading:
/opt/texlive2007/texmf-dist/fonts/opentype/public/lm/lmroman12-regular.otf
load otf | warning: In LMRoman12-Regular, in glyph acute.dup, 'CFF '
advance width (489) and
'hmtx' width (490) do not match. (Subsequent mismatches will not be reported)
load otf | enhance: patch
load otf | patching design size (12)
load otf | enhance: before
load otf | enhance: enrich
load otf | enhance: registering tlig feature
load otf | enhance: registering trep feature
load otf | enhance: flatten
load otf | flattening 'specifications' tables
load otf | flattening 'anchor' tables
load otf | flattening 'gpos' tables
load otf | flattening 'gsub' tables
load otf | enhance: analyze
load otf | enhance: after
load otf | replacing 'kerns' tables by 'mykerns' tables
load otf | enhance: strip
load otf | enhance: pack
load otf | pack quality: pass 1, 715 packed, 1-10:558, 11-20:128,
rest:29 (criterium: 1)
load otf | pack quality: pass 2, 157 packed, 1-10:155, 11-20:1, rest:1
(criterium: 1)
load otf | file size: 106284
load otf | saving: in cache
load otf | loading:
/opt/texlive2007/texmf-dist/fonts/opentype/public/lm/lm/lmroman7-regular.otf
load otf | enhance: patch
load otf | enhance: before
load otf | enhance: enrich
load otf | enhance: registering tlig feature
load otf | enhance: registering trep feature
load otf | enhance: flatten
load otf | flattening 'specifications' tables
load otf | flattening 'anchor' tables
load otf | flattening 'gpos' tables
load otf | flattening 'gsub' tables
load otf | enhance: analyze
load otf | enhance: after
load otf | replacing 'kerns' tables by 'mykerns' tables
load otf | enhance: strip
load otf | enhance: pack
load otf | pack quality: pass 1, 743 packed, 1-10:573, 11-20:142,
rest:28 (criterium: 1)
load otf | pack quality: pass 2, 170 packed, 1-10:168, 11-20:1, rest:1
(criterium: 1)
load otf | file size: 106568
load otf | saving: in cache
load otf | loading:
/opt/texlive2007/texmf-dist/fonts/opentype/public/lm/lmroman9-regular.otf
load otf | warning: In LMRoman9-Regular, in glyph acute.dup, 'CFF '
advance width (513) and
'hmtx' width (514) do not match. (Subsequent mismatches will not be reported)
load otf | enhance: patch
load otf | patching design size (9)
load otf | enhance: before
load otf | enhance: enrich
load otf | enhance: registering tlig feature
load otf | enhance: registering trep feature
load otf | enhance: flatten
load otf | flattening 'specifications' tables
load otf | flattening 'anchor' tables
load otf | flattening 'gpos' tables
load otf | flattening 'gsub' tables
load otf | enhance: analyze
load otf | enhance: after
load otf | replacing 'kerns' tables by 'mykerns' tables
load otf | enhance: strip
load otf | enhance: pack
load otf | pack quality: pass 1, 720 packed, 1-10:559, 11-20:137,
rest:24 (criterium: 1)
load otf | pack quality: pass 2, 161 packed, 1-10:159, 11-20:1, rest:1
(criterium: 1)
load otf | file size: 108044
load otf | saving: in cache
load otf | loading:
/opt/texlive2007/texmf-dist/fonts/opentype/public/lm/lm/lmroman7-bold.otf
load otf | enhance: patch
load otf | enhance: before
load otf | enhance: enrich
load otf | enhance: registering tlig feature
load otf | enhance: registering trep feature
load otf | enhance: flatten
load otf | flattening 'specifications' tables
load otf | flattening 'anchor' tables
load otf | flattening 'gpos' tables
load otf | flattening 'gsub' tables
load otf | enhance: analyze
load otf | enhance: after
load otf | replacing 'kerns' tables by 'mykerns' tables
load otf | enhance: strip
load otf | enhance: pack
load otf | pack quality: pass 1, 746 packed, 1-10:579, 11-20:141,
rest:26 (criterium: 1)
load otf | pack quality: pass 2, 167 packed, 1-10:165, 11-20:1, rest:1
(criterium: 1)
load otf | file size: 107080
load otf | saving: in cache
load otf | loading:
/opt/texlive2007/texmf-dist/fonts/opentype/public/lm/lm/lmroman9-bold.otf
load otf | enhance: patch
load otf | enhance: before
load otf | enhance: enrich
load otf | enhance: registering tlig feature
load otf | enhance: registering trep feature
load otf | enhance: flatten
load otf | flattening 'specifications' tables
load otf | flattening 'anchor' tables
load otf | flattening 'gpos' tables
load otf | flattening 'gsub' tables
load otf | enhance: analyze
load otf | enhance: after
load otf | replacing 'kerns' tables by 'mykerns' tables
load otf | enhance: strip
load otf | enhance: pack
load otf | pack quality: pass 1, 743 packed, 1-10:577, 11-20:135,
rest:31 (criterium: 1)
load otf | pack quality: pass 2, 166 packed, 1-10:164, 11-20:1, rest:1
(criterium: 1)
load otf | file size: 108712
load otf | saving: in cache
load otf | loading:
/opt/texlive2007/texmf-dist/fonts/opentype/public/lm/lm/lmroman12-bold.otf
load otf | enhance: patch
load otf | enhance: before
load otf | enhance: enrich
load otf | enhance: registering tlig feature
load otf | enhance: registering trep feature
load otf | enhance: flatten
load otf | flattening 'specifications' tables
load otf | flattening 'anchor' tables
load otf | flattening 'gpos' tables
load otf | flattening 'gsub' tables
load otf | enhance: analyze
load otf | enhance: after
load otf | replacing 'kerns' tables by 'mykerns' tables
load otf | enhance: strip
load otf | enhance: pack
load otf | pack quality: pass 1, 742 packed, 1-10:575, 11-20:136,
rest:31 (criterium: 1)
load otf | pack quality: pass 2, 167 packed, 1-10:165, 11-20:1, rest:1
(criterium: 1)
load otf | file size: 107020
load otf | saving: in cache
load otf | loading:
/opt/texlive2007/texmf-dist/fonts/opentype/public/lm/lm/lmroman10-italic.otf
load otf | enhance: patch
load otf | enhance: before
load otf | enhance: enrich
load otf | enhance: registering tlig feature
load otf | enhance: registering trep feature
load otf | enhance: flatten
load otf | flattening 'specifications' tables
load otf | flattening 'anchor' tables
load otf | flattening 'gpos' tables
load otf | flattening 'gsub' tables
load otf | enhance: analyze
load otf | enhance: after
load otf | replacing 'kerns' tables by 'mykerns' tables
load otf | enhance: strip
load otf | enhance: pack
load otf | pack quality: pass 1, 802 packed, 1-10:678, 11-20:102,
rest:22 (criterium: 1)
load otf | pack quality: pass 2, 124 packed, 1-10:122, 11-20:1, rest:1
(criterium: 1)
load otf | file size: 115244
load otf | saving: in cache
load otf | loading:
/opt/texlive2007/texmf-dist/fonts/opentype/public/lm/lm/lmroman9-italic.otf
load otf | enhance: patch
load otf | enhance: before
load otf | enhance: enrich
load otf | enhance: registering tlig feature
load otf | enhance: registering trep feature
load otf | enhance: flatten
load otf | flattening 'specifications' tables
load otf | flattening 'anchor' tables
load otf | flattening 'gpos' tables
load otf | flattening 'gsub' tables
load otf | enhance: analyze
load otf | enhance: after
load otf | replacing 'kerns' tables by 'mykerns' tables
load otf | enhance: strip
load otf | enhance: pack
load otf | pack quality: pass 1, 806 packed, 1-10:686, 11-20:97,
rest:23 (criterium: 1)
load otf | pack quality: pass 2, 120 packed, 1-10:118, 11-20:1, rest:1
(criterium: 1)
load otf | file size: 114180
load otf | saving: in cache
load otf | loading:
/opt/texlive2007/texmf-dist/fonts/opentype/public/lm/lm/lmroman12-italic.otf
load otf | enhance: patch
load otf | enhance: before
load otf | enhance: enrich
load otf | enhance: registering tlig feature
load otf | enhance: registering trep feature
load otf | enhance: flatten
load otf | flattening 'specifications' tables
load otf | flattening 'anchor' tables
load otf | flattening 'gpos' tables
load otf | flattening 'gsub' tables
load otf | enhance: analyze
load otf | enhance: after
load otf | replacing 'kerns' tables by 'mykerns' tables
load otf | enhance: strip
load otf | enhance: pack
load otf | pack quality: pass 1, 800 packed, 1-10:678, 11-20:98,
rest:24 (criterium: 1)
load otf | pack quality: pass 2, 122 packed, 1-10:120, 11-20:1, rest:1
(criterium: 1)
load otf | file size: 113640
load otf | saving: in cache
load otf | loading:
/opt/texlive2007/texmf-dist/fonts/opentype/public/lm/lm/lmroman10-bolditalic.otf
load otf | enhance: patch
load otf | enhance: before
load otf | enhance: enrich
load otf | enhance: registering tlig feature
load otf | enhance: registering trep feature
load otf | enhance: flatten
load otf | flattening 'specifications' tables
load otf | flattening 'anchor' tables
load otf | flattening 'gpos' tables
load otf | flattening 'gsub' tables
load otf | enhance: analyze
load otf | enhance: after
load otf | replacing 'kerns' tables by 'mykerns' tables
load otf | enhance: strip
load otf | enhance: pack
load otf | pack quality: pass 1, 793 packed, 1-10:663, 11-20:105,
rest:25 (criterium: 1)
load otf | pack quality: pass 2, 130 packed, 1-10:128, 11-20:1, rest:1
(criterium: 1)
load otf | file size: 114140
load otf | saving: in cache
specials : pdftex loaded
language : language en is active
system : texweb.top loaded
(texweb.top) (texweb.tuo) (texweb.tuoLuaTools | variable SELFAUTOLOC
set to /opt/luatex/inst/beta-0.30.2
LuaTools | variable SELFAUTODIR set to /opt/luatex/inst/beta-0.30.
LuaTools | variable SELFAUTOPARENT set to /opt/context/current/bin/
LuaTools | variable TEXMFCNF set to /opt/texlive2007/texmf/web2c
LuaTools | loading /opt/texlive2007/texmf/web2c/texmf.cnf
LuaTools | preparing configuration for /opt/texlive2007/texmf/web2c
LuaTools | configuration saved in
/var/tmp/tex/luatex-cache/context/aa64c2bfae05c5f9adeafd9a312c87be/trees/5038830aa1d853d04f3470a9349b2a01.lua
LuaTools | configuration compiled to
/var/tmp/tex/luatex-cache/context/aa64c2bfae05c5f9adeafd9a312c87be/trees/5038830aa1d853d04f3470a9349b2a01.luc
LuaTools | locating list of /opt/context/current/texmf
LuaTools | locating list of /opt/local/texmf-fonts
LuaTools | locating list of /opt/texlive2007/texmf-dist
LuaTools | locating list of /opt/texlive2007/texmf
LuaTools | scanning path /opt/context/current/texmf
LuaTools | 1402 files found on 127 directories with 0 uppercase remappings
LuaTools | scanning path /opt/local/texmf-fonts
LuaTools | 889 files found on 25 directories with 13 uppercase remappings
LuaTools | scanning path /opt/texlive2007/texmf-dist
LuaTools | 17328 files found on 1153 directories with 488 uppercase remappings
LuaTools | scanning path /opt/texlive2007/texmf
LuaTools | 731 files found on 72 directories with 15 uppercase remappings
LuaTools | preparing files for /opt/local/texmf-fonts
LuaTools | files saved in
/var/tmp/tex/luatex-cache/context/aa64c2bfae05c5f9adeafd9a312c87be/trees/61bccee47bd91ddcf62249702d909079.lua
LuaTools | files compiled to
/var/tmp/tex/luatex-cache/context/aa64c2bfae05c5f9adeafd9a312c87be/trees/61bccee47bd91ddcf62249702d909079.luc
LuaTools | preparing files for /opt/texlive2007/texmf
LuaTools | files saved in
/var/tmp/tex/luatex-cache/context/aa64c2bfae05c5f9adeafd9a312c87be/trees/10ff4e27727ccf4e2dfe663bebdc78c9.lua
LuaTools | files compiled to
/var/tmp/tex/luatex-cache/context/aa64c2bfae05c5f9adeafd9a312c87be/trees/10ff4e27727ccf4e2dfe663bebdc78c9.luc
LuaTools | preparing files for /opt/texlive2007/texmf-dist
LuaTools | files saved in
/var/tmp/tex/luatex-cache/context/aa64c2bfae05c5f9adeafd9a312c87be/trees/447ae073eca47e738dff4d2725e8417a.lua
LuaTools | files compiled to
/var/tmp/tex/luatex-cache/context/aa64c2bfae05c5f9adeafd9a312c87be/trees/447ae073eca47e738dff4d2725e8417a.luc
LuaTools | preparing files for /opt/context/current/texmf
LuaTools | files saved in
/var/tmp/tex/luatex-cache/context/aa64c2bfae05c5f9adeafd9a312c87be/trees/cbda73d11cfcb4f89701ffa4858d9c73.lua
LuaTools | files compiled to
/var/tmp/tex/luatex-cache/context/aa64c2bfae05c5f9adeafd9a312c87be/trees/cbda73d11cfcb4f89701ffa4858d9c73.luc
LuaTools |
LuaTools | runtime: 1.839 seconds
LuaTools | running command: luatex
--fmt="/var/tmp/tex/luatex-cache/context/aa64c2bfae05c5f9adeafd9a312c87be/formats/cont-en"
--lua="/var/tmp/tex/luatex-cache/context/aa64c2bfae05c5f9adeafd9a312c87be/formats/cont-en.luc"
"texweb.tex" ""
LuaTools |
LuaTools | runtime: 5.720 seconds
TeXUtil | parsing file texweb.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 0
TeXUtil | temporary files: 0
TeXUtil | commands: 0
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | runtime: 14.780055
So next time the Live is down, I can manually fix that :-)
Yue Wang
On Mon, Nov 10, 2008 at 1:08 PM, Yue Wang
Hi:
On Mon, Nov 10, 2008 at 1:15 AM, Pablo RodrÃguez
wrote: Thanks, Yue, for your reply.
Yue Wang wrote:
Hi:
pls try texexec --make --all luatools --generate context --make
Are you sure that users can access to http://live.contextgarden.net/? I think this would be a big security hole.
sorry, I misunderstand:( (I thought Live==TeXLive)
However, such hole could exsist:
\starttext \directlua0{os.exec("uname -a")} Hello world! \stoptext
part of the log:
specials : pdftex loaded language : language en is active system : texweb.top loaded (texweb.topLinux paris 2.6.18 #1 SMP Sun Feb 10 17:55:04 UTC 2008 x86_64 GNU/Linux LuaTools | running command: luatex --fmt="/var/tmp/tex/luatex-cache/context/aa64c2bfae05c5f9adeafd9a312c87be/formats/cont-en" --lua="/var/tmp/tex/luatex-cache/context/aa64c2bfae05c5f9adeafd9a312c87be/formats/cont-en.luc" "texweb.tex" "" LuaTools | LuaTools | runtime: 5.192 seconds
Pablo
Yue Wang On Sun, Nov 9, 2008 at 7:35 PM, Pablo RodrÃguez
wrote: Trying to typeset the default ConTeXt Live
\starttext Hello world! \stoptext
I get the following message:
TeXExec | processing document 'texweb.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file texweb.top TeXExec | using randomseed 884 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) %&-line parsing enabled. (/opt/context/current/texmf/web2c/natural.tcx) I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.776454
It seems that it doesn't work. It happens also with XeTeX and LuaTeX.
Pablo
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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Yue Wang