Re: [tex4ht] ! TeX capacity exceeded, sorry [save size=100000]. with tex4ht only

2020-08-24 Thread Michal Hoftich
Hi Karl, > After all, it happens for you on some large document, more than likely > it will happen to other people with their own large documents. And if > it's L3-related (not surprising), becomes even more likely, even > independent of tex4ht. --thanks, karl. We use quite a lot of LaTeX 3

Re: [tex4ht] ! TeX capacity exceeded, sorry [save size=100000]. with tex4ht only

2020-08-24 Thread Michal Hoftich
Hi Nasser, > After carefully looking at more pages, I see some math is failing to > render now. I get in yellow the message > > math input error > > in the browser. I tried Chrome, Firefox and Brave. This never happened > when using only mathjax. Here is an example > This particular

Re: [tex4ht] ! TeX capacity exceeded, sorry [save size=100000]. with tex4ht only

2020-08-23 Thread Nasser M. Abbasi
On 8/23/2020 4:19 PM, Nasser M. Abbasi wrote: So I am now using mathml in all my makefiles. I had to go back to using only mathjax and not add mathml. After carefully looking at more pages, I see some math is failing to render now. I get in yellow the message math input error in

Re: [tex4ht] ! TeX capacity exceeded, sorry [save size=100000]. with tex4ht only

2020-08-23 Thread Nasser M. Abbasi
On 8/23/2020 4:40 PM, Karl Berry wrote: save_size=100 I'm not sure if I want to increase the default save_size by 10x, but if, say, 20 (2x) or 3x is enough, I could change the default. Can you give that a try? After all, it happens for you on some large document, more than likely

Re: [tex4ht] ! TeX capacity exceeded, sorry [save size=100000]. with tex4ht only

2020-08-23 Thread Karl Berry
save_size=100 I'm not sure if I want to increase the default save_size by 10x, but if, say, 20 (2x) or 3x is enough, I could change the default. Can you give that a try? After all, it happens for you on some large document, more than likely it will happen to other people with their

Re: [tex4ht] ! TeX capacity exceeded, sorry [save size=100000]. with tex4ht only

2020-08-23 Thread Nasser M. Abbasi
Hello Michal; On 8/23/2020 4:42 AM, Michal Hoftich wrote: Ah this is really bad, I see no reason for such long compilation time. I spend most of today looking at this. This is what I just discovered: When compiling with "mathjax,htm" it takes a little less than 2 hrs. When compiling

Re: [tex4ht] ! TeX capacity exceeded, sorry [save size=100000]. with tex4ht only

2020-08-23 Thread Karl Berry
I see no reason for such long compilation time. Nasser, maybe if you hit CTRL-C to interrupt the job at "random" intervals, you'll see the same places in the code being executed, to provide a clue as to why it's taking so long. I don't know of any real profiling method for (La)TeX code.

Re: [tex4ht] ! TeX capacity exceeded, sorry [save size=100000]. with tex4ht only

2020-08-23 Thread Michal Hoftich
Hi Nasser I see. No problem. I just have to remember to add save_size next time when installing new version of TL. I need to add this to my tex4ht cheat sheet. It would still be good to fix that, so please keep eye on that. It is possible that this was caused by one of huge equations you