Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-03-01 Thread Hans Hagen

On 3/1/2019 12:01 PM, Mojca Miklavec wrote:

On Fri, 1 Mar 2019 at 08:50, luigi scarso wrote:


$> context luatex
  mkiv lua stats  > used platform: linux-64, type: unix, binary subtree: 
texmf-linux-64
mkiv lua stats  > used engine: luatex version 1.1 with functionality level 
7088, banner: this is luatex, version 1.10.0 (tex live 2019)
mkiv lua stats  > control sequences: 53180 of 65536 + 10
mkiv lua stats  > lua properties: engine: lua 5.3, used memory: 441 MB (ctx: 
437 MB), hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 21.608 seconds, 294 processed pages, 294 shipped 
pages, 13.606 pages/second
system  | total runtime: 47.547 seconds


OK, strange. It works for me in TeX Live as well after I installed the
missing dejavu fonts. I didn't imagine that it would break with such a
strange error when a font is missing though.


( forget the time, it's a zero-optimized binary (fast to compile))


It takes even longer for me with the binary from the distribution.

On the mac, is that one run?

With luatex 1.10 (mingw 64 version), when i delete the tuc file so with 
multiple runs to get the cross ref and lists right, I get:


mkiv lua stats  > runtime: 13.676 seconds, 294 processed pages, 294 
shipped pages, 21.498 pages/second

system  | total runtime: 67.472 seconds

After that, single runs take around 13 seconds:

mkiv lua stats  > runtime: 13.227 seconds, 294 processed pages, 294 
shipped pages, 22.227 pages/second


so, so, on my laptop (which for sure is slower than yours) a 21 pps rate 
is normal


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
___


Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-03-01 Thread luigi scarso
On Fri, Mar 1, 2019 at 12:01 PM Mojca Miklavec <
mojca.miklavec.li...@gmail.com> wrote:

> On Fri, 1 Mar 2019 at 08:50, luigi scarso wrote:
>
> > ( forget the time, it's a zero-optimized binary (fast to compile))
>
> It takes even longer for me with the binary from the distribution.
>

I know, but  we use the minimals  as checkpoint;
on that platform 47.547 seconds for standard luatex means that something is
(profoundly) wrong.



-- 
luigi
___
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
___


Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-03-01 Thread Mojca Miklavec
On Fri, 1 Mar 2019 at 08:50, luigi scarso wrote:
>
> $> context luatex
>  mkiv lua stats  > used platform: linux-64, type: unix, binary subtree: 
> texmf-linux-64
> mkiv lua stats  > used engine: luatex version 1.1 with functionality level 
> 7088, banner: this is luatex, version 1.10.0 (tex live 2019)
> mkiv lua stats  > control sequences: 53180 of 65536 + 10
> mkiv lua stats  > lua properties: engine: lua 5.3, used memory: 441 MB (ctx: 
> 437 MB), hash chars: min(64,40), symbol mask: utf (τεχ)
> mkiv lua stats  > runtime: 21.608 seconds, 294 processed pages, 294 shipped 
> pages, 13.606 pages/second
> system  | total runtime: 47.547 seconds

OK, strange. It works for me in TeX Live as well after I installed the
missing dejavu fonts. I didn't imagine that it would break with such a
strange error when a font is missing though.

> ( forget the time, it's a zero-optimized binary (fast to compile))

It takes even longer for me with the binary from the distribution.

> In general: at every new release I have complains about "how deadly slow is 
> texlive  installation".
> On the other side , some  could wonder why *DejaVu* are not installed by 
> default regardless of  engine/scheme.

You could wonder that for all the zillions of fonts that ship with TeX Live.
Only CM is compulsory, the rest is up to user's taste.

Mojca
___
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
___


Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-02-28 Thread luigi scarso
On Fri, Mar 1, 2019 at 8:16 AM Mojca Miklavec <
mojca.miklavec.li...@gmail.com> wrote:

> On Fri, 1 Mar 2019 at 07:39, Mojca Miklavec wrote:
> > On Fri, 1 Mar 2019 at 00:14, Henri Menke wrote:
> > >
> > > Dear list,
> > >
> > > I just installed TeX Live 2019 pretest and running context --make
> fails with
> > ,
> > The latest ConTeXt has just been included yesterday and should be
> > available since today (some time after the usual nightly update cca. 5
> > hours ago + delays to finish the build and sync the mirrors).
> >
> > So please retry.
>
> Here's my attempt of compiling
> doc/context/sources/general/manuals/luatex/luatex.tex
>
> fonts   > defining > font with asked name 'dejavusansmono' is
> not found using lookup 'name'
> fonts   > defining > unknown font 'dejavusansmono', loading aborted
> fonts   > defining > unable to define 'dejavusansmono' as
> 'dejavu-10pt-tt-tf-0--0'
> ! error:  (linebreak): invalid list tail, probably missing
> gluemtx-context | fatal error: return code: 1
>
>



> The first hint is that we should probably include more font
> dependencies in ConTeXt scheme. I can take care of that if you have
> further suggestions (other than dejavu).
>
>
just to be sure in my minimal with latest zip
$> context luatex
 mkiv lua stats  > used platform: linux-64, type: unix, binary subtree:
texmf-linux-64
mkiv lua stats  > used engine: luatex version 1.1 with functionality level
7088, banner: this is luatex, version 1.10.0 (tex live 2019)
mkiv lua stats  > control sequences: 53180 of 65536 + 10
mkiv lua stats  > lua properties: engine: lua 5.3, used memory: 441 MB
(ctx: 437 MB), hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 21.608 seconds, 294 processed pages, 294 shipped
pages, 13.606 pages/second
system  | total runtime: 47.547 seconds

( forget the time, it's a zero-optimized binary (fast to compile))

In general: at every new release I have complains about "how deadly slow is
texlive  installation".
On the other side , some  could wonder why *DejaVu* are not installed by
default regardless of  engine/scheme.


-- 
luigi
___
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
___


Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-02-28 Thread Mojca Miklavec
On Fri, 1 Mar 2019 at 07:39, Mojca Miklavec wrote:
> On Fri, 1 Mar 2019 at 00:14, Henri Menke wrote:
> >
> > Dear list,
> >
> > I just installed TeX Live 2019 pretest and running context --make fails with
> ,
> The latest ConTeXt has just been included yesterday and should be
> available since today (some time after the usual nightly update cca. 5
> hours ago + delays to finish the build and sync the mirrors).
>
> So please retry.

Here's my attempt of compiling
doc/context/sources/general/manuals/luatex/luatex.tex

fonts   > defining > font with asked name 'dejavusansmono' is
not found using lookup 'name'
fonts   > defining > unknown font 'dejavusansmono', loading aborted
fonts   > defining > unable to define 'dejavusansmono' as
'dejavu-10pt-tt-tf-0--0'
! error:  (linebreak): invalid list tail, probably missing
gluemtx-context | fatal error: return code: 1

The first hint is that we should probably include more font
dependencies in ConTeXt scheme. I can take care of that if you have
further suggestions (other than dejavu).

I didn't check what the actual error could be (no time now).

I used darwinlegacy binaries.

Mojca
___
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
___


Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-02-28 Thread Mojca Miklavec
On Fri, 1 Mar 2019 at 00:14, Henri Menke wrote:
>
> Dear list,
>
> I just installed TeX Live 2019 pretest and running context --make fails with
,
The latest ConTeXt has just been included yesterday and should be
available since today (some time after the usual nightly update cca. 5
hours ago + delays to finish the build and sync the mirrors).

So please retry.

Mojca
___
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
___


Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-02-28 Thread luigi scarso
On Fri, Mar 1, 2019 at 12:17 AM Henri Menke  wrote:

> Hm, it looks like the macro code hasn't been updated from 2018 yet, because
> after fixing isfile it crashes when trying to load the old pdfe library.
>
>
seems so.
I have just tested luatex 1.10 against the latest zip and it's all ok.

-- 
luigi
___
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
___


Re: [NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-02-28 Thread Henri Menke
Hm, it looks like the macro code hasn't been updated from 2018 yet, because
after fixing isfile it crashes when trying to load the old pdfe library.

Cheers, Henri

On 1/03/19 12:14 PM, Henri Menke wrote:
> Dear list,
> 
> I just installed TeX Live 2019 pretest and running context --make fails with
> 
> error in callback: 
> ...xlive/2019/texmf-dist/tex/context/base/mkiv/luat-cod.lua:194: attempt to 
> call a nil value (upvalue 'isfile')
> 
> This can easily be fixed by replacing in luat-cod.lua
> 
> local isfile = lfs.isfile
> 
> with
> 
> local isfile = function(file) return lfs.attributes(file,"mode") == 
> "file" end
> 
> This should probably be fixed before the release.
> 
> Cheers, Henri
> 

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


[NTG-context] TeX Live 2019: attempt to call a nil value (upvalue 'isfile')

2019-02-28 Thread Henri Menke
Dear list,

I just installed TeX Live 2019 pretest and running context --make fails with

error in callback: 
...xlive/2019/texmf-dist/tex/context/base/mkiv/luat-cod.lua:194: attempt to 
call a nil value (upvalue 'isfile')

This can easily be fixed by replacing in luat-cod.lua

local isfile = lfs.isfile

with

local isfile = function(file) return lfs.attributes(file,"mode") == "file" 
end

This should probably be fixed before the release.

Cheers, Henri

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