Python中的LUT预处理器写的在使用QT>的标题为“C++ C++ GUI编程”的书中使用

2024-04-19 18:30:05 发布

您现在位置:Python中文网/ 问答频道 /正文

本书的作者(Jasmin Blanchette&Mark Summerfield)在书的末尾披露了制作细节。在

引用:

The authors wrote the text using NEdit and Vim. They typeset and indexed the text themselves, marking it up with a modified Lout syntax that they converted to pure Lout using a custom preprocessor written in Python.

参考文献:

我的问题:

有人能告诉我在哪里可以找到从Lout派生的这种语法的详细信息,以及用Python编写的附带工具(预处理器)?在

编辑:

使用Lout的任何替代品都不是一个选择。在


Tags: andthetext作者authors细节markusing
2条回答

我在Google代码中找到了txt2tags。在

  • 它的目标是洛特。在
  • 它是用Python编写的。在

Can somebody point to me where I can find details on such grammar derived from Lout?

你最好看看更成熟的排版语法,比如LaTex,除非你正在寻找一个已经编写好的Lout预处理器。在

...along with its accompanying tool written in Python (a preprocessor)?

如果我没弄错的话,jasminblanchette&marksummerfield开发了自己的排版语法,并将其转换为Lout。不知道他们做了什么,我认为这主要是符号替换。以LaTex为例,将\circle转换为{}。在

在研究了Lout之后,我可以看到编写HTML到Lout转换器的相对容易的地方。在

相关问题 更多 >