ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* German letter style
@ 2017-12-05 15:41 Jan U. Hasecke
  2017-12-05 16:28 ` Floris van Manen
  0 siblings, 1 reply; 3+ messages in thread
From: Jan U. Hasecke @ 2017-12-05 15:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: German letter style
  2017-12-05 15:41 German letter style Jan U. Hasecke
@ 2017-12-05 16:28 ` Floris van Manen
  2017-12-05 19:36   ` Henning Hraban Ramm
  0 siblings, 1 reply; 3+ messages in thread
From: Floris van Manen @ 2017-12-05 16:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1.1: Type: text/plain, Size: 4627 bytes --]


> 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


[-- Attachment #1.1.2: Type: text/html, Size: 7759 bytes --]

[-- Attachment #1.2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: German letter style
  2017-12-05 16:28 ` Floris van Manen
@ 2017-12-05 19:36   ` Henning Hraban Ramm
  0 siblings, 0 replies; 3+ messages in thread
From: Henning Hraban Ramm @ 2017-12-05 19:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 2017-12-05 um 17:28 schrieb Floris van Manen <vm@klankschap.nl>:
> 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}


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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-12-05 19:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-05 15:41 German letter style Jan U. Hasecke
2017-12-05 16:28 ` Floris van Manen
2017-12-05 19:36   ` Henning Hraban Ramm

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).