[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Hans Hagen
On 1/19/2024 7:13 PM, Bruce Horrocks wrote: On 19 Jan 2024, at 09:31, Hans Hagen wrote: On 1/18/2024 11:15 PM, Bruce Horrocks wrote: On 18 Jan 2024, at 18:56, Shiv Shankar Dayal wrote: I understand that why it is slow, but the problem is that the difference is too high. My book has

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Bruce Horrocks
> On 19 Jan 2024, at 09:31, Hans Hagen wrote: > > On 1/18/2024 11:15 PM, Bruce Horrocks wrote: >> On 18 Jan 2024, at 18:56, Shiv Shankar Dayal >> wrote: >>> >>> I understand that why it is slow, but the problem is that the difference is >>> too high. >>> My book has lots of math, so

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Hans Hagen
On 1/19/2024 11:00 AM, Henning Hraban Ramm wrote: Am 19.01.24 um 10:31 schrieb Hans Hagen: (that said: luametatex runs fine on my mobile phone) What’s the smallest/oldest device someone tried LMTX on? (We were joking about “Hans’ thermostate and Alan’s fridge“…) Would it run on some 8 bit

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Taco Hoekwater
> On 19 Jan 2024, at 11:00, Henning Hraban Ramm wrote: > > Am 19.01.24 um 10:31 schrieb Hans Hagen: >> (that said: luametatex runs fine on my mobile phone) > > What’s the smallest/oldest device someone tried LMTX on? > (We were joking about “Hans’ thermostate and Alan’s fridge“…) > Would it

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Henning Hraban Ramm
Am 19.01.24 um 10:31 schrieb Hans Hagen: (that said: luametatex runs fine on my mobile phone) What’s the smallest/oldest device someone tried LMTX on? (We were joking about “Hans’ thermostate and Alan’s fridge“…) Would it run on some 8 bit homecomputer? (I’d guess the RAM is too limited, and

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Hans Hagen
On 1/18/2024 11:15 PM, Bruce Horrocks wrote: On 18 Jan 2024, at 18:56, Shiv Shankar Dayal wrote: I understand that why it is slow, but the problem is that the difference is too high. My book has lots of math, so perhaps that is the reason. Option 1: Buy or borrow a faster computer.

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Hans Hagen
On 1/19/2024 1:33 AM, Aditya Mahajan wrote: \starttext \dorecurse{5000}{\ReadFile{knuth}} \stoptext I'll send you the PDFs offlist. lmtx defaults to 'modern' so you need to \setupbodyfont[modern] for mkiv Hans -

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Aditya Mahajan
On Fri, 19 Jan 2024, Hans Hagen via ntg-context wrote: > On 1/19/2024 12:34 AM, Aditya Mahajan wrote: > > On Thu, 18 Jan 2024, Hans Hagen wrote: > > > >> Of course we'll never be as fast as (pure) plain tex (no layers added) or > >> latex (which often is advocated as faster than context). > > >

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Hans Hagen via ntg-context
On 1/19/2024 12:34 AM, Aditya Mahajan wrote: On Thu, 18 Jan 2024, Hans Hagen wrote: Of course we'll never be as fast as (pure) plain tex (no layers added) or latex (which often is advocated as faster than context). I was curious, so did a quick experiment: typeset \input knuth 500 times.

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Aditya Mahajan
On Thu, 18 Jan 2024, Hans Hagen wrote: > Of course we'll never be as fast as (pure) plain tex (no layers added) or > latex (which often is advocated as faster than context). I was curious, so did a quick experiment: typeset \input knuth 500 times. Here are the results: pdflatex: 547 pages/sec

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Bruce Horrocks
On 18 Jan 2024, at 18:56, Shiv Shankar Dayal wrote: > > I understand that why it is slow, but the problem is that the difference is > too high. > My book has lots of math, so perhaps that is the reason. Option 1: Buy or borrow a faster computer. You'll get your desired speed-up far faster

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Joseph Wright
On 18/01/2024 20:55, Gavin via ntg-context wrote: That’s fast enough for me. That's surely the key statement - 'fast' here is a personal thing, and 40 pages a second is fast enough for many people. It's certainly fast when you look at what LuaMetaTeX is doing, as Hans has said. Joseph

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Gavin via ntg-context
Hi Shiv, ConTeXt’s project structure has many benefits. One is speed. See https://wiki.contextgarden.net/Project_structure. My books and long papers are products, each containing many components (chapters or sections). When I’m working, I have both the product and a component open. I

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Hans Hagen
On 1/18/2024 7:56 PM, Shiv Shankar Dayal wrote: In comparison to LaTeX with LuaHBTeX, ConTeXt with LuaMetaTeX is lightning fast. pdfTeX is 8bit, and Knuth’s plain TeX is very low level – for a fairer comparison, try the TeXbook on LuaMetaTeX (I don’t know if “plain” works

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Mikael Sundqvist
Hi, On Thu, Jan 18, 2024 at 7:58 PM Shiv Shankar Dayal wrote: > > > > >> In comparison to LaTeX with LuaHBTeX, ConTeXt with LuaMetaTeX is >> lightning fast. >> >> pdfTeX is 8bit, and Knuth’s plain TeX is very low level – for a fairer >> comparison, try the TeXbook on LuaMetaTeX (I don’t know if

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Shiv Shankar Dayal
In comparison to LaTeX with LuaHBTeX, ConTeXt with LuaMetaTeX is > lightning fast. > > pdfTeX is 8bit, and Knuth’s plain TeX is very low level – for a fairer > comparison, try the TeXbook on LuaMetaTeX (I don’t know if “plain” works > though). > I understand that why it is slow, but the problem

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Henning Hraban Ramm
Am 18.01.24 um 18:47 schrieb Pablo Rodriguez via ntg-context: On 1/18/24 18:24, Shiv Shankar Dayal wrote: I can process TeXBook in almost an instant using PDFTeX which is about 450+ pages but my math book takes around 30 seconds averaging ~40 pages/second. Hi Shiv Shankar Dayal, I guess that

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Pablo Rodriguez via ntg-context
On 1/18/24 18:24, Shiv Shankar Dayal wrote: > I can process TeXBook in almost an instant using PDFTeX which is about > 450+ pages but my math book takes around 30 seconds averaging ~40 > pages/second. Hi Shiv Shankar Dayal, I guess that “The TeXbook” (having been written by Knuth himself) may be