Replies: 4 comments 3 replies
-
I do agree. Tectonic seems to be very usefull but LuaTeX is used a lot. Unfortunately, most of my LaTeX file cannot be compiled with XeLaTeX. |
Beta Was this translation helpful? Give feedback.
-
I fully agree: LuaTeX is more and more widely used and is well maintained (by contrast to XeTeX, AFAIK). |
Beta Was this translation helpful? Give feedback.
-
There's slow effort to move Tectonic to using basically its own custom backend engine. If pkgw is supportive, once that's done I'd be willing to look into supporting at least some of LuaTeX's primitives. However it's unlikely for Tectonic to port to LuaTeX directly, as that would be as much or more work for a lateral move. Even if some support was added, it would involve a good bit of discussion - shipping a Lua interpreter with Tectonic would be a good chunk of code, and might not be something included in default builds. |
Beta Was this translation helpful? Give feedback.
-
While LuaTeX certainly has its advantages, especially with Lua scripting capabilities, my personal preference is to stick with XeTeX, primarily due to compilation speed. When comparing the compilation times across engines, we observe the following hierarchy:
If we require the same level of PDF compression, XeLaTeX becomes nearly as fast as PDFLaTeX, while LuaLaTeX slows down even further. This performance difference is crucial for workflows that involve large or complex documents. Given this, I am not in favor of a full switch to LuaTeX in Tectonic. However, exploring selective support for some LuaTeX primitives, as mentioned, could be a worthwhile compromise—so long as it does not negatively impact compilation time. |
Beta Was this translation helpful? Give feedback.
-
I see that tectonic is based on XeTeX. But there is another TeX engine out there, called Luatex
that supports using macros in Lua.
This is great because TeX is not very nice as a programming language. And Lua is an scripting
language which is popular and has and designed to be embedded in other applications.
See for instance this nice example of how to generate the Pascal triangle using tiks
(and compare it with the pure latex version of it)
https://tex.stackexchange.com/questions/17522/pascals-triangle-in-tikz
I wanted to ask if tectonic plans to support something like this. It would be nice to do it in Luatex
compatible way.
Beta Was this translation helpful? Give feedback.
All reactions