Re: [sage-devel] Wanted: Unicode testers with PR #36861

2023-12-14 Thread Kwankyu Lee
lualatex -- 1 second xelatex -- 1.2 seconds pdflatex -- 0.43 seconds So I totally retract my concern about lualatex being slower than xelatex. In fact it's about the same or faster in this benchmark. That said, pdflatex is noticeably faster than either. That gives another reason to choose

Re: [sage-devel] Wanted: Unicode testers with PR #36861

2023-12-14 Thread 'Doris Behrendt' via sage-devel
Hi all, > AFAIK there is a way to speeding things up with luatex on files with > the same preamble. > Namely, one can generate a custom format, speeding up things like font > loading. > (might be relevant for speeding up view()). > > But it's above my pay grade, we need a real TeX hacker here. Ma

Re: [sage-devel] Wanted: Unicode testers with PR #36861

2023-12-14 Thread Dima Pasechnik
On Thu, Dec 14, 2023 at 11:23 PM William Stein wrote: > I just did some new benchmarks comparing lualatex to xelatex on some > basic formulas like what I think is likely > to be relevant. This just involved running laulatex and xelatex many > times on the same tex file full of equations > and lo

Re: [sage-devel] Wanted: Unicode testers with PR #36861

2023-12-14 Thread William Stein
Hi, I just did some new benchmarks comparing lualatex to xelatex on some basic formulas like what I think is likely to be relevant. This just involved running laulatex and xelatex many times on the same tex file full of equations and looking at the time. I used a ramdisk to avoid disk speed matt

Re: [sage-devel] Wanted: Unicode testers with PR #36861

2023-12-14 Thread Dima Pasechnik
On Thu, Dec 14, 2023 at 9:30 PM William Stein wrote: > > Hi, > > Last time I benchmarked things, luatex was sometimes the slowest of > the three major latex compilers, sometimes by a factor of 2. > I realize benchmarking could be impacted by things like how exactly > Lua was built on the target pl

Re: [sage-devel] Wanted: Unicode testers with PR #36861

2023-12-14 Thread William Stein
Hi, Last time I benchmarked things, luatex was sometimes the slowest of the three major latex compilers, sometimes by a factor of 2. I realize benchmarking could be impacted by things like how exactly Lua was built on the target platform, as part of latex. In any case, for this application, perfo

Re: [sage-devel] Wanted: Unicode testers with PR #36861

2023-12-14 Thread Dima Pasechnik
Hi Doris, It just has been turned to use lualatex HTH Dima On Thu, Dec 14, 2023 at 8:06 PM 'Doris Behrendt' via sage-devel wrote: > > Hi all, > > why xelatex and not lualatex? > > Doris > > > On 14. Dec 2023, at 10:18, Kwankyu Lee wrote: > > > > Hi, > > > > The PR > > > > https://github.com/sag

Re: [sage-devel] Wanted: Unicode testers with PR #36861

2023-12-14 Thread 'Doris Behrendt' via sage-devel
Hi all, why xelatex and not lualatex? Doris > On 14. Dec 2023, at 10:18, Kwankyu Lee wrote: > > Hi, > > The PR > > https://github.com/sagemath/sage/pull/36861 > > aims at switching from pdflatex to xelatex the latex engine to render objects > in pdf using the command like "view(objects)"

[sage-devel] Wanted: Unicode testers with PR #36861

2023-12-14 Thread Kwankyu Lee
Hi, The PR https://github.com/sagemath/sage/pull/36861 aims at switching from pdflatex to xelatex the latex engine to render objects in pdf using the command like "view(objects)" as well as in building the sage documentation. As xelatex natively supports Unicode, we removed lots of commands