ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* fatal error with latest beta
@ 2019-05-15 21:48 Alan Bowen
  2019-05-16  8:31 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Bowen @ 2019-05-15 21:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1254 bytes --]

The following:
\setupdirections[bidi=global]
\definefallbackfamily[mainface][serif][SBL
Hebrew][range={0591-05F4,FB1D-FB4F}]
\definefontfamily[mainface][serif][TeX Gyre Termes]
\setupbodyfont[mainface, 10pt]
\starttext
xxxx yyyy zzzz \setupalign[rtl]{
ﬡﬡﬡﬡﬡﬡﬢﬢﬢﬢﬢ
}
\setupalign[ltr]aaaa bbbb
\stoptext
 sets as it should with ConTeXt  ver: 2018.09.13,  LuaTeX, Version 1.09.0
(and several betas later).

But with ConTeXt  ver: 2019.05.12, LuaTeX, Version 1.10.1
it complains with:
lua error       > lua error on line 8 in file ...test-03.tex:

...eXt/tex/texmf-context/tex/context/base/mkiv/font-oup.lua:1317: bad
argument #1 to 'concat' (table expected, got number)

 1     \setupdirections[bidi=global]
 2
 3     \definefallbackfamily[mainface][serif][SBL
Hebrew][range={0591-05F4,FB1D-FB4F}]
 4
 5     \definefontfamily[mainface][serif][TeX Gyre Termes]
 6
 7     \setupbodyfont[mainface, 10pt]
 8 >>
 9     \starttext
10     xxxx yyyy zzzz \setupalign[rtl]{
11     ﬡﬡﬡﬡﬡﬡﬢﬢﬢﬢﬢ
12     }
13     \setupalign[ltr]aaaa bbbb
14
15     \stoptext
16

mtx-context     | fatal error: return code: 256

Has something changed in how such l2r fonts should be invoked?

Alan

[-- Attachment #1.2: Type: text/html, Size: 4502 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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] 2+ messages in thread

* Re: fatal error with latest beta
  2019-05-15 21:48 fatal error with latest beta Alan Bowen
@ 2019-05-16  8:31 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2019-05-16  8:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Alan Bowen

On 5/15/2019 11:48 PM, Alan Bowen wrote:
> The following:
> \setupdirections[bidi=global]
> \definefallbackfamily[mainface][serif][SBL 
> Hebrew][range={0591-05F4,FB1D-FB4F}]
> \definefontfamily[mainface][serif][TeX Gyre Termes]
> \setupbodyfont[mainface, 10pt]
> \starttext
> xxxx yyyy zzzz \setupalign[rtl]{
> ﬡﬡﬡﬡﬡﬡﬢﬢﬢﬢﬢ
> }
> \setupalign[ltr]aaaa bbbb
> \stoptext
>   sets as it should with ConTeXt  ver: 2018.09.13,  LuaTeX, Version 
> 1.09.0 (and several betas later).
> 
> But with ConTeXt  ver: 2019.05.12, LuaTeX, Version 1.10.1
> it complains with:
> lua error       > lua error on line 8 in file ...test-03.tex:
> 
> ...eXt/tex/texmf-context/tex/context/base/mkiv/font-oup.lua:1317: bad 
> argument #1 to 'concat' (table expected, got number)
> 
>   1     \setupdirections[bidi=global]
>   2
>   3     \definefallbackfamily[mainface][serif][SBL 
> Hebrew][range={0591-05F4,FB1D-FB4F}]
>   4
>   5     \definefontfamily[mainface][serif][TeX Gyre Termes]
>   6
>   7     \setupbodyfont[mainface, 10pt]
>   8 >>
>   9     \starttext
> 10     xxxx yyyy zzzz \setupalign[rtl]{
> 11     ﬡﬡﬡﬡﬡﬡﬢﬢﬢﬢﬢ
> 12     }
> 13     \setupalign[ltr]aaaa bbbb
> 14
> 15     \stoptext
> 16
> 
> mtx-context     | fatal error: return code: 256
> 
> Has something changed in how such l2r fonts should be invoked?
No, more a side effect of some optimization (needed for certain kind of 
somewhat weird fonts).

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2019-05-16  8:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-15 21:48 fatal error with latest beta Alan Bowen
2019-05-16  8:31 ` Hans Hagen

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