I keep writing codes in gedit but at the end of the week we need to submit a lyx literal programming file. Copying and pasting or importing is painful, since , we need to keep pressing tabs or enters. Can anyone suggest a simple alternative to this? Please keep in mind that we need to export the c file from the lyx file.
问问题
180 次
2 回答
2
在我朋友的帮助下,我编写了一个 python 代码来将 python 或 c 或任何其他代码转换为 lyx 文件。您可以稍后将您想要的任何内容添加到 lyx 文件中
于 2011-12-11T07:47:32.547 回答
2
上述链接已损坏,但这是原始链接。
该脚本本质上是获取代码并从中创建 LyX 废料。它要求在有问题的机器上安装 scrap 和 noweb。另外,我相信我是为 LyX v.1.6 制作的。不确定它将如何抵御新版本。再说一次,可以在较新版本的废代码中使用制表符进行选择和缩进,因此 OP 的问题有所缓解。
于 2013-07-19T15:04:09.543 回答