ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ulrike Fischer <news3@nililand.de>
To: ntg-context@ntg.nl
Subject: Re: fontloader error in latex: attempt to call upvalue 'getdirection' (a nil value)
Date: Fri, 11 Jan 2019 20:23:42 +0100	[thread overview]
Message-ID: <14lcp4hj9wuu0$.dlg@nililand.de> (raw)
In-Reply-To: <c25061a3-cae8-0db7-6dd1-4b0729a1c2f3@gmx.es>

Am Thu, 10 Jan 2019 17:13:26 +0100 schrieb Pablo Rodriguez:

> On 1/7/19 12:40 AM, Ulrike Fischer wrote:
>> I just tried to import the fontloader from 2019-01-03 into latex,
>> and get on a simple document the error
>> 
>>  (./test-utf8.aux)error:
>> ...ad/texmf/tex/luatex/luaotfload/fontloader-2019-01-03.lua:23868:
>> attempt to call upvalue 'getdirection' (a nil value)
>> [...]
>> I have no idea (yet) if this is latex specific or if it could affect
>> context too but thought I better mention it. The line refers to this
>> part of the code:
>> 
>>   pardirstate=function(start)
>>     local nxt=getnext(start)
>>     local dir=getdirection(start) --<--
>>     if dir==lefttoright then
>>       return nxt,1,1
> 
> Many thanks for your report, Ulrike.
> 
> This was the same problem that prevented the compilation of the
> following code:
> 
>     \setupdirections[bidi=on, method=two]
>     \starttext
>     \input zapf
>     \stoptext
> 
> After your report, Hans fixed the issue 

Well not for generic. I tried yesterday the context state from
2019-01-07 and still have the problem that getdirection is called
somewhere but actually nil. But I don't have the time to investigate
or to try to create a generic example currently. 


-- 
Ulrike Fischer 
https://www.troubleshooting-tex.de/

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

  parent reply	other threads:[~2019-01-11 19:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-06 23:40 Ulrike Fischer
2019-01-10 16:13 ` Pablo Rodriguez
2019-01-10 17:11   ` Hans Hagen
2019-01-11 19:23   ` Ulrike Fischer [this message]
2019-01-11 21:51     ` Hans Hagen
2019-01-11 23:14       ` Ulrike Fischer

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='14lcp4hj9wuu0$.dlg@nililand.de' \
    --to=news3@nililand.de \
    --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).