我应该使用什么语言来编辑文档?
文档编辑器很好,但也有其局限性。 有什么好的替代品吗? 我已经了解 HTML 和 CSS,虽然它们可以完成这项工作,但它们不适合打印文档。 我正在考虑学习LaTeX,因为很多学者都使用它。但我想知道是否有人会推荐另一种语言,例如 postscript。
Document editors are nice but they have their limitations.
What is a good alternative to them?
I already know HTML and CSS and while they can do the job, they are ill-suited for printed documents.
I was thinking in learning LaTeX, because many scholars use it. But I wonder if someone would recommend another language such as postscript.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
乳胶很好。你不想用手写后记。
LaTeX is fine. You don't want to write postscript by hand.
我现在几乎只使用LaTeX,至少对于文本文档(从简历到信件到手册的所有内容)。
对于快速的一次性笔记,我实际上使用 Markdown (没有渲染器。我只是认为 Markdown 即使在纯文本模式下使用时也能很好地保留文档结构)。
不过,对于演示文稿和电子表格,我会使用适当的应用程序。特别是,我认为 LaTeX 不太适合前者(显然取决于您的演示风格。但我的几乎没有文本......)。
I’m using LaTeX almost exclusively nowadays, at least for text documents (everything from CV over letters to manuals).
For quick one-off notes, I’m actually using Markdown (without a renderer. I just think that Markdown preserves document structure quite nicely even when used in text-only mode).
For presentations and spreadsheets, I use appropriate applications, though. In particular, I don’t think LaTeX is that well-suited to do the former (depending on your style of presentations, obviously. Mine have next to no text though …).
我终于有机会在大学最后一个学期用 LaTeX 写一篇整篇论文并发现它比我想象的要容易。我发现它的一些好处是
\include{}
将其存储在另一个文件中。我发现的一个特别好的用途是通过引用文件来包含我在文档中编写的代码。恕我直言,主要缺点是:
make
文件。如果您有兴趣学习 LaTeX,我建议您首先阅读 LaTeX 2e PDF 的简短介绍。
然而,我决定不使用 LaTeX 来完成我这些天所写的大部分内容,因为它感觉已经死了并且构建过程令人沮丧。我改用了 MultiMarkdown,因为它得到了很好的支持,并且可以转换为大量其他格式,包括 LaTeX,如果您确实需要的话,可以手动按摩它,以获得某些出版物所期望的格式。如果您还没有使用过 MultiMarkdown 或 Markdown 之前,那么我强烈建议您检查一下。即使与 LaTeX 相比,其语法也非常轻量且自然。我发现除了一些更高级别的印刷结构之外,MultiMarkdown 支持我定期需要的一切。
我的2分钱。
I finally got a chance to write an entire paper in LaTeX for my final semester of College and found it to be easier than I thought it would be. A couple of the nice things I found about it were
\include{}
it in another. One particularly nice use I found for this was to include code that I had written in the document simply by referencing the files.The major drawbacks are, IMHO:
make
file.If you're interested in learning LaTeX, I would recommend starting out by reading the Not So Short Introduction to LaTeX 2e PDF.
However, I decided against using LaTeX for most things that I write these days specifically because it feels dead and has a frustrating build process. I instead switched over to MultiMarkdown, as it is well supported and can be transformed into a large array of other formats, including LaTeX which can then be hand massaged if you really need to in order to get it the format expected by some publication. If you haven't played with MultiMarkdown or Markdown before, then I highly recommend checking them out. The syntax is extremely lightweight and natural, even compared to LaTeX. I find that except for some of the higher level typographical constructs, MultiMarkdown supports everything I need on a regular basis.
My 2 cents.
这取决于你想做什么。如果您打算编写正式文档(也许也用于打印),那么就选择 LaTex。
并不像一开始看起来那么困难,而是专业且令人满意。
如果 Web 是您的目标,请选择 HTML / CSS。
大多数情况下,OpenOffice 或 Word 就可以解决问题;不要低估它们,如果您要使用它们(例如工作),请花时间学习它们。
It depends on what you want to do. If you are planning to write a formal document, maybe for printing too, just go for LaTex.
Not difficolt as it may appear at the very beginning but professional and fulfilling.
If Web is your goal, go for HTML / CSS.
OpenOffice or Word would do the trick in most cases; do not underestimate them, if you are going to use them (example for job) take time to learn them.
为了扩展 zzzzBov 的评论,LaTeX 应该允许作者专注于内容并允许编译器/文档类处理格式(通常是这样)。如果您使用 HTML/CSS 进行格式化,您可能会花费更多(而不是更少)的时间进行格式化。想象一下 LaTeX 文档类就是 CSS,只是它已经为您编写了,而您的 LaTeX 源代码就是内容,只是标签比 HTML 和 CSS 之间的修补功能更强大(例如斜体或方程)(
)。我推荐 LaTeX wikibook 作为简单的入门方法,以及 short-math-guide,如果你需要数学的话。享受!
To expand on zzzzBov's commmment, LaTeX is SUPPOSED to allow the writer to concentrate on the content and allow the compiler/documentclass to handle formatting (and that usually is true). If you use HTML/CSS to format you will probably be spending more time (rather than less) doing formatting. Imagine that the LaTeX documentclass is the CSS, only it is already written for you, and your LaTeX source is the content, only the tags are more functional (such as italics or equations) than for patching between the HTML and the CSS (
<div ...>
). I recommend the LaTeX wikibook as an easy way to start, and the short-math-guide, it if you need mathematics. Enjoy!