On 5 Dec 2017, at 16:41, Jan U. Hasecke <juh+ntg-context@mailbox.org> wrote:
contextgarden is full of letter examples. But even the first simple
example here http://wiki.contextgarden.net/Letter#Example does not
compile.
same here:
mtx-context | run 1: luatex --fmt="/Applications/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en" --jobname="test" --lua="/Applications/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="/Users/vm/Desktop/tex/test.tex" --c:input="/Users/vm/Desktop/tex/test.tex" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
This is LuaTeX, Version 1.05.0 (TeX Live 2017)
system commands enabled.
open source > level 1, order 1, name '/Applications/ConTeXt/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
system >
system > ConTeXt ver: 2017.11.01 15:58 MKIV beta fmt: 2017.11.8 int: english/english
system >
system > 'cont-new.mkiv' loaded
open source > level 2, order 2, name '/Applications/ConTeXt/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
close source > level 2, order 2, name '/Applications/ConTeXt/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system > files > jobname 'test', input '/Users/vm/Desktop/tex/test', result 'test'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > level 2, order 3, name '/Users/vm/Desktop/tex/test.tex'
modules > 'letter' is loaded
open source > level 3, order 4, name '/Applications/ConTeXt/tex/texmf-modules/tex/context/third/letter/base/s-cor-01.mkvi'
modules > 'cor-00' is loaded
open source > level 4, order 5, name '/Applications/ConTeXt/tex/texmf-modules/tex/context/third/letter/base/s-cor-00.mkvi'
lua error > lua error on line 30 in file /Applications/ConTeXt/tex/texmf-modules/tex/context/third/letter/base/s-cor-00.mkvi:
...eXt/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua:47: bad argument #1 to 'gmatch' (string expected, got nil)
stack traceback:
[C]: in function 'gmatch'
...eXt/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua:47: in function 'registercode'
[ctxlua]:1: in main chunk
20 %C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 %C GNU General Public License for more details.
22 %C
23 %C You should have received a copy of the GNU General Public License
24 %C along with this program. If not, see <http://www.gnu.org/licenses/>.
25
26 \unprotect
27
28 % Lua functions for the core and also for the frontend modules
29
30 >> \ctxloadluafile{s-cor-00}
31
32 % Constants and variables
33
34 \startinterface all
35 \setinterfaceconstant {whitespace} {whitespace}
36 \setinterfaceconstant {backgroundimage} {backgroundimage}
37 \setinterfaceconstant {fromname} {fromname}
38 \setinterfaceconstant {fromaddress} {fromaddress}
39 \setinterfaceconstant {attention} {attention}
40 \setinterfaceconstant {subject} {subject}
?
lua error > lua error on line 30 in file /Applications/ConTeXt/tex/texmf-modules/tex/context/third/letter/base/s-cor-00.mkvi:
...eXt/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua:47: bad argument #1 to 'gmatch' (string expected, got nil)
stack traceback:
[C]: in function 'gmatch'
...eXt/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua:47: in function 'registercode'
[ctxlua]:1: in main chunk
20 %C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 %C GNU General Public License for more details.
22 %C
23 %C You should have received a copy of the GNU General Public License
24 %C along with this program. If not, see <http://www.gnu.org/licenses/>.
25
26 \unprotect
27
28 % Lua functions for the core and also for the frontend modules
29
30 >> \ctxloadluafile{s-cor-00}
31
32 % Constants and variables
33
34 \startinterface all
35 \setinterfaceconstant {whitespace} {whitespace}
36 \setinterfaceconstant {backgroundimage} {backgroundimage}
37 \setinterfaceconstant {fromname} {fromname}
38 \setinterfaceconstant {fromaddress} {fromaddress}
39 \setinterfaceconstant {attention} {attention}
40 \setinterfaceconstant {subject} {subject}
mtx-context | fatal error: return code: 1