用于书写笔记的机器可读语言

发布于 2024-08-18 04:20:07 字数 86 浏览 4 评论 0原文

我想用纯文本写课堂笔记。 我想知道是否有一种标记语言可以做到这一点,我可以使用 Ruby 或 Python 等语言以编程方式解析关键术语、标题、页号等的注释。

I'd like to write notes for class in plain text.
I was wondering if there was a markup language for doing this, where I could parse the notes for key terms, titles, page #s etc programmatically with a language such as Ruby or Python.

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

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

发布评论

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

评论(2

口干舌燥 2024-08-25 04:20:07

在 Python 世界中,reStructuredText 可能是使用最广泛的标记语言,它是长期且相当严格的设计和开发。它是 Sphinx 文档工具的基础标记,除其他外,还用于 Python 文档 和许多 Python 项目。

我还没有看到其他标记语言的正式规范,至少没有那么彻底。

In the Python world, reStructuredText is probably the most widely used markup language, and it's the result of a long-term and fairly rigorous design and development. It's the markup underlying the Sphinx documentation tool which, among other things, is used for the Python docs and many Python projects.

I also haven't seen a formal specification for other markup languages, at least not with the same thoroughness.

瀟灑尐姊 2024-08-25 04:20:07

莱克斯!上个学期我一直在使用 lyx,效果非常好。需要一段时间才能适应(例如一周)。到第一周结束时,我已经按照我同学写下来的速度来格式化方程和矩阵了。唯一的问题是图表,但如果你手边有一张纸甚至是平板电脑,那根本就不成问题。

http://www.lyx.org/

注意:Lyx 是一个实时翻译代码的 tex 解析器。您也可以只使用 tex,但这样您可能无法正确格式化内容。您还可以使用 openoffice tex 插件,但它的效果不如 LYX,但它确实使纯文本格式的工作变得更轻松。另外,openoffice 插件不是最新的。

这是该项目 ooolatex 的链接:

http://ooolatex.sourceforge.net/

LYX! I used lyx all last semester and it was great. It takes a little while to get used to (like a week). By the end of the first week I was formatting equations and matrices just as fast as my classmates could write them down. The only problem is diagrams, but if you have a sheet of paper handy or even a tablet, it shouldn't be a problem at all.

http://www.lyx.org/

Note: Lyx is a tex parser that translates code in real time. You could also just use tex, but then you might not format things right. You could also use the openoffice tex plugin, but that doesn't work as well as LYX, but it does make life easier with the plain text formatting. Also, the openoffice plugin is not current.

here's a link to that project ooolatex:

http://ooolatex.sourceforge.net/

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