TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

LuaTeX 1.0.0

203 点作者 jasongrout超过 8 年前

7 条评论

patrickg超过 8 年前
LuaTeX has a great abilitiy compared to regular TeX: you are able to access the internal data structures of TeX. See my article about TeX without \TeX at <a href="http:&#x2F;&#x2F;wiki.luatex.org&#x2F;index.php&#x2F;TeX_without_TeX" rel="nofollow">http:&#x2F;&#x2F;wiki.luatex.org&#x2F;index.php&#x2F;TeX_without_TeX</a>.<p>With this access you can read and write (and create,...) these &quot;nodes&quot;. This makes it possible to completely circumvent TeX&#x27;s input language, which can be a pain to program with (sometimes it is very nice though). Now that easy access to data structures and the rather nice (simple) programming language of Lua makes it easy to build rather complex programs on top of TeX.<p>A shameless plug is my database Publishing software (see <a href="https:&#x2F;&#x2F;speedata.github.io&#x2F;publisher&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;speedata.github.io&#x2F;publisher&#x2F;index.html</a>) which I believe takes this approach to an extreme: I can use TeX&#x27;s algorithms like paragraph building, hyphenation, PDF writing and such (they are of excellent quality) and build my own software around it. I don&#x27;t say that this is done on a weekend or so, but the posibilities are much, much, much greater than they were before LuaTeX was available.
评论 #12596610 未加载
pikachu_is_cool超过 8 年前
It&#x27;s interesting to see the trajectory of Lua adoption. The determining factor of the popularity of most languages was at the fate of large companies, (AT&amp;T&#x2F;C, Netscape&#x2F;JavaScript, Microsoft&#x2F;C++, Google&#x2F;Python). On the flip side, Lua seems to slowly gain more and more popularity over the years. It&#x27;s more &quot;organic&quot;, for lack of a better term.<p>I really hope a big company doesn&#x27;t pick Lua up, because I think the fact that it hasn&#x27;t reached &quot;Eternal September&quot; yet is what makes it such a good language. It has room to breathe.<p>(The fact that it&#x27;s beginner friendly, has an ANSI C89 implementation, and has the best&#x2F;fastest JIT&#x2F;FFI doesn&#x27;t hurt either though :P)
评论 #12596129 未加载
评论 #12595089 未加载
评论 #12595680 未加载
评论 #12595097 未加载
评论 #12595368 未加载
the_duke超过 8 年前
Can anyone shine a light on what LuaTex actually is?<p>&quot;an extended version of pdfTeX using Lua as an embedded scripting language&quot; doesn&#x27;t help me that much.<p>What&#x27;s the advantage over (La)Tex?
评论 #12595773 未加载
评论 #12595724 未加载
leephillips超过 8 年前
A brief introduction to what you can do with LuaTeX:<p><a href="http:&#x2F;&#x2F;lwn.net&#x2F;Articles&#x2F;657157&#x2F;" rel="nofollow">http:&#x2F;&#x2F;lwn.net&#x2F;Articles&#x2F;657157&#x2F;</a>
haberman超过 8 年前
If you think about it, TeX is just a compiler, right? It operates on trees, and translates some input to some output. I&#x27;d love to see the equivalent of LLVM for TeX: a modern, modular implementation that implements known best practices and is easy to integrate into other environments.<p>Maybe this is something like what LuaTeX is trying to do? It&#x27;s hard to tell from their web page.
评论 #12595896 未加载
评论 #12596284 未加载
评论 #12596357 未加载
nikolay超过 8 年前
Project&#x27;s website: <a href="http:&#x2F;&#x2F;www.luatex.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.luatex.org&#x2F;</a>
评论 #12595681 未加载
hyh1048576超过 8 年前
Great news.<p>BTW is there anyway to make LuaTeX compile faster?
评论 #12595865 未加载
评论 #12596426 未加载