Re: [NTG-context] German letter style

2017-12-05 Thread Henning Hraban Ramm
Am 2017-12-05 um 17:28 schrieb Floris van Manen :
> 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 
> .
> 25 
> 26 \unprotect
> 27 
> 28 % Lua functions for the core and also for the frontend modules
> 29 
> 30 >>  \ctxloadluafile{s-cor-00}


This is a bug (that I urge to fix for a while) and has nothing to do with 
letters, it’s just also triggered by the letter module.

Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] German letter style

2017-12-05 Thread Floris van Manen

> On 5 Dec 2017, at 16:41, Jan U. Hasecke  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 .
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 .
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



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
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://context.aanhet.net
archive  : 

[NTG-context] German letter style

2017-12-05 Thread Jan U. Hasecke
Hi all,

contextgarden is full of letter examples. But even the first simple
example here http://wiki.contextgarden.net/Letter#Example does not
compile.

mtx-context | current version: 2017.12.04 16:37

So I want to ask: What is the current approach for writing German style
din letters?

Ciao!
juh
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___