轻量级标记(Wiki)语言用于记录 [英] Lighweight markup (wiki) language for documenting
问题描述
当我写论文或文档时,它使我觉得使用LaTeX或OpenOffice是过大的,因为我通常只需要一些标记元素(粗体,标题,列表等).我想使用Wiki样式标记来写文档,因为这非常有效.
When I write papers or documentation it makes think using LaTeX or OpenOffice is overkill as I usually only need some markup elements (bold, headlines, lists, ...) . I'd like to write my documents using a wiki style markup as this is very efficient.
例如:
= Introduction =
'''HTML''' is a markup language...
最后,我想简单地将其转换为PDF. (跨平台也很好.)
In the end I'd like to simply convert it to PDF. (Cross-platform was nice too.)
compiler.exe -pdf input.wiki output.pdf
是否有工具(或简单的工具链)来完成这项工作?
Is there a tool (or simple tool chain) to do this job?
我个人想不使用LaTeX作为转换步骤.有一些工具可以将轻量级语法转换为TeX,然后转换为PDF/PS.
I'd personally like to not make use of LaTeX as a transformation step. There are tools doing this job transforming lightweight syntax to TeX and then to PDF/PS.
推荐答案
您可能会发现 MarkDown 变得非常接近您想要的东西.
You might find that MarkDown gets pretty close to what you want.
MarkDown是一种用于标记文本文件的简单技术,以便可以将它们后期处理为其他形式. MarkDown的优点之一是其目标是将标记后的文档应简单地读取为纯文本文件:
MarkDown is a simple technique for marking up text files so that they can be post-processed into other forms. One of the nice things about MarkDown is their goal that a marked-up document should be simply readable as a straight text file:
最重要的设计目标 Markdown的格式语法是 使它尽可能地可读.这 想法是Markdown格式 文档应按原样发布, 作为纯文本,看起来不像 它被标记了标签或 格式说明.
The overriding design goal for Markdown’s formatting syntax is to make it as readable as possible. The idea is that a Markdown-formatted document should be publishable as-is, as plain text, without looking like it’s been marked up with tags or formatting instructions.
PanDoc 似乎是将MarkDown直接转换为PDF文件的好工具.可能还有其他选择-PanDoc只是我通过快速Google搜索找到的最好的工具.
PanDoc looks like it might be good companian tool to convert the MarkDown straight into PDF files. There may well be other choices - PanDoc is just the best tool I found with a quick Google search.
这篇关于轻量级标记(Wiki)语言用于记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!