From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/104459 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: Re: error in LMTX? Date: Tue, 11 Jun 2019 09:11:35 +0200 Message-ID: <404F461E-3AB2-4CCC-BD9D-080589ED01B8@ziggo.nl> References: <937906A4-5405-4EC7-AA8E-2EED3D9F5BDC@ziggo.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: multipart/mixed; boundary="===============6372361085269469267==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="76951"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Hans Hagen To: NTG ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 11 09:12:03 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1haawt-000JtW-1c for gctc-ntg-context-518@m.gmane.org; Tue, 11 Jun 2019 09:12:03 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CEB2D26490C; Tue, 11 Jun 2019 09:11:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EMT6dQhLMInk; Tue, 11 Jun 2019 09:11:39 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D1E50264901; Tue, 11 Jun 2019 09:11:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EB3712648FF for ; Tue, 11 Jun 2019 09:11:37 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZT7aL3ftg1t5 for ; Tue, 11 Jun 2019 09:11:36 +0200 (CEST) Original-Received: from smtpq3.mnd.mail.iss.as9143.net (smtpq3.mnd.mail.iss.as9143.net [212.54.34.166]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id A3C33264077 for ; Tue, 11 Jun 2019 09:11:36 +0200 (CEST) Original-Received: from [212.54.34.115] (helo=smtp7.mnd.mail.iss.as9143.net) by smtpq3.mnd.mail.iss.as9143.net with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1haawS-0008Ql-9j; Tue, 11 Jun 2019 09:11:36 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=simple/simple; d=ziggo.nl; s=201809corplgsmtpnl; h=To:Message-Id:Date:From:Subject:Mime-Version; bh=+/iFs96meUNWsT8Uzy0O88FZZbp0AgNppEu2Ip++OJg=; b=YTPc9RnHY+D7lDt0NDd/f1Oja8 jTinJbvTivpqO4nyEKMUORSSInHrGP/BNa+STmJVG35U7Qu3sw6a4q+nhrpEeLt+pmmOCwS0GVwiY S2vslvhGbor/Ay1r7X2MVMLrIY+UoX/iKLf0l3dsEx4veHYYGM/t9AAltkbXU3MtF6tjj77PZVF5b gS4/LhEnW0afx/5Jtdx4FCWl4ft9Amc/f/Lt+/psFHtoh+kwq0mkGHzwAvaR6WJXuRX4MhZcHMGXR Zhab7JZ0HciKewa4kVK8gddBNZgawDeuLBHWeZTO8pv8ghCjPdUbLwLAIhyYvd2Zj9colSwdAuRTo MArPdvdQ==; Original-Received: from 84-106-134-200.cable.dynamic.v4.ziggo.nl ([84.106.134.200] helo=[192.168.178.22]) by smtp7.mnd.mail.iss.as9143.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1haawS-0002Ug-0z; Tue, 11 Jun 2019 09:11:36 +0200 In-Reply-To: X-Mailer: Apple Mail (2.3445.104.11) X-SourceIP: 84.106.134.200 X-Authenticated-Sender: havdmeer@ziggo.nl (via SMTP) X-Ziggo-spambar: / X-Ziggo-spamscore: 0.0 X-Ziggo-spamreport: CMAE Analysis: v=2.3 cv=AbTP4EfG c=1 sm=1 tr=0 a=wCstmS+ZHA3zSJXjQC+ubA==:17 a=9+rZDBEiDlHhcck0kWbJtElFXBc=:19 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=dq6fvYVFJ5YA:10 a=MiNTnEJAAAAA:8 a=YEMqx4UAAAAA:8 a=ACQCx6kCAAAA:8 a=xtERp6CFAAAA:8 a=a3nu-2BBAAAA:8 a=xACYkkTCaL575_ScDCkA:9 a=CjuIK1q_8ugA:10 a=S3ltLK2RBPR5o7Vo9R0A:9 a=fuE2A0CJXJnc__cl:21 a=_W_S_7VecoQA:10 a=LmrbSfiT3hecnSZifb5M:22 a=V0662LiR8DSfwiDagK97:22 a=Sab0UneHBzlWrQDlOuxD:22 a=ekCXXmE-vB8RPiJ3MEZb:22 X-Ziggo-Spam-Status: No X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:104459 Archived-At: --===============6372361085269469267== Content-Type: multipart/alternative; boundary="Apple-Mail=_FC678867-EC2F-4D90-AB95-8D7EA6ECC714" --Apple-Mail=_FC678867-EC2F-4D90-AB95-8D7EA6ECC714 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Found the origin of the curious error message containing my name. Comes from the inclusion of a file named type-loc.mkiv residing in a = directory ~/TeX/texmf/tex/context/user/ and containing: \endinput Op NTG ConTeXt nieuwsgroep, antwoord van Hans Hagen. On 1/3/2014 2:33 PM, H. van der Meer wrote: (etc.) How this got included? I have no idea. But removing it did not make a difference, even after calling mtxrun = --generate. > On 10 Jun 2019, at 22:21, Hans van der Meer wrote: >=20 >>=20 >> On 10 Jun 2019, at 12:04, Hans van der Meer > wrote: >>=20 >> This looks to me as an error in the LMTX distribution: >>=20 >> tex error > tex error on line 6 in file = /Users/hansm/TeX/context-lmtx/tex/texmf-context/tex/context/fonts/mkiv/typ= e-imp-dejavu.mkiv: ! Missing } inserted >>=20 >> =20 >> } >> =20 >> \aligntab=20 >> l.6 fontclass\aligntab >> \fontclass\cr >>=20 >> Because running under my old ConTeXtBeta does not aborts with the = error. >> system > ConTeXt ver: 2019.06.01 19:11 MKIV beta fmt: = 2019.6.4 int: english/english >>=20 >> I looked into that file but could not see what causes the error. >=20 > I did some more research and as a result now wonder what is happening. >=20 > The error occurred in this piece of code of mine: >=20 > \tabskip=3D1em\halign{% > \alignmark\hfil\aligntab\alignmark\hfil\cr > fontclass\aligntab\fontclass\cr > Regular\aligntab\truefontname{Regular}\cr > } >=20 > \aligntab and \alignmark were advertised as LuaTeX equivalents for & = and # respectively. >=20 > Then I took the following example from Victor Eijkhout's book "TeX by = Topic", page 197, last example. > That surely should work, was the idea. >=20 > \starttext > \halign{a#&b#&c#\cr 1&2\cr 1\cr} > \stoptext >=20 > However this fails! How can such a basic example in pure TeX fail? I = wonder and am curious what is happening here. >=20 > This is LuaMetaTeX, Version 2.00.0=20 > tex error > tex error on line 3 in file = /Users/hansm/TeX/texmf/tex/context/user/type-loc.mkiv: ! Only one # is = allowed per tab >=20 > l.3 \halign{a#&b# > &c#\cr 1&2\cr 1\cr} >=20 > 1 \endinput > 2 =20 > 3 >> Op NTG ConTeXt nieuwsgroep, antwoord van Hans Hagen. > 4 =20 > 5 On 1/3/2014 2:33 PM, H. van der Meer wrote: > 6 Has someone an idee what causes the unknown library message as = in the > 7 log below? Is it harmful? > 8 =20 > 9 fonts > typescripts > unknown library 'loc' > 10 =20 > 11 you can add a file type-loc.mkiv someplace in your local tree = with > 12 =20 > 13 % dummy file >=20 > There should be exactly one # between &'s, when an > \halign or \valign is being set up. In this case you had > more than one, so I'm ignoring all but the first. >=20 > mtx-context | fatal error: return code: 256 >=20 > and using \alignmark and \aligntab this results in: >=20 > \starttext > \halign{a\alignmark\aligntab b\alignmark\aligntab c\alignmark\cr = 1\aligntab 2\cr 1\cr} > \stoptext >=20 > And I am most curious how my name could turn up in the error message = produced! >=20 > tex error > tex error on line 3 in file = /Users/hansm/TeX/texmf/tex/context/user/type-loc.mkiv: ! Missing } = inserted >=20 > =20 > } > =20 > \aligntab=20 > l.3 ...\alignmark\aligntab c\alignmark\cr 1\aligntab > 2\cr 1\cr} >=20 > 1 \endinput > 2 =20 > 3 >> Op NTG ConTeXt nieuwsgroep, antwoord van Hans Hagen. > 4 =20 > 5 On 1/3/2014 2:33 PM, H. van der Meer wrote: > 6 Has someone an idee what causes the unknown library message as = in the > 7 log below? Is it harmful? > 8 =20 > 9 fonts > typescripts > unknown library 'loc' > 10 =20 > 11 you can add a file type-loc.mkiv someplace in your local tree = with > 12 =20 > 13 % dummy file >=20 > I've put in what seems to be necessary to fix > the current column of the current alignment. > Try to go on, since this might almost work. >=20 > mtx-context | fatal error: return code: 256 >=20 >=20 >=20 >>=20 >> dr. Hans van der Meer >>=20 >>=20 >> = __________________________________________________________________________= _________ >> If your question is of interest to others as well, please add an = entry to the Wiki! >>=20 >> 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 >> = __________________________________________________________________________= _________ >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_FC678867-EC2F-4D90-AB95-8D7EA6ECC714 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Found= the origin of the curious error message containing my name.
Comes from the inclusion of a file named type-loc.mkiv = residing in a directory ~/TeX/texmf/tex/context/user/ and = containing:

\endinput

Op NTG ConTeXt nieuwsgroep, antwoord van Hans = Hagen.

On 1/3/2014 2:33 PM, H. van der Meer wrote: = (etc.)

How this got included? I have no idea.
But= removing it did not make a difference, even after calling mtxrun --generate.


On 10 Jun 2019, at 22:21, Hans van der Meer <havdmeer@ziggo.nl> = wrote:


On 10 Jun 2019, at 12:04, Hans van = der Meer <havdmeer@ziggo.nl> wrote:

This looks to me as an error in the LMTX = distribution:

tex error       > tex error on = line 6 in file = /Users/hansm/TeX/context-lmtx/tex/texmf-context/tex/context/fonts/mkiv/typ= e-imp-dejavu.mkiv: ! Missing } inserted

<inserted text> 
}
<to be = read again> 
\aligntab 
l.6 = fontclass\aligntab
  =                   = \fontclass\cr

Because running under my old ConTeXtBeta does not aborts with = the error.
system          > ConTeXt  = ver: 2019.06.01 19:11 MKIV beta  fmt: 2019.6.4  int: = english/english

I looked into = that file but could not see what causes the = error.
I did some more research and as a result now wonder = what is happening.

The = error occurred in this piece of code of mine:

\tabskip=3D1em\halign{%
\alignmark\hfil\aligntab\alignmark\hfil\cr
fontclass\aligntab\fontclass\cr
Regular\aligntab\truefontname{Regular}\cr
}

\aligntab and \alignmark were advertised as LuaTeX = equivalents for & and # respectively.

Then I took the = following example from Victor Eijkhout's book "TeX by Topic", page 197, = last example.
That surely should work, was the = idea.

\starttext
\halign{a#&b#&c#\cr = 1&2\cr 1\cr}
\stoptext

However this fails! How can such a basic example in pure TeX = fail? I wonder and am curious what is happening here.

This is LuaMetaTeX, Version = 2.00.0 
tex error       > tex error on = line 3 in file /Users/hansm/TeX/texmf/tex/context/user/type-loc.mkiv: ! = Only one # is allowed per tab

l.3 = \halign{a#&b#
               = &c#\cr 1&2\cr 1\cr}

 1     = \endinput
 2     
 3 >>  Op NTG ConTeXt nieuwsgroep, = antwoord van Hans Hagen.
 4     
 5     On 1/3/2014 2:33 PM, H. van = der Meer wrote:
 6     Has someone an idee what causes the = unknown library message as in the
 7     log below? Is it = harmful?
 8     
 9     fonts       =     > typescripts > unknown library 'loc'
10    =  
11   =   you can add a file type-loc.mkiv someplace in your local tree = with
12  =    
13 =     % dummy file

There should be exactly one # = between &'s, when an
\halign or \valign is being set up. In this case you = had
more than = one, so I'm ignoring all but the first.

mtx-context     | fatal error: return code: = 256

and using \alignmark and \aligntab this = results in:

\starttext
\halign{a\alignmark\aligntab b\alignmark\aligntab = c\alignmark\cr 1\aligntab 2\cr 1\cr}
\stoptext

And I am most curious how my = name could turn up in the error message produced!
tex = error       > tex error on line 3 in file = /Users/hansm/TeX/texmf/tex/context/user/type-loc.mkiv: ! Missing } = inserted

<inserted text> 
}
<to = be read again> 
\aligntab 
l.3 ...\alignmark\aligntab c\alignmark\cr 1\aligntab
                 =                     =               2\cr 1\cr}

 1     \endinput
 2     
 3 >>  = Op NTG ConTeXt nieuwsgroep, antwoord van Hans Hagen.
 4     
 5     = On 1/3/2014 2:33 PM, H. van der Meer wrote:
 6     Has someone an idee what causes the = unknown library message as in the
 7     = log below? Is it harmful?
 8    =  
 9     fonts       =     > typescripts > unknown library 'loc'
10     
11     you = can add a file type-loc.mkiv someplace in your local tree with
12     
13     % = dummy file

I've put in what seems to be necessary to fix
the current column of the current alignment.
Try = to go on, since this might almost work.

mtx-context   =   | fatal error: return code: 256




dr. Hans van = der Meer


___________________________________________________= ________________________________
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
_______________________________________________________________= ____________________

_______________________________________________________________= ____________________
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
_______________________________________________________________= ____________________
= --Apple-Mail=_FC678867-EC2F-4D90-AB95-8D7EA6ECC714-- --===============6372361085269469267== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============6372361085269469267==--