有没有基于 XML 的 TEX 替代方案?

发布于 2024-08-08 15:21:37 字数 163 浏览 4 评论 0原文

当我开始了解 TEX 时,我发现它是一种描述性语言。我认为任何基于 XML 的替代方案都能更好地完成这项工作。而且每个人都不会遇到学习 TEX 的麻烦。我发现这非常耗时。有谁知道像这样的基于 XML 的替代方案吗?如果该事物与 XML 之间存在兼容性(具有相同的元素或一个元素可以转换为另一个元素),那就太好了。

When I started to know about TEX, I found it a descrptive language. I think that any XML based alternative would do the job better. And everybody would not have the hassle of learning TEX. I found it quite time consuming. Does anyone know any XML based alternative like this? And if there is compatibility between that thing and XML (having same elements or one can be converted to another) theb that would be nice.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

<逆流佳人身旁 2024-08-15 15:21:38

看起来 TeXML “TeX 的 XML 语法...”可能就是您正在寻找的内容。

Looks like TeXML "an XML syntax for TeX..." might be what you're looking for.

桜花祭 2024-08-15 15:21:38

有一种语言叫做 MathML。不过我不知道第一件事,所以不要将此作为建议。

There is a language called MathML. I don't know the first thing about it though, so don't take this as a recommendation.

怪我入戏太深 2024-08-15 15:21:37

我想我能想到的最接近的东西是 Docbook。它是一种非常灵活的标记语言,用于生成技术文档,从手册页到文章,再到书籍。

不过,我认为 TeX 是更好的选择。更强大的功能、更多的工具以及更漂亮的输出。如果您想使用 TeX/LaTeX 生成非常漂亮的文档,但对其中任何一个都没有了解太多,我建议您研究一下 LyX,这是一个很好的图形编辑器,它允许您或多或少像在文字处理程序中一样创建文档,但是具有更好的结果并可以使用 LaTeX 的全部功能(尽管有时通过在 LyX 文档中嵌入 LaTeX 命令来实现)。

我在这里假设您的目标是手动创建文档。如果您希望从其他东西自动生成它们,Docbook 可能是更好的选择。

I suppose the closest thing I can think of is Docbook. It's a pretty flexible markup language for producing technical documentation, from man pages, to articles, to books.

Still, though, I think TeX is the better choice. More power, more tools and just prettier output. If you want to produce very nice-looking documents with TeX/LaTeX but without learning much about either, I suggest you look into LyX, a nice graphical editor that allows you to create documents more or less like you do in a word processor, but with much nicer results and access to the full power of LaTeX (albeit sometimes by embedding LaTeX commands in your LyX document).

I'm assuming here that your goal is to manually create documents. If you're looking to generate them automatically from something else, Docbook might be a better choice.

孤云独去闲 2024-08-15 15:21:37

我想你可能找错了树,但是有 Prince,一个 XML + CSS 到 PDF 的工具渲染引擎。

I think you're probably barking up the wrong tree, but there is Prince, an XML + CSS to PDF rendering engine.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文