: Best markup language for a little story? I'm writing a story in plain text using Vim text editor. It doesn't contain big tables, images. However, there will be short listings of source code
I'm writing a story in plain text using Vim text editor. It doesn't contain big tables, images. However, there will be short listings of source code in several programming languages and syntax highlighting for them is a must. There may be a little amount of formulas. I want to publish it in HTML and PDF.
Is there simple(!) markup language for this? What is better: embed formulas as images or use special markup? I don't want to learn something complex like LaTex.
More posts by @Vandalay250
: Writing your last will and testament Coming from a background where I've only ever seen readings of a last will and testament in movies, what kind of style would be expected of such a document?
: Who pays for lyrics or quotes? Occasionally, novels will include song lyrics in the story, or start out chapters with songs or quotes. In many cases, these lyrics or quotes are from copyrighted
3 Comments
Sorted by latest first Latest Oldest Best
Latex honestly is not that difficult to learn to use for basic purposes. Especially if you're not trying to do tables or graphics or anything, there's not that much you need to learn, just a few simple commands like textbf{bold} and section{Section Title}. There are readily available packages for writing code samples which include syntax highlighting, and of course Latex is built for writing equations.
I realize that's specifically not what you were looking for (sorry), but in my opinion it really is your best bet. You already learned Vim, so you must be reasonably bright (full disclosure, I'm a fellow Vimmer); no reason you wouldn't be able to learn Latex.
I second Markdown, see my answer to a similar question here:
Least possible editing effort if a text is for multiple media?
Take a look at reStructuredText. It is a simple markup language which you can later convert into something else, like PDF. Might fit your case especially as it is a subproject of Docutils, a tool for source code/project documentation.
An alternative ist Markdown.
Terms of Use Privacy policy Contact About Cancellation policy © selfpublishingguru.com2024 All Rights reserved.