Sonia Hamilton wrote:
Can anyone recommend a simple text formatting language/package?

To explain a bit more: I want a formatting language that's text based (so it's easier to keep track of diffs in source control, and editable in vim), for doing stuff you'd usually do in Open Office Word Processor - bullet points, bold/italic, tables, etc. I'd like output in pdf, so it's easily printable cross-platform.

I've briefly thought about things like LaTeX, postscript and Docbook, but they all seem overkill for what I want to do, and will take too much time to learn.

Look at the following Wiki text markup.

Markdown:         http://en.wikipedia.org/wiki/Markdown
RestructuredText: http://docutils.sourceforge.net/rst.html
Textile:          http://www.textism.com/tools/textile/

Pick one that you like the syntax of AND that has the features that you want.
Here is what I have found on their features:

                   Markdown            RestructuredText  Textile
tables?            no, use HTML tags   yes               yes
can include divs?  yes                 no                yes
class/attributes?  manual              no                yes

There are bindings for these to many languages such as Python, Perl etc.

Mike
--
Michael Lake
Computational Research Centre of Expertise
Science Faculty, UTS
Ph: 9514 2238




--
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender immediately
and delete this message. Any views expressed in this message are those of the
individual sender, except where the sender expressly, and with authority,
states them to be the views of the University of Technology Sydney. Before
opening any attachments, please check them for viruses and defects.

Think. Green. Do.

Please consider the environment before printing this email.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to