ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Floris van Manen <vm@klankschap.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: German letter style
Date: Tue, 5 Dec 2017 17:28:39 +0100	[thread overview]
Message-ID: <F6678A83-FBAD-48E2-95A5-AE616EFC984F@klankschap.nl> (raw)
In-Reply-To: <355b5e8f-07f3-24e1-4565-ba9742f726fa@mailbox.org>


[-- 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
___________________________________________________________________________________

  reply	other threads:[~2017-12-05 16:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-05 15:41 Jan U. Hasecke
2017-12-05 16:28 ` Floris van Manen [this message]
2017-12-05 19:36   ` Henning Hraban Ramm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F6678A83-FBAD-48E2-95A5-AE616EFC984F@klankschap.nl \
    --to=vm@klankschap.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).